I am trying to write a simple Hello World in Netbeans. My host OS is Open Suse. I downloaded Netbeans with c++. I went into plugins and enabled c++. I start a c/c++ app and select c++ in the drop down menu in the wizard. I then go into main and enter cout << "hello world."
When typing the code in the IDE, it puts the red squiggleys under cout which tells me something is way wrong if it doesn't know cout. What am I doing wrong?
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: david
*
* Created on May 2, 2018, 12:31 PM
*/
#include <cstdlib>
usingnamespace std;
/*
*
*/
int main(int argc, char** argv) {
cout << "Hello World\n";
return 0;
}