Can someone please tell me why this code is giving me the address instead of the strings?? I'm using dev c++. It compiles fine no problem, but instead of giving me the char strings, it gives me some wierd addresses in cyber space. Its kinda cool, but I'm not ammused at the moment.
How do I update my compiler? Is there an update for Dev C++? I also have Visual Studio 2010, but I like Dev better at the moment cause it's smaller and easier.
You just need to download and install the latest MinGW.
Then, in Dev-C++'s options, find the stuff that locates the compiler, linker, etc, and include and library directories and change them to point to the new GCC's stuff.
That said, I actually recommend you just delete your existing Dev-C++ and download and install the latest Orwell Dev-C++. (It uses TDM-GCC, which is generally a better option, IMHO.) http://sourceforge.net/projects/orwelldevcpp/