[Dev-C++] code with cout statement (no display)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Pascal <p.t...@ti...> - 2003-10-24 17:28:29
|
This code work fine under windows XP compatible mode for win98.
But I have test "FULL OPTIMISATION FOR P4 PRESCOTT NATIVE MODE" function in
DEV C++,and the result is:
#include <iostream>
using namespace std;
int main()
{
int a;
int *aPtr;
aPtr= &a;
std::cout << "Hello World! \n";
std::cout << "The address of a is" << &a
<< "\n The value of aPtr is" << aPtr<<"\n";
system ("pause"); // execute M$-DOS' pause command
return 0;
}
++ :)
|