Help please :)

I was just going back through some coursework,

And I was checking some easy stuff,

Basically the “Hello World” code

But Instead of using MS Visual C++ I was using bloodshed DEV C++

But I cannot get the code to compile and run,

/* my second program in C++
   with more comments */

#include <iostream>
using namespace std;

int main ()
{
  cout << "Testing Dev C++ Compiler ";     // Prints Testing Dev C++ Compiler
  cout << "Test Print"; // Prints Test Print
  return 0;
}

thats the code I intend to use,

With the expected output of

Testing Dev C++ Compiler 
Test Print

But It Just will not compile.

This is what it says in the compile log

Compiler: Default compiler
Building Makefile: “C:\Users\Andy\Desktop\Makefile.win”
Executing make…
make.exe -f “C:\Users\Andy\Desktop\Makefile.win” all
Execution terminated

Any Ideas?

Andy.

I see 3 ways of doing this code thanks to google, and I follow all the instructions down to the letter,

Yet I cannot get any of them to compile…

#include <iostream>

int main() {
     cout << "Test";
     system("PAUSE");
     return 0;
}



/* my second program in C++
   with more comments */

#include <iostream>
using namespace std;

int main ()
{
  cout << "Hello World! ";     
  cout << "I am a c++ Program"; 
  return 0;
}


#include <iostream>
using namespace std;
void main()
{
  cout << "Hello World!" << endl;   cout << "Welcome to C++ Programming" << endl; }

I got it working.
False alarm.

Was really stupid too.

Andy.

Ok then, what was it? :chin:

wrong compiler ?

No I was selecting the wrong type of file.

lol
Woopsy,

Andy.