Forum: C++ Sep 10th, 2008 |
| Replies: 4 Views: 525 Or may be convert the double into string. Then split the string using "." as the delimiter?? |
Forum: C++ Sep 9th, 2008 |
| Replies: 7 Views: 552 Hi, I edited some of your code. Here it is. The reason it won't come out from while loop is because isspace() included the newline ("\n") as a kind of "space". See this... |
Forum: C++ Sep 4th, 2008 |
| Replies: 13 Views: 1,096 Good... Even signature is checked! :twisted: |
Forum: C++ Sep 2nd, 2008 |
| Replies: 4 Views: 579 Well.... If you want to use the getline function, here's a simple program to test that:
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main()
{ |
Forum: C++ Aug 22nd, 2008 |
| Replies: 8 Views: 606 Just to make it clearer....
1. Add another statement at the end of your coding. Prompt User to enter a certain character to exit from the program.
2. iamthwee is right. Use a do-while loop to... |
Forum: C++ Jun 27th, 2008 |
| Replies: 6 Views: 705 Well, I would suggest you to move the app.exe to the same folder in which you save your .cpp files. Then you can just use type:
system ("app.exe -vb \C:\\Documents and... |
Forum: C++ Jun 19th, 2008 |
| Replies: 3 Views: 756 Well, I suppose this would solve your problem. You can merge the sort() into the insert().
Here's the code:
#include <iostream>
#include <fstream>
using namespace std;
class List
{ |