M
myk
Hi. I'm a Matlab user trying for the first time to use C. Simple
things are familiar, more complex are not. I've been online looking for
good tutorials but they usually address simple things or complex things
I don't need to know at the moment.
There is a function I wish to call from the bzip2 library:
ftp://sources.redhat.com/pub/bzip2/docs/manual_3.html#SEC36. Basically,
I don't understand how to interpret what I'm reading. For example:
a) how do I call the function e.g. "compress_out = int
BZ2_bzBuffToBuffCompress(....)" , or just "int BZ2_bzBuffToBuffCompress)"?
b) the first argument is " char* dest", but if dest is a pointer how
can it be a character?
In a nutshell, I know what the function will do for me but how do I
interpret how to use it from the available documentation? Thanks for
any assistance you can provide.
m
things are familiar, more complex are not. I've been online looking for
good tutorials but they usually address simple things or complex things
I don't need to know at the moment.
There is a function I wish to call from the bzip2 library:
ftp://sources.redhat.com/pub/bzip2/docs/manual_3.html#SEC36. Basically,
I don't understand how to interpret what I'm reading. For example:
a) how do I call the function e.g. "compress_out = int
BZ2_bzBuffToBuffCompress(....)" , or just "int BZ2_bzBuffToBuffCompress)"?
b) the first argument is " char* dest", but if dest is a pointer how
can it be a character?
In a nutshell, I know what the function will do for me but how do I
interpret how to use it from the available documentation? Thanks for
any assistance you can provide.
m