i wonder it, because i hate c++ header files. if c# compiler has a way of getting rid of them, why cant c++ do?
here some similar info but i am not satisfied.
http://stackoverflow.com/questions/1305947/why-does-c-need-a-separate-header-file
Recommended Answers
Jump to PostSome 20 years ago I programmed in this language
It had the concept of a DEFINITION MODULE(= +-header file) and IMPLEMENTATION MODULE. You could design all your definitions and then let a …
Jump to PostNo i posted it to here to have Scott involved in the conversation.
Today he is in good mood. And also i really wonder how c# deals without having header files, if that can be done, why c++ has them, of course it cant be for bothering the programmer.When …
Jump to PostAs less of a discussion answer, and more of a poke at a simple explanation.
header files are a type of include. so when you need some functionality in your program you don't have to start from scratch. Some code is available to start with, and when you program …
Jump to PostText from Wiki -
A header file commonly
contains forward declarations of classes, subroutines, variables, and other identifiers.
Programmers who wish to declare standardized identifiers in more than one source file can …
All 13 Replies
DdoubleD 315 Posting Shark
serkan sendur 821 Postaholic Banned Featured Poster
sknake commented: i'm always in a good mood, and this proves it! for today anyway +17
ddanbe 2,724 Professional Procrastinator Featured Poster
majestic0110 commented: interesting! +5
serkan sendur 821 Postaholic Banned Featured Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
sknake 1,622 Senior Poster Featured Poster
majestic0110 commented: good point +5
DdoubleD 315 Posting Shark
sknake 1,622 Senior Poster Featured Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
Diamonddrake 397 Master Poster
kvprajapati 1,826 Posting Genius Team Colleague
serkan sendur 821 Postaholic Banned Featured Poster
serkan sendur 821 Postaholic Banned Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.