Finding

can someone help me in creating a C++ program for converting Octal to Hexadecimal..
i looked in the web but all of them are C program..
Please help me guys i really need this in my project.
1
2
3
4
5
6
7
8
9
10
#include <iostream>
#include <iomanip>


int main()
{
    int x;
    std::cin  >> std::oct >> x;
    std::cout << std::hex << x;
}
77
3f
Thank you MiiNiPaa ^_^ really you helped me alot ^_^
Topic archived. No new replies allowed.