AStupidNoob

Melbourne, Australia

craxic.com

Nov
20
awarded Popular Question
Nov
12
comment Segmentation fault while creating an object
Oh, tell me about it. When I found out, I was furious at the amount of time it made me waste! As for the GDB issue: If I were you, I'd make use of Eclipse CDT for development in C++. Using GDB with it is a breeze, you just click "Debug", and you get a great interface that is easy to use. Because of this, I'm not particularly proficient with using gdb on the command line. Perhaps someone more experienced can give some assistance. Anyways, I'm glad I could help!
Nov
12
comment Segmentation fault while creating an object
There is no << std::endl at the end of std::cout << "Map is successfully constructed", so the output buffer won't be flushed. Try that and see what happens!
Nov
10
comment C++ templates: conditionally enabled member function
@Yakk Aaah I see! That's really clever, thanks!! Are you sure that class WorkingSimpleVector: equal_string_helper<WorkingSimpleVector,ElementType> doesn't need to be class WorkingSimpleVector: public equal_string_helper<WorkingSimpleVector<ElementType>,ElementType>? Am I still missing something?
Nov
9
comment C++ templates: conditionally enabled member function
@Yakk I found an error in your solution class WorkingSimpleVector: equal_string_helper<WorkingSimpleVector,ElementType> -> class WorkingSimpleVector: equal_string_helper<WorkingSimpleVector<ElementType>,ElementType>. I also made some improvements (IMO) to your solution and added them to the question. If you have time, please let me know what you think!
Nov
9
revised C++ templates: conditionally enabled member function
added 4568 characters in body
Nov
8
comment How to get the relative adress of a field in a structure dump. [C]
I made a more complete version of this, thanks for the inspiration. Clicky
Nov
6
comment Android/Java - Exception not caught
I'm not sure how to fix this with the information you've given (maybe someone more experienced will know), so would you mind trying the following: 1) Try always throwing an exception in the constructor (throw new RuntimeException()) as the first line. 2) Try running the constructor in the activity creation rather than in some deeply nested function. 3) Have you tried running it through the debugger and stepping through your code? Perhaps that might show some results.
Nov
1
accepted C++ templates: conditionally enabled member function
Oct
29
asked C++ templates: conditionally enabled member function
Oct
24
answered Eclipse Juno with CDT Doesn't Add Built-in Include Directories
Sep
4
awarded Supporter
Aug
8
answered Google App Engine "Fake" Dev Uploads
Aug
8
asked Google App Engine "Fake" Dev Uploads
Jul
3
awarded Yearling
Jul
2
awarded Curious
Jul
1
awarded Yearling
May
23
comment VS2013 Professional local 64-bit debugging MSVSMON issue
Mine was already off unfortunately. Have an up-vote anyways!
May
10
awarded Enlightened
May
10
awarded Nice Answer
1 2 3 4 5