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

header files in C

Name: Anonymous 2007-06-23 21:40 ID:HRBo/NOe

Should you have to include a header file into its own library? I can't understand why I sometimes, but not always, get compile errors because it's not getting the header file prototypes before it compiles the libraries.

Name: Anonymous 2007-06-25 20:32 ID:Heaven

>>30
sub factor{my@f,$n=pop;map{$n/=$_,push@f,$_ until$n%$_}2..$n/2;@f?@f:($n)}
print "prime factors of $_: ",join',',factor$_ for@ARGV

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