User profile: coder777

User info
User name:coder777
Number of posts:5243
Latest posts:

stuck on program please help
I checked it and it worked as expected. Show your modified code please.

How to read text file line by line?
That doesn't make overly sense. The for loop (line 8) has no effect. Plus you read one line beyond t...

Problem with checking duplicates
It is rather simple: You need to store [code]line[/code] int an array (make sure that the index doe...

stuck on program please help
[code]int index = 0; // Note: you do not need this while(infile[u] >> list[/u]) { if(lis...

Problems with Stacks
The loop on line 54 is simply:[code] for (int i=0;i<stackPointer;i++){ if (i == 0) { } ...