No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi i've have this problem in my code when i do the overloading of operator >>. My problem for this code isnt encounter error but my input like say i input 7, the num.a output will change this 7 to 55 and num.b output for 5 to 53. below is … |
|
Hey guys i need help over in my program. My error is that when i use cin for a int declaration, when i type in a char, they straight away have a infinite loop. I try using the cin.clear() but when i prompt the user to "enter a number again" … |
|
hi guys, do anyone know y izit that when i print a large list of number say 10000 for sorting, my original random number go missing even though i place a printf command to display them? the end result is only the sorted values. |