C read binary stdin

前端 未结 8 2213
难免孤独
难免孤独 2020-11-30 04:51

I\'m trying to build an instruction pipeline simulator and I\'m having a lot of trouble getting started. What I need to do is read binary from stdin, and then store it in me

8条回答
  •  囚心锁ツ
    2020-11-30 05:23

    I had it right the first time, except, I needed ntohl ... C Endian Conversion : bit by bit

提交回复
热议问题