User profile: Zap

User info
User name:Zap
History
Joined:
Number of posts:39
Latest posts:

A c++ question with sorting
setw() spaces the output a certain number of spots. setfill is the character used in between (defaul...

Word Count....Need Help Please
you add a word every time it is a space, so in your if statement you should also check that the last...

exact math
this is simply a format thing. add [code] #include<iomanip> cout<<setiosflags(ios::fixed)<<setprec...

fmod giving "bad" output
i am writing a constructor for my fraction class that will convert a decimal value into a fraction. ...

How could I create a yahtzee game?
i would suggest making a structure that would keep track of one players, then use an array of that s...