![]() |
|
#1
|
|||
|
|||
structCPP / C++ / C Code:
CPP / C++ / C Code:
Thanks, Frenk Last edited by dsmith : 15-Apr-2004 at 09: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
Python ebook 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 23:49 |
| some I/O problems...again | cameron | C++ Forum | 3 | 03-Mar-2004 22:39 |
| my compiler says I have to have a variable at the end of my structure | ambeco | C Programming Language | 10 | 24-Feb-2004 11:37 |
| compilation error | cameron | C++ Forum | 18 | 20-Feb-2004 01:41 |
| 1st of the Month | mike3340 | C Programming Language | 13 | 06-Feb-2004 12:57 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The