Salem,
I like it. Read it in as a string, parse and now you have the exact representation to flog as you wish.
Thanks for the reply.
Bob
Type: Posts; User: GuitGentlyWeeps
Salem,
I like it. Read it in as a string, parse and now you have the exact representation to flog as you wish.
Thanks for the reply.
Bob
Thanks all of you.
Double isn't even good enough due to the large multiplicative factor that is used.
This is crazy. My problem is that I must prompt the user to enter in units which make it...
Hello,
I have:
char string[32];
float theFloat;
sprintf(string,"%f",.525);
sscanf(string,"%f",&theFloat);
It depends what type of operating system environment that your program is running on.
If you are using windows then look for microsoft doc on the WIN32 comm API. A better method would be to buy a...
Thanks,
Yes you are so right. The thing that kept getting me was that I could declare other types as extern such as:
extern int a;
extern char b;
The difference is that the compiler can...
If you initialize like so:
int i = 5;
Then, anywhere that the integer i is in scope, you can change its value:
i = 2;
i=0;
But if you declare the integer as constant:
Hi folks,
I understand the use of extern for different type objects, but I'm having trouble using extern on a global structure from one file in another file.
file1.c declares and defines:
...