Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Newbie question

Name: Anonymous 2006-01-19 6:03

Hi.
ummm....I wondering
if I #include many many file in C++,
or import many many package in JAVA,
what will happen?

Will my file become bigger bigger?
even if got function never use?
Or will compiler auto remove all the never use function?

Thank u BBS!

Name: Anonymous 2006-01-19 8:04

depends on compilation

with a decent compiler(and often requiring proper flags), functions not used are not linked..thus the program isn't much bigger than necessary

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List