Hi guys, I'm very new to C++, and was hoping that some of the helpful people on this forum to give me some tips and tricks to help me learn/create C++ well. :-)
As a start, what program is the most helpful for newbies like me? I want something simple just to boost me for the very first time, and then of course, I can move on to more advanced programs.
Any other tips/hints appreciated.
Thanks again! :-D
Write a INI parsing library that supports std::map containers for sections and keys, Unicode and ASCII based characters, and functions that handle integers, booleans, and strings. Then figure out how you can allocate two of the classes that you implemented on heap and copy the data of one class to another. Eh? Chop chop!
On a non-raging note: I can't stand it when people tell beginners to learn to write their own algorithms since this NEVER helped me with the actual language. What I ended up doing was create a program that gave a reason to use each of C++ algorithms and/or containers. It was fun until I raged from not understanding the basics of C++ such as what an integer "ACTUALLY" was which was then that I started learning computer history, simple assembly, and other factors that played on C++.
I have recently posted some tips on how to use code examples:
I suggest you compile and modify the examples in the tutorials to understand better how they work
When messing with the code examples you can do several things:
- create your code adding some lines so you don't just copy & paste
- modify something to change the program behaviour
- remove lines to see how they affect the result and if they are really useful
- find new functionality and different uses of the topic explained on the tutorial
- try to see if the resulting program acts as you expected ( this is testing your comprehension of the example )
- be aware of what you shouldn't do for getting your program working