News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code Completation doesnt work right

Started by rohezal, October 24, 2008, 07:49:52 PM

Previous topic - Next topic

rohezal

Hi,

I'm quite to C++ (but have experience with C and Java).

First: Code:Blocks rocks. Its much better than net beans (net beans is slow and a bit confusing).

But I got a problem:

If I type in an own Class Name (lets say Car), I can perfectly use it.

For Example:

class Car
{
Car(char* name);
void start();
void stop();
}

int main()
{
Car myCar("Bug");
//some stuff
return(1);

}



If I now type myCar. I get some Advises (start and stop).
Everything ok.

But if I this with cout or fstream file it doesnt work :'(.
Some an Idea.

I'm using  Ubuntu 8.10 and gnu g++ compiler.

Thx