Hi baranjac123, as a C++ newbie, if you follow the code in most of these books you are bound to come across a lot of errors. Firstly, because of generally bad and buggy programming and secondly, the fact is that the compilers they were using at the time these books were written, are likely not to be the same as the ones you are using now.
Even versions of the same compiler like Visual Studio Express are not always backward compatible with code written on earlier versions. Similarly, you cannot effortlessly transfer Visual C++/MFC programs written on Visual Studio Express to Mingw C++ compilers, and vice-versa.
This means you may actually have perfectly working code but no compiler to compile it on, without errors.
Lots of code written in the early 2000's no longer works for one or more of these reasons, so if you seriously want to learn c++ programming, you have a decision to make. To go with Visual C++/MFC and the Visual Studio Express train (2005, 2008, 2010); or to go with pure C++/Win32 api and MinGW C++ compilers like Dev C++, Codeblocks, Wxwidgets etc.
The best newbie C++ programming series I have seen on the net is at: http://www.functionx.com/cpp/
They also have Visual C++/MFC tuts as well at http://www.functionx.com/visualc/
For win32 api try: http://www.functionx.com/win32/index.htm and http://www.winprog.org/tutorial/
If you insist on watching videos, try http://xoax.net/
As a parting shot, don't look at errors as the end of the world, because you will come across them all over the net as well as in those pesky books.
I have been there and know how frustrating it can be, but the key is to learn why the code doesn't work, and if it can be fixed - how to fix it. And if it can't be fixed, what alternative code you can use to solve the problem.
I wish you all the best in your journey.
Even versions of the same compiler like Visual Studio Express are not always backward compatible with code written on earlier versions. Similarly, you cannot effortlessly transfer Visual C++/MFC programs written on Visual Studio Express to Mingw C++ compilers, and vice-versa.
This means you may actually have perfectly working code but no compiler to compile it on, without errors.
Lots of code written in the early 2000's no longer works for one or more of these reasons, so if you seriously want to learn c++ programming, you have a decision to make. To go with Visual C++/MFC and the Visual Studio Express train (2005, 2008, 2010); or to go with pure C++/Win32 api and MinGW C++ compilers like Dev C++, Codeblocks, Wxwidgets etc.
The best newbie C++ programming series I have seen on the net is at: http://www.functionx.com/cpp/
They also have Visual C++/MFC tuts as well at http://www.functionx.com/visualc/
For win32 api try: http://www.functionx.com/win32/index.htm and http://www.winprog.org/tutorial/
If you insist on watching videos, try http://xoax.net/
As a parting shot, don't look at errors as the end of the world, because you will come across them all over the net as well as in those pesky books.
I have been there and know how frustrating it can be, but the key is to learn why the code doesn't work, and if it can be fixed - how to fix it. And if it can't be fixed, what alternative code you can use to solve the problem.
I wish you all the best in your journey.
- 和Visual Studio不在一个量级上。 Code::Blocks方便的地方是可以快速切换一个自己喜欢的编译器,无论是cl或者是mingw,在linux上方便一下不喜欢写makefile的童鞋。在windows上配置ogre或者wxwidgets开发稍微简单一些。.
- If you feel comfortable building applications from source, then this is the recommend way to download Code::Blocks. Downloading the source code and building it yourself puts you in great control and also makes it easier for you to update to newer versions or, even better, create patches for bugs you may find and contributing them back to the.
- May 03, 2017 How toRun C/C Graphics Program in CodeBlocks? #9 PROJECT car parking program in c hindi urdu for beginners with source code simple c. How to use code blocks for c.
- I have used Turbo C, Borland C, DevC and Code::Blocks. Turbo and Borland are little bit old fashioned. DevC is also not very good because its latest version was released in 2005 (I guess).
- Code::Blocks is a free C, C and Fortran IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable. Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms.
- When comparing Code::Blocks vs NetBeans IDE, the Slant community recommends NetBeans IDE for most people. In the question“What are the best IDEs for C on Windows?” Code::Blocks is ranked 1st while NetBeans IDE is ranked 8th. Blocks lets the developer choose which compiler to use, giving you a higher level of control for on your.
Code Blocks Or Dev C++
Sys Dev Block
Android Dev Block
Mar 11, 2011 Lots of code written in the early 2000's no longer works for one or more of these reasons, so if you seriously want to learn c programming, you have a decision to make. To go with Visual C/MFC and the Visual Studio Express train (2005, 2008, 2010); or to go with pure C/Win32 api and MinGW C compilers like Dev C, Codeblocks, Wxwidgets etc.