User profile: PattuX

User info
User name:PattuX
History
Joined:
Number of posts:8
Latest posts:

How to print a random amount of numbers with a random number for each number?
First of all, please use proper indentation, like this: [code]int main() { int random_integer; ...

extract every digit for arithmetic calculation
I'll go pretty much from scratch here. Everything you need for now is a [code]main()[/code] functio...

Reading in words from a file one at a time and ignoring unnecessary characters in it?
Oh, obviously... I usually prefer using std::string, so [code] #include <string> int i=0; cha...

Iterative way to find cycles in tree
OP here, found a solution myself now. Sharing it, in case someone finds this thread and has the same...

Reading in words from a file one at a time and ignoring unnecessary characters in it?
[code]isalpha(char c);[/code] will return true if c is a letter. You can then iterate over the whole...