やれたらやるね

やれたらね

C言語 バイナリファイルR/W

#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <errno.h>#include <string.h> #define OUT_FILE_NAME "out.bin"#define RW_DATA_NUM (1) void main(int argc, char *argv[]){ if (argc != 2) { printf("L%d argc=%d\n", __LINE__, argc); printf("errno=%d %s\n", errno, strerror(errno</string.h></errno.h></sys/stat.h></sys/types.h></stdio.h>…

モニターを2台接続したときに困ったこと

どうやって2台接続するか PCにモニターを2台接続したいのだけど、HDMIポートが1つしかない。VGA(D-Sub(15pin))のポートがあるので、2台目はそれを使って接続することにした。 ちなみにUSB Type-CをHDMIに変換するアダプタも買ってみたけれど、PC側が対応し…