User profile: Smac89

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

No. of Comparisons
If you have not yet learned about overloading, then the explanation will not make much sense to you....

No. of Comparisons
You can decide to have your compare method as a struct and overload the bracket operator for compari...

Multiplying an array by 10
[code]#include <iostream> #include <limits> using namespace std; int main() { int myArr[8] = {...

Sorting Algorithm
using std::multimap, place each value into the map along with it's corresponding ID. std::multimap a...

C++ Vs Java
Java's resource management is done automatically. For this reason, there is no such thing as a destr...