fgets() will read a line from a file up to and including the linefeed: FILE *in,*out; char buf[100]; /* adjust for longest expected line...
You're probably derefrencing a NULL pointer. Without any code, diagnosis is impossible.
1. What is CSerialcom? Not a standard class. 2. "frame" is a single byte. How did you even get "frame[i++]=..." to compile? 3. if you got this...
I don't know about the first error. Your second error is because the function signature for the thread proc is wrong. You need to declare...
What is it supposed to do? What is it doing instead?
CBitmap is just a wrapper for some of the common GDI bitmap routines. You should still be able to call, say, ::GetBitmapBits() to extract a...
You'll need to post more than just that. There's no way to diagnose your error without knowing more about the problem.
Try this: struct hostent *hp; hp=gethostbyname(addr); if(hp){...
strtol and strtod will take any amount of leading whitespace up to the number. It will then try to convert the number using a simple set of rules...
instead of atoi()/atof() try strtol()/strtod(). They take an additional parameter that tells where the conversion stops. With that info, you can...
You'll have to give some more details.
The app was compiled with a very old version of Visual Studio (6.0 which is 12 years or more old). Download the actual project and compile it in...
The C Standard has several functions like mkdir(), rmdir() , etc for dealing with directories (folders) is that what you meant?
I don't know anything about excel automation, but I would think that you need to pass a "SAFEARRAY". Look for help on msdn. Here's one with an...
Try a space between your "%d" s. Also, scanf uses the address of the variables so you need to prepend them with "&": scanf("%d %d %d" ,...
Separate names with a comma.