PDA

View Full Version : code display test



Eric
25-12-2004, 04:01 AM
[c++]
#include <iostream.h>


int main()
{
int one ;
int two ;

cout << "one = " ;
cin >> one;
cout << "\ntwo = " ;
cin >> two;

two ^= one ^= two ^= one;

cout << " one new equals " << one << "\n";
cout << " two new equals " << two << "\n";

system("PAUSE");
return 0;
}
[/c++]

Eric
25-12-2004, 04:03 AM
drats !!!! :(