how do i compile my stuff?
im using a book and the code is
/*
This is a simple C++ program.
Call this file Sample.cpp.
*/
#include <iostream>
using namespace std;
// A C++ program begins at main().
int main()
{
cout << "C++ is power programming.";
return 0;
}
what do i do with it and how do i compile it? i use vb c++
can some one tell me what type of file this is from the beggining (from when i open c++) when i click like, win32 or clr empty project, ect.... then what please help me
/*
This is a simple C++ program.
Call this file Sample.cpp.
*/
#include <iostream>
using namespace std;
// A C++ program begins at main().
int main()
{
cout << "C++ is power programming.";
return 0;
}
what do i do with it and how do i compile it? i use vb c++
can some one tell me what type of file this is from the beggining (from when i open c++) when i click like, win32 or clr empty project, ect.... then what please help me



but umm, when i open the compiled thing it just exits :/