|
|||
|
Posted in Uncategorized
Views 730
Comments 0
|
|
|||
|
Posted in Programming on Linux
Views 1714
Comments 0
|
|
|||
|
Posted in Uncategorized
Views 1073
Comments 0
|




ct and ios::hex doesn't work in Linux for some unknown reason. The thing is that I have got to know why it's happening. Actually there is no problem, the thing is by default ios::dec turned on in C++. So we have to turn it off by typing cout.unsetf(ios::dec); before our cout statement or cout<<hex<<21323<<endl;.