C++ is hard to learn

frozencat

Well-Known Member
OP
Member
Joined
May 27, 2023
Messages
113
Trophies
0
Age
24
XP
404
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,348
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
404
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,158
Trophies
0
XP
3,266
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,330
Trophies
2
XP
18,210
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
404
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,291
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
404
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: Don't make Barbie put a cigarette out on your nipples!