![]() |
|
#1
|
|||
|
|||
structCPP / C++ / C Code:
CPP / C++ / C Code:
Thanks, Frenk Last edited by dsmith : 15-Apr-2004 at 08:52.
|
|||
|
#2
|
||||
|
||||
|
Quote:
Hi Frenk. Absolutely nothing to the compiler, less typing for the user on the first one. I can't remember for sure but I think typedef is a compiler directive so this gets replaced prior to compilation, just like a #define. Anyone know for sure? |
|
#3
|
|||
|
|||
|
not sure, that typedef thing is c method in c++ you jus do this:
CPP / C++ / C Code:
p.s. i've never seen anyone using keyword struct while declaring a datatype of a structure. |
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Urgent ! Pls Help Me ! | mycashmoney | C Programming Language | 4 | 01-Jul-2006 22:49 |
| some I/O problems...again | cameron | C++ Forum | 3 | 03-Mar-2004 21:39 |
| my compiler says I have to have a variable at the end of my structure | ambeco | C Programming Language | 10 | 24-Feb-2004 10:37 |
| compilation error | cameron | C++ Forum | 18 | 20-Feb-2004 00:41 |
| 1st of the Month | mike3340 | C Programming Language | 13 | 06-Feb-2004 11:57 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The