Description:
Discussion about C.
|
|
|
Handling errors and exceptional conditions
|
| |
I confess I have always taken an ad hoc approach to error handling in programs that I write. I think that is justified since they are written only for my own use, so if I enter strange data and the program calls exit(EXIT_FAILURE) after printing a message to stderr, I can cope with that and try again.... more »
|
|
السر في شهر العسل
|
| |
تفاصيل جديدة عن عملية إقتحام جماعة جهيمان للحرم الشريف .. [link] السجن 3 سنوات لمدرس مارس الجنس مع 18 من تلميذاته [link] الاتصالات السعودية ترد على هيئة الاتصالات وتؤكد بأن العرض لايخالف... more »
|
|
parser
|
| |
hello everyone. Who can help me telling me what's wrong in the following code? ...void write(char *sentence); FILE *fin,*fout; enum gulja {man,me,ne}; const char * guljas[]= {"man","me","ne"}; int main(int argc, char* argv[]) { enum gulja gul; char delims[] = " "; char *result; char *str; char name;... more »
|
|
Why does long w = 'word' fail?
|
| |
Hi, I'm trying to test a sequence of 4 characters from a ptr buffer against a long, but the test fails even though I think they should have the same value. e.g : char word[4] = {'w', 'o', 'r', 'd'}; char *wordPtr = (char*)wordArray; long wordLong = 'word'; long *longPtr = (long*)wordArrayPtr; long longPtrVal = *longPtr;... more »
|
|
Need a file based database library
|
| |
Hello, I'm looking for a database library able to be used as a local application storage. The following requirements are necessary: 1. No TCP/IP or UDP interface 2. available as shared/static library 3. able to use multiple INDEX files to access DATA -> the INDEX self have to be persistent... more »
|
|
error C2106: error C2057 :error C3304:
|
| |
I have faced intrinsic errors "error C2106 / error C2057 / error C3304" in Visual studio 2008. Though the source files have included with header files like "math.h" and "ctype.h", compilation gives error as given below. 2>c:\apps\microsoft visual studio 9.0\vc\include\string.h(48) : error C2106: '=' : left operand must be l-value... more »
|
|
Eliminating this seg fault
|
| |
As a response to the following problem, Speed Cameras Input File: camin.txt Output File: camout.txt Time Limit: 1 second As director of the Safe Driving Ministry, you are faced with a dilemma. None of your speed cameras are working, but your department desperately needs the extra revenue for their new Super Espresso Coffee Deluxe. With... more »
|
|
Remember?
|
| |
Why did you start programming? Wasn't it for the fun of it? I am sure you did not start because of the need to apply your software engineering principles... For me most of the fun was the curiosity of getting a machine do whatever I wanted to. This creative side, that was so tightly coupled with building powerful yet simple systems.... more »
|
|
|