C++ is hard to learn

frozencat

Well-Known Member
OP
Member
Joined
May 27, 2023
Messages
113
Trophies
0
Age
24
XP
398
Country
Australia
im trying to learn it for 3ds homebrew i just cant get my head around its so hard for me there so much too remember
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,311
Country
United Kingdom
Two general approaches.

1) How are you breaking it down? There are indeed a billion things between the language itself and greater concepts within computing (you could be a C++ master and never done anything with databases for example). If you are learning programming in general at the same time then it gets even worse. Or if you prefer I might not be a master of C++ syntax but can tell you everything in https://textexpander.com/blog/the-7-most-common-types-of-errors-in-programming-and-how-to-avoid-them for general programming, where learning that, what a loop is, how not to fall into the traps of C++ that could be gone but they make it so powerful later that they have to stay... that is a far taller order.

2) Maybe simplify it for a while and then take the C++ extras a bit later. That is to say learn C and then move into all the fun object oriented stuff and fiddling with arrays that makes C++ more complicated but also so much faster and able to conceptualise.

I would also ask what your project is and if you can do smaller elements of it -- say you want to make a personal organiser homebrew (clock, world clock, address book, note taking, calculator, alarm clock...). You could focus on one of those elements fairly easily. You can do similar for most things, and if you somehow have a project that is 100% or nothing then get a new one to learn with.
 
  • Like
Reactions: vBee3 and SAIYAN48

frozencat

Well-Known Member
OP
Member
Joined
May 27, 2023
Messages
113
Trophies
0
Age
24
XP
398
Country
Australia
Two general approaches.

1) How are you breaking it down? There are indeed a billion things between the language itself and greater concepts within computing (you could be a C++ master and never done anything with databases for example). If you are learning programming in general at the same time then it gets even worse. Or if you prefer I might not be a master of C++ syntax but can tell you everything in https://textexpander.com/blog/the-7-most-common-types-of-errors-in-programming-and-how-to-avoid-them for general programming, where learning that, what a loop is, how not to fall into the traps of C++ that could be gone but they make it so powerful later that they have to stay... that is a far taller order.

2) Maybe simplify it for a while and then take the C++ extras a bit later. That is to say learn C and then move into all the fun object oriented stuff and fiddling with arrays that makes C++ more complicated but also so much faster and able to conceptualise.

I would also ask what your project is and if you can do smaller elements of it -- say you want to make a personal organiser homebrew (clock, world clock, address book, note taking, calculator, alarm clock...). You could focus on one of those elements fairly easily. You can do similar for most things, and if you somehow have a project that is 100% or nothing then get a new one to learn with.
1 im just following this guide and 2 im gonna make a image viewer
 

Ondrashek06

Well-Known Member
Member
Joined
Dec 27, 2019
Messages
1,134
Trophies
0
XP
3,182
Country
Czech Republic
Do you know anything about programming? Like, have you programmed anything in any language at all? C++ is generally one of the harder languages to learn. I would suggest to try programming something in Python, so you can get familiarized with the basic programming concepts - variables, loops, conditions, logic operators (AND, OR, NOT, XOR...), datatypes (string, char, int, float, bool, etc), functions and others.

Then, you can get on the more complex stuff that C++ uses (pointers...) and eventually get into C++ itself. Try and learn stuff gradually, you can't learn C++ without first knowing what a variable is.
 
  • Like
Reactions: Kwyjor

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,275
Trophies
2
XP
18,086
Country
Sweden
Just keep at it my dude.
A cheatsheet is also a good idea to have! Try doing small stuff first, like even a "Hello world" and work yourself up from there.
 

frozencat

Well-Known Member
OP
Member
Joined
May 27, 2023
Messages
113
Trophies
0
Age
24
XP
398
Country
Australia
Do you know anything about programming? Like, have you programmed anything in any language at all? C++ is generally one of the harder languages to learn. I would suggest to try programming something in Python, so you can get familiarized with the basic programming concepts - variables, loops, conditions, logic operators (AND, OR, NOT, XOR...), datatypes (string, char, int, float, bool, etc), functions and others.

Then, you can get on the more complex stuff that C++ uses (pointers...) and eventually get into C++ itself. Try and learn stuff gradually, you can't learn C++ without first knowing what a variable is.
ive coded https once i didnt know that c++ was hard ill try python thank you
Post automatically merged:

Just keep at it my dude.
A cheatsheet is also a good idea to have! Try doing small stuff first, like even a "Hello world" and work yourself up from there.
thank you ill keep at also ive been trying to make a cheat sheet so i know ive actually read things thanks :D
 

DaniPoo

Well-Known Member
Member
Joined
Jan 2, 2013
Messages
925
Trophies
1
Age
35
XP
2,284
Country
It's never a good idea to jump into programming without any prior knowledge thinking that you will create a killer app.

But once you take you time and learn one language you will gradually learn to use it for useful things and at some point you will be ready to make that killer app.

Also once you know one language, you will notice that other languages are quite similar and most of them will actually be readable to you. You'll be like: "Ah so that's what the syntax look like in this language!"

Just take your time to learn the basics of whatever language you decide to go with.
Youtube is a great place to find nice free beginners courses.
 

frozencat

Well-Known Member
OP
Member
Joined
May 27, 2023
Messages
113
Trophies
0
Age
24
XP
398
Country
Australia
It's never a good idea to jump into programming without any prior knowledge thinking that you will create a killer app.

But once you take you time and learn one language you will gradually learn to use it for useful things and at some point you will be ready to make that killer app.

Also once you know one language, you will notice that other languages are quite similar and most of them will actually be readable to you. You'll be like: "Ah so that's what the syntax look like in this language!"

Just take your time to learn the basics of whatever language you decide to go with.
Youtube is a great place to find nice free beginners courses.
thank you i have some prior knowledge (bad school computer science and some https) but no experience with normal code ill do this thanks :D
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I think Nvidia s future lays in AI GPU acceleration stuff if they can get that going it's going to be super interesting in the long term
  • Psionic Roshambo @ Psionic Roshambo:
    AI assisted game creation might become a thing
  • Psionic Roshambo @ Psionic Roshambo:
    At least that's something I think would be pretty cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Don some VR glasses and gloves and talk to the computer and paint entire worlds
  • Psionic Roshambo @ Psionic Roshambo:
    "OK Cortana I want that mountain a little taller and more snow on top, and I would like some random ancient pine forest around the bottom"
  • Psionic Roshambo @ Psionic Roshambo:
    "Now we need a spring fed river flowing down the north side and add some wild life appropriate for the biome"
  • Psionic Roshambo @ Psionic Roshambo:
    Many TBs of assets and the programming of something like that is going to be tough but I think it's something we might see in 20 years maybe sooner
  • The Real Jdbye @ The Real Jdbye:
    @Psionic Roshambo AI assisted game creation is kinda already here, there was recently that AI that can turn any 2D image into a fully modeled 3D object, it's not perfect, but it's a starting point, beats starting from zero
    +1
  • The Real Jdbye @ The Real Jdbye:
    before that there was one to generate a fully modeled scene from a 2D image
    +1
  • The Real Jdbye @ The Real Jdbye:
    but most recently, there was one that actually generates a working unity scene with terrain and textures already set up that you can import right into unity, that's a huge time saver right there
    +1
  • The Real Jdbye @ The Real Jdbye:
    and using LLMs to generate NPC dialogue and even dynamically generated quests is something i'm sure is already happening
    +1
  • The Real Jdbye @ The Real Jdbye:
    will just take some time for games made using those things to be completed and released
    +1
  • K3Nv2 @ K3Nv2:
    @The Real Jdbye, it's bed bath and beyond you nitwit
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 you said instructions with pictures, same difference
  • Psionic Roshambo @ Psionic Roshambo:
    Lol now with 32GBs of VRAM Ken?
  • K3Nv2 @ K3Nv2:
    No IKEA shit breaks within a month bed bath and beyond goes beyond
  • K3Nv2 @ K3Nv2:
    Plus pictures don't always cut it with furniture when there's like 10 different bolt styles and they're just like figure it out
  • K3Nv2 @ K3Nv2:
    It's not like how people whack it to uremums onlyfans :teach:
    K3Nv2 @ K3Nv2: It's not like how people whack it to uremums onlyfans :teach: