5/25/09

setw example

In this vc++ set example

start new cpp file and name it fano

copy the code below and see the output

#include
#include
using namespace std;

int main () {

int Numa = 1234567890 ;

int NumB = 5432 ;int NumC =2324234 ;
cout << "Numa = " <<><
cout << "Numa = " <<><
<< numb ="\n"><<< endl ;
cout<< " NumC\n " <<<
return 0;
}



set different value in the function and see the outcome

This is compiled using VC++ 6 compiler

try different ones

3 comments:

leave me messege