Posts 16–20 of 20 · Page 2 of 2

Originally Posted by
ISmokeWeedAmICoolNow
what are you going to return? maybe a class?
Just return the encrypted string lol.

Originally Posted by
Jason
Just return the encrypted string lol.
so you want a memory leak?

Originally Posted by
ISmokeWeedAmICoolNow
so you want a memory leak?
What's your fetish with memory leaks? Clean your shit up after yourself.
PROTIP: You need to free a class too.

Originally Posted by
Jason
What's your fetish with memory leaks? Clean your shit up after yourself.
PROTIP: You need to free a class too.
PROTIP: c++ automatically calls destructors on classes when they move out of scope.
This thread = retarded

Originally Posted by
ISmokeWeedAmICoolNow
it cant be a single function. it has to store the unencrypted string somehow and clean it up later.

Originally Posted by
Jason
Of course you're right! Functions can't return data, how stupid of me.

Originally Posted by
ISmokeWeedAmICoolNow
what are you going to return? maybe a class?

Originally Posted by
Jason
Just return the encrypted string lol.

Originally Posted by
ISmokeWeedAmICoolNow
so you want a memory leak?

Originally Posted by
Jason
What's your fetish with memory leaks? Clean your shit up after yourself.
PROTIP: You need to free a class too.

Originally Posted by
ISmokeWeedAmICoolNow
PROTIP: c++ automatically calls destructors on classes when they move out of scope.
Posts 16–20 of 20 · Page 2 of 2
This thread is closed for replies.