Login Register






C++ Noobie Challenge - Hex Input filter_list
Author
Message
RE: C++ Noobie Challenge - Hex Input #4
Code:
#include <cstdlib> int main(int argc, char* argv[]) { int input; std::cin >> hex >> input; }

Using scanf is cleaner imo and C++ supports that function...
(This post was last modified: 08-01-2014, 11:33 PM by miiike980.)

Reply





Messages In This Thread
C++ Noobie Challenge - Hex Input - by ArkPhaze - 08-01-2014, 04:51 AM