Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 6
Member Avatar for VernonDozier

I was debugging some code yesterday and, after about fifteen minutes, found the culprit. This was in the code: [code] if (a = b) { // code } [/code] instead of this: [code] if (a == b) { // code } [/code] A very common mistake, but an aggravating one. …

Member Avatar for fierykido
0
1K
Member Avatar for kllera

how can I get the remaining weight, without using the int modulus? The problem is solving how many widgets are on the pallet, and inputs are the total weight and the pallet. In the program, ONEWIDGET is the weight of a widget. since the input can put any random number, …

Member Avatar for Radical Edward
0
186
Member Avatar for kllera

I'm dividing integers and making it a temporary double so i can get it in a decimal. To have it with a fraction i just divide the numbers and cout the answer with the mod answer "/" num2. I want to display both the fraction and in decimal, so.. for …

Member Avatar for Duoas
0
129
Member Avatar for C-+

I am having a problem trying to divide a number. So in my in my program I have a number and I want it to divide it by 10. The problem is that the result is going to be decimal. I run my program I put the number it divdes …

Member Avatar for n1337
0
134