User profile: kbw

User info
User name:kbw
Number of posts:7923
Latest posts:

dlsym C++ problem. How to dynamically load C++ classes?
Please use code tags for your code. The tags are in the palette to the right. You're kind of doing...

How does "free()" know the total allocated memory.
It isn't that clever most of the time. Some debug versions do checks on the block being returned. ...

selection sort issue
Line 61: overwrites the new array with the old one. The new one is lost, and is called a memory lea...

Randomly generated square
Once you have identified the cells to shade, for each cell, you need to generate a random number whi...

When do you not use #include <iostream>, using namescape std and int main()?
You always need main(). That is where your program begins. You never need [code]using namespace st...