well..thanks for at least replying....and i had read the rules...just a little frustrated...
i'm using windows xp sp2
i reinstalled C::B since the last post....and tried again, this time i'm getting an error saying the iostream file/directory doesn't exists.....i'm pretty sure minGW is installed, so why?
here's the build log:
mingw32-gcc.exe -I"C:\Program Files\CodeBlocks\MinGW" -c "C:\Documents and Settings\manish\My Documents\CodeBlocks\My Intro To OOP\Untitled1.c" -o "C:\Documents and Settings\manish\My Documents\CodeBlocks\My Intro To OOP\Untitled1.o"
C:\Documents and Settings\manish\My Documents\CodeBlocks\My Intro To OOP\Untitled1.c:2:19: error: iostream: No such file or directory
C:\Documents and Settings\manish\My Documents\CodeBlocks\My Intro To OOP\Untitled1.c: In function 'main':
C:\Documents and Settings\manish\My Documents\CodeBlocks\My Intro To OOP\Untitled1.c:6: error: expected expression before ':' token
C:\Documents and Settings\manish\My Documents\CodeBlocks\My Intro To OOP\Untitled1.c:8: error: duplicate label 'std'
C:\Documents and Settings\manish\My Documents\CodeBlocks\My Intro To OOP\Untitled1.c:6: note: previous definition of 'std' was here
C:\Documents and Settings\manish\My Documents\CodeBlocks\My Intro To OOP\Untitled1.c:8: error: expected expression before ':' token
Process terminated with status 1 (0 minutes, 5 seconds)
4 errors, 0 warnings
this thing hapenned when i initially installed code::blocks, but for some reason, it was able to at least compile the file later, and started giving the error message i posted earlier. Now, its even more hopeless.
i know C++ coding...the logic to the programs...i don't understand this!
and i was coding in an 'empty file' in an 'empty project'...and even a direct 'empty file'...same result