User profile: theranga

User info
User name:theranga
History
Joined:
Number of posts:100
Latest posts:

Enqueue problem!!
@psyclone: the queue member functions are implemented in Apothecary.cpp and for this problem BuyPoti...

Prime numbers using loop
Otherwise, the reason it isn't outputting 2, 3,5 or 7 is because when i is 2, 3, 5 or 7 then i%2, i%...

Hello C++ programmers. Silly question.
Your error is on line 16: it says [code]if (input=='download')[/code]. There's 2 problems here: [co...

Prime numbers using loop
The big problem with this code is that it will output numbers that aren't prime, eg the program will...

Pointer and char
Try using std::string: [code]#include <string> std::string filename; for (int i=0; i<250; i++) { ...