User profile: Horscht

User info
User name:Horscht
Number of posts:13
Latest posts:

The Sieve of Eratosthenes to find prime numbers, stuck in an infinite loop
You are basically moving through your array from beginning to end want to zero out all of the curren...

friend class declaration
Declaring something as a friend means that you allow another class or function to access private mem...

Writing std::string to std::ofstream
Hmm ok, the overload seems to be in <string>. I looked in the ostream reference. http://www.cplusplu...

Writing std::string to std::ofstream
That's because there is no overload for strings. You have to convert it to a c-string: [code]outputS...

Column sums
Sort every row from smallest to biggest number. Then shift every entry by the number of the row. Cou...

This user does not accept Private Messages

User: Horscht

  • Public profile