User forums > Help

Climits not found

<< < (2/2)

stahta01:

--- Quote from: Kamaitachi on August 06, 2010, 10:43:00 pm ---C:\Users\Mkh\Documents\C++\Untitled1.c:8: error: `cout' undeclared (first use in this function)

--- End quote ---

Please use the extension cpp for C++ files. C::B treats .c files as "C" program files!

Tim S.

Kamaitachi:
It won't save them as .cpp files...

Jenna:

--- Quote from: Kamaitachi on August 07, 2010, 12:38:57 pm ---It won't save them as .cpp files...

--- End quote ---
You have to give the file-ending on save.

Kamaitachi:
*Headdesk* It worked now *facepalm* I'm a idiot  :oops: :oops: Well, sorry >.< Should've checked that out first... Anyway, thank you very much! ^^

Navigation

[0] Message Index

[*] Previous page

Go to full version