May 12, 2006 #1 homeless Programmer Nov 6, 2001 20 CH i try to convert: 259 to 0x103 or 771 to 0x303 by using the stringstream manipulators Code: int n stringstream ss; ss << hex << n; cout << ss.str(); what's whrong
i try to convert: 259 to 0x103 or 771 to 0x303 by using the stringstream manipulators Code: int n stringstream ss; ss << hex << n; cout << ss.str(); what's whrong
May 12, 2006 1 #2 ArkM IS-IT--Management Oct 21, 2002 1,819 RU 1. Append semicolon after int n; 2. Initialize n. 3. Append << endl to flush cout. Upvote 0 Downvote