User profile: Smac89

User info
User name:Smac89
Name:N_Mint
Location:/bin/bash
History
Joined:
Number of posts:1568
Latest posts:

prime number generator from jumping into c++
[b]@[small]koopey[/small][/b], you don't need an else. A return statement is short circuiting. This ...

Help! Need help assigning numbers to month
Heard of for-loops? You should give them a whirl. Even better range based for-loops: [code]void use...

Recursive vs Iterative
Hint: [code]std::string str = "my string" if (str.find('s') != std::string::npos) { std::cout <<...

prime number generator from jumping into c++
[code]int max(int a, int b) { if (a >= b) { return a; } return b; }[/code] No t...

Running program without compiler
C++ executables are not platform independent. You need to either re-write the entire thing in Java (...