Thank you!
Type: Posts; User: mashley
Thank you!
I am writing text to an ascii file.
I want the text to look like...
"John", "Doe"
I have two variables, fName and lName
how to write my fprintf() statement so I get the quotes in my...
bump :)
But if I hardcode the %.2e in there, it will only work for numbers with 2 significant digits after the decimal point. If it has 3, 4 or 5 etc..., it will get chopped off. I don't want that. I just...
#include <stdio.h>
#include <stdlib.h>
// Example program............. copywright protected, 2003
int main()
{
float data;
data = 0.023;
printf ("e = %e\n",data);
Can anyone tell me something that isn't already obvious?
Thanks.
Anyone care to comment on what this socket code does line by line? Thanks. Explain what each line does.
status = WSAStartup(MAKEWORD(2,0),&Data);
if (status !=0)
printf ("Error:...
I have written many programs that have "made it to the shelf", but I cannot give out any details, otherwise I would have to shoot you! :)
It didn't seem to work. I step over the CreateThread() routine and no new thread seems to be running. The only one on the list is the WinMain thread.
Any suggestions? This should be pretty...
I am using MS Visual C/C++ and the program I am working on uses the CreateThread() routine to create five different threads. I am stepping through the debugger and noticed that I cannot get it to...