| ??? 11/27/02 01:55 Read: times |
#33255 - RE: local global???!!!?!?!?! |
"This is only true if you declare the variable with the extern keyword in the other file"
No. The variable is global, irrespective; the extern just gives the other file access to it. You can declare an extern for a totally fictitious symbol, and that file will compile just fine - but it won't Link, because that's where external references get resolved and there is no such global! |
| Topic | Author | Date |
| C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C/ Erik | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C/ Erik | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. //Judy / Erik | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. Erik | 01/01/70 00:00 | |
| RE: local global???!!!?!?!?! | 01/01/70 00:00 | |
| RE: local global???!!!?!?!?! | 01/01/70 00:00 | |
| RE: local global???!!!?!?!?! | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
RE: C++ style in C. mahmood | 01/01/70 00:00 |



