Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #55.0K
Ranked #4K
~642 People Reached
Favorite Forums
Favorite Tags
c++ x 3

2 Posted Topics

Member Avatar for cwarn23

[QUOTE=cwarn23;1111303]Hi and I am writing a small program but need to make a function that converts an integer to a hex. Below is an example of a similar function but need the result stored in a std::string variable. [CODE]printf("%x%x%x%x%x",h0, h1, h2, h3, h4);[/CODE] Does anybody know how to create a …

Member Avatar for Poincarre
0
483
Member Avatar for scantraXx-

1. vector<bool>setlist; 2. setlist.push_back(true); 3. setlist.push_back(false); 4. setlist.push_back(true); 5. setlist.push_back(true); 6. 7. int i 8. string s1 = ","; 9. cout << "{"; 10. for (i = 0; i < setlist.size(); i++) 11. { 12. 13. if (setlist.at(i) == true) 14. { 15. cout << i; 16. 17. } 18. …

Member Avatar for Poincarre
0
159

The End.