I have two structure in c struct data{ char *name; }; struct lst{ struct lst *next; struct table *data; }; when I\'m trying to assign a name like
My brain has never really quite grasped linked lists and the finer points of pointers but I\'m trying to help out a friend with some C++ assignments. (And before I go any further, yes, there is std::l
I\'m trying to debug a legacy code written for Linux. Sometimes the application gets a segfault when it reaches the memcpy call in the foll开发者_如何学Pythonowing method:
I have an C++ application (heavily shortened down, shown below); #include <iostream> #include \"MyClass.h\"
I\'m using two regular expressions to pull assignments out of MySQL queries and using them to create an audit trail. One of them is the \'picky\' one that requires quoted column names/etc., the other
I\'m working on a basic shell in C. In my implementation of pipes, I count the commands on the line and iteratively fork() a new process.
I\'m making a wrapper for the pthread library that allows each thread to have its own set of non-shared memory. Right now the way c is set up if any thread tries to rwe another threads data, the progr
I was surprised when I just tried the following PHP code: function foo() { foo(); } foo(); I expected to get \"500: Internal server error\". Instead the connection was closed immediately (no bytes
I\'m working on a program for Project Euler to add all the digits of 2^1000. So far I\'ve been able to track the program segmentation faults when it reaches around 5 digits and tries to push a one ont
I am using a c++ library that is meant to be multi-threaded and the number of working threads can 开发者_StackOverflowbe set using a variable. The library uses pthreads. The problem appears when I run