In C, what does the following code do:
What does the #define statement do?Code:#define CREAL_T typedef struct{ ... ... } creal32_T;
In C, what does the following code do:
What does the #define statement do?Code:#define CREAL_T typedef struct{ ... ... } creal32_T;
Could be an #include guard.
FAQ > Multiple source files for one program (C++ example) - Cprogramming.com
It's a C++ example, but for structs, functions, etc. you should do the same thing.
Yeah, if the macro was intended to span several lines, there would have been backslashes at the end of each line except the last used to that effect.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Thank you.