I'm a newb, so I may be doing something wrong. I'm trying to create a simple C++ program with a class in it.
-created a new console application
-created a new empty file, saved it as orario.h, and added it to the project
-created a new empty file, saved it as orario.cpp, and added it to the project
Well, actually I'm wondering why I can't create/rename/delete the file with a right click on the project.
I mean, there's no New > C++ file for example, do I have to create it on my HD before "adding it"?
Then I started typing. Highlighting works, indentation does not. Here's an example, totally flat
class orario {
public:
int Ore();
int Minuti();
int Secondi();
private:
int sec;
};
Netbeans would indent my code as I typed it, or all at once (select > right click > format)
Is there an option to activate this behaviour?