Thursday, July 30, 2009

How to input a binary string in C?

http://snippets.dzone.com/posts/show/207...

How to input a binary string in C?
Are you reading the data?





How about:





num_of_bytes_read = read(fd, Buffer, sizeof(Buffer));





The read function does not care if it is binary, ascii, or whatever.

magnolia

No comments:

Post a Comment