How to compile code C/C++ in Netbeans
Netbeans is intergrated C/C++ in their IDE.But I can't compile C/C++ file.It informed that:
Running "make -f main CONF=Debug" in E:\School\JAVA\thu
'make' is not recognized as an internal or external command,
operable program or batch file.
Build failed. Exit value 1.
Code:
#include <iostream>
#include <fstream>
using namespace::std;
int main(void)
{
ofstream outputfile("thu.txt",ios::out);
if(!outputfile){
cerr<<"File not found";
exit(1);
}
cout<<"Name, Account";
cout<<"Input End of file";
itn account;
char name[30];
float balance;
while (cin>>account>>name>>balance){
outputfile <<account<<' '<<name
<<' ' <<balance<<'\n';
cout<<"?";
}
return 0;
}
Most of file I always had this errors.Although when I use other compilers,it is true..Please help me thanks very much.... Example "Hello program"....