User forums > Using Code::Blocks

Build erroe.No include path.

(1/1)

charleszy:
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}

CB 8.02
OS:Vista U
"no include path in which to search for iostream" :(
How to set include path?

MortenMacFly:

--- Quote from: charleszy on July 15, 2008, 01:47:45 pm ---"no include path in which to search for iostream" :(

--- End quote ---
Most likely you did not install the C++ compiler. Please search the forum/google before posting.
Not to forget: Make you question C::B relevant.

charleszy:
I've MinGW,and have set GNU GCC as default compiler.The compiler installation directory is right,but Additional Paths is blank,is that ok?

charleszy:
It works properly now,I don't know why,strange.But anyway, thanks. :D

Navigation

[0] Message Index

Go to full version