cppoctdechex

Postat pe 12 februarie 2009 în CPP de admin

Octal / Hexadecimal / Decimal conversie

# include <iostream.h>
# include <iomanip.h> int main ()
(
Curtea << "The zecimal valoare de 15 este" <<15 <<endl;
Curtea << "The octal valoare de 15 este" <<setiosflags (ios:: oct) <<15 <<endl;
Curtea << "The hex valoare de 15 este" <<setiosflags (ios:: hex) <<15 <<endl;

return 0;

)

Legate de posturi:

  1. Scrieţi într-un fişier text Acest exemplu utilizează fluxuri pentru a scrie un fişier text pentru a ...

Legate de posturi au adus la tine de un alt Related Posts Plug-in-ului.

Adaugă un comentariu