I am new to C89, and don\'t really understand how strings work. I am developing on Windows 7. Here is what I am trying to do, in Java:
static const int class[UCHAR_MAX] = { [(unsigned char)\'a\'] = LOWER, /*macro value classifying the characters*/
I\'m writing C89 on MSFT Visual Studio 2010 Beta. How can I make an assertion, similar to Java\'s assert keyword? I think I need to define a macro, but I\'m not sure how. (It seems like this is someth
I am working in Ansi C, windows 开发者_开发知识库platform. I want to attach mysql database to my c program. Kindly guide me how I can make it possible.Here is a working example which sets up a connect
I want to send data or packets at particular IP address using ANSI C s开发者_开发百科tandard so that my code will be platform independent. How is it possible in windows OS without using windows librar
Here\'s an odd problem that\'s been stumping me for a bit. The program is written in C89, and it reads a file into a char* array 16 bytes at a time (using fread and a size of sizeof(char)). The file
I recently tried this experiment in which instead of going for dynamic memory allocation for memory requirements of unknown size, I did a static allocation. When an array a[i] was declared by me, I ke
For the sake of education, and programming practice, I\'d like to write a simple library that can handle raw keyboard input, and output to the terminal in \'real time\'.