convert from unsigned char array to long c -


I read from a binary file in an unsigned four buffer using fread for a long time.

Now I get a long time, how can I do it?

  Unsigned four buffer [sizeof (long)]; Fred (buffer, size (long), 1, my_file);   

Thanks!

Definitely mean to you:

  long buffer; Fred (and buffer, size (long), 1, my_file);    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -