| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Conventions? C |
> Just wondering about the difference between linking two > compiled object files as opposed to "including" the second in > the first. > I never see a C programme with an include like #include > I only ever see .h files included. The .h extension is just > a naming convention isn't it? Yes. In fact, you can include a file of any name, but .h is the convention. Include files typically include only definitions and declarations, but rarely any code which produces code (as a matter of style and sensible programming practices). This includes structure definitions, #define's and so forth. Object files include executable code and/or data. Include files typically contain declarations which pertain to code/data in other object files. david ---* Origin: Unique Computing Pty Ltd (3:632/348) SEEN-BY: 50/99 54/54 620/243 623/630 624/50 632/103 301 348 365 386 998 SEEN-BY: 633/371 379 634/384 635/210 502 503 541 544 636/100 639/100 711/409 SEEN-BY: 711/410 430 807 808 809 932 934 712/623 713/888 714/906 800/1 @PATH: 632/348 635/503 50/99 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.