Forum: C++ Apr 24th, 2007 |
| Replies: 4 Views: 1,266 thnks ancient dragon!
i removed lines 20 and 21 (i see why the numbers on the code) which i knew were wrong. i replaced line 17 with [CODE] if(isspace( i )) /[CODE] and works much better.
the... |
Forum: C++ Apr 24th, 2007 |
| Replies: 4 Views: 1,266 thanks for the link. i will pass it on... just a little more "PC" .
anyway any love on solving my little silly program? i know there are a ton WC scenarios out there and here, but the ones i have... |
Forum: C++ Apr 24th, 2007 |
| Replies: 3 Views: 2,178 use "setiosflags()" and setw() to manipulate the output. dont forget #include <iomanip>
for the decimal you may want to use "setprecision()" hope that helps. |
Forum: C++ Apr 24th, 2007 |
| Replies: 4 Views: 1,266 #include <iostream>
#include <string>
using namespace std;
int main()
{
int i;
int words = 1;
string userString; |
Forum: C++ Mar 2nd, 2007 |
| Replies: 2 Views: 3,461 hahahahaha, i knew it was something silly, thank you very much...this was killing me. thank you!! |
Forum: C++ Mar 2nd, 2007 |
| Replies: 2 Views: 3,461 #include <iostream>
using namespace std;
int main()
{
char function;
double num1, num2;
char option;
option = 'y'; |