thanks for the links. I'll give it a try when I have more time.
thanks for the links. I'll give it a try when I have more time.
thats definitely your devC++s internal problem! i suggest you to unistall it and then re install the newest devC++! and try again switching to another IDE like Visual Studio! is not sth i think would help you , i would recomend you to keep up with the book and do it, its way! its more valuable because if you encounter any errors you know how to deal with it! after all the books samples are garaneeted to be working with devc++ and the writers knew sth, that they used devc++, trust me before switching to a new and yet complex IDE such as MS visual studio (and also a new compiler!) just try to get the stuff working with devC++, (about compiler, devcpp uses mingw gcc compiler , and ms visual studio uses its own compiler, most of the stuff are the same i think! but there are differences! )
if it fails again, you have other options like
one ofthe greatest advanced Free IDEs like CodeBlcoks
codeblocks-8.02mingw-setup.exe
28 Feb 2008 19.3 MB Sourceforge or BerliOS
and after that microsoft visual studio!
good luck
Last edited by Masterx; 05-02-2009 at 11:34 AM.
Highlight Your Codes
The Boost C++ Libraries (online Reference)
Bill Bryson"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
I wouldn't recommend Microsofts IDE. Maybe for Win32 development it's nice, but you are a beginner and don't need that yet.
Netbeans C IDE is nice too. But your problems are probably solved with a reinstall of Dev-C++.
Operating Systems:
- Ubuntu 9.04
- XP
Compiler: gcc
I'll re-install Dev-C++
try to change #include <iostream> to #include <iostream.h>