The task of the program is to push all the dat开发者_运维技巧a from a structure into a stack, using memcpy.
I came up with this code with the help of @GWW and now I can\'t free a char**. Here\'s my code (it just reads an input file and prints the names in it on the screen):
I have been getting the occasional Seg Fault from apache so I enabled core dump on my servers to try to figure out what is going on. Last night I got another one and was trying to examine the core dum
I am trying to write this code, but it gives me segmentation fault after running the program, could you please help to sort it out?
I\'m doing some bimap manipulation, and my code works well on HVGA devices. However, on WVGA, the JNI crashes with a seg fault.
This code receives a input file with 10 filenames, stores them into an 2d array and creates 10+1 threads: a requester and 10 converters. This is only a skeleton, so my threads only print their id, the
I am trying to write a Huffman encoding program to compress a text file. Upon completetion, the program will terminate at the return statement, or when I attempt to close a file I was reading from. I
I\'m working on a project where I create bank accounts and able to deposit and withdraw. I am to create two bank account and two people- one one the stack and the other on the heap. I should deposit a
Trying to implement a hash table using linked lists to solve collision\'s problem I\'m facing some problems with my code for initializing the hash table.
I\'m having a strange problem with a STL Container. I have a class with a private member std::map<string, string> _environment. Why when I call _environment[\"name\"]=\"john\" in the class cons