User profile: Smac89

User info
User name:Smac89
Number of posts:1724
Latest posts:

Strange entry point not found error
try this: [tt]rm app.exe *.o && g++ main.cpp tree.cpp -o app && ./app[/tt]

Returning dynamic memory properly
As long as you promise to delete the allocated memory chunk some place down the road, you can simply...

Template Function - Vector of Classes w/ Different Constructors
cire is right in that you may not need shared_ptr. I am not very familiar with the way smart pointer...

Problem declaring nested object in another class
BoardA and Fleet are not members of the GameClass object. They are declared in the constructor which...

Please fix my program
[code]char** encrypt(char raw[1]) { int ran1, ran2, ran3, ran4; ran1 = rand() % 100; ra...