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

Pages: 1-

why am i such a novice

Name: Anonymous 2009-04-04 21:44

offset / blocksize = blocks into the archive (rounded)
offset % blocksize = null bytes in the file

in c, do i have to do two math operations to get these (fmod?) or can i do one
or do i have to use some non-standard math operation

Name: Anonymous 2009-04-06 16:54

There isn't a built in operator but the standard headers contain a function or macro that puts both results into a structure, ideally using its own machine-specific implementation. Can't remember what it is though.

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