User forums > Help

Can't #include iostream, vector, string, etc

(1/1)

Redfox814:
Like the title says.
I can't include stl files

ollydbg:

--- Quote from: Redfox814 on May 25, 2012, 01:27:44 am ---Like the title says.
I can't include stl files

--- End quote ---
I can't help you because I can't understand your problem, sorry. You need to give us detailed information.

Redfox814:
Say this is my scribt


#include <iostream>

int main(){
std::cout<<"it doesn't work"<<std::endl;
}


It'll generate an error that says:
error: iostream: no such file or directory

stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F


--- Quote ---Remember the file extension matters: *.c is compiled as C file, *.cpp is compiled as C++ file.
--- End quote ---

Tim S.

Redfox814:
Thanks! Your awesome  :)

Navigation

[0] Message Index

Go to full version