Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: Bob ; Forum: C and child forums
Forum: C Feb 18th, 2004
Replies: 1
Views: 16,554
Posted By Bob
Using #define in this way, CELSIUS is a symbolic constant. Everywhere that CELSIUS appears in this source file it is replaced with 20, simple text substitution.

So the following line:

for...
Forum: C Jan 1st, 2004
Replies: 2
Views: 5,404
Posted By Bob
I haven't looked through your code - maybe you could post your latest version as you've obviously updated it with some fixes since you first posted it. The assertion failure you're seeing, this is...
Forum: C Nov 15th, 2003
Replies: 4
Views: 4,120
Posted By Bob
There's no simple answer to that question. You will find examples of CMM level 3-5 companies that are large and cover the whole spectrum.
Forum: C Oct 11th, 2003
Replies: 2
Views: 10,205
Posted By Bob
This used to be true, but since the C standard was revised in 1999 you can now declare a variable in a for loop, just like you can in C++. Consider upgrading your C compiler to something more recent....
Forum: C Oct 4th, 2003
Replies: 7
Views: 8,424
Posted By Bob
Valmian, I really don't wish to be unkind, but it has to be said, the code you posted is horrible. I can't begin to imagine how someone trying to seek advice here would manage with such code, but the...
Forum: C Oct 4th, 2003
Replies: 3
Views: 12,171
Posted By Bob
I came across the following code that you posted in a different thread. Here wsaData is declared in the line I've highlighted:

#include <winsock.h>
#include <wsipx.h>
#include <wsnwlink.h>...
Forum: C Oct 4th, 2003
Replies: 2
Views: 5,092
Posted By Bob
> error C2065: 'wsaData' : undeclared identifier

Looks like a duplicate post. Where is wsaData declared? Your compiler is trying to tell you that you're using an identifier that hasn't been...
Forum: C Oct 4th, 2003
Replies: 3
Views: 12,171
Posted By Bob
Hard to say exactly, as you don't appear to have posted the complete compileable code that exhibits your problem.

> void main()
>{
>// Initialize WinSock
> int...
Forum: C Aug 9th, 2003
Replies: 13
Views: 7,522
Posted By Bob
What format is the original data in, that you want written to the file? Your hex editor happens to display the stored value in hex format when it reads it. You might equally display it in decimal, or...
Forum: C Jul 28th, 2003
Replies: 2
Views: 2,849
Posted By Bob
That's just plain silly. You only need 1 programmer to write an operating system.
Showing results 1 to 10 of 10

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC