News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

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

Started by Redfox814, May 25, 2012, 01:27:44 AM

Previous topic - Next topic

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
I can't help you because I can't understand your problem, sorry. You need to give us detailed information.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Redfox814

#2
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

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Redfox814