no swim no life
오늘부터 전국 순방 헌혈 프로젝트~ 1차는 가까운 이수 헌혈의 집 7시 반에 갔더니, 8시 퇴근이라고 전혈 밖엔 안된단다. 일정을 위해 성분헌혈을 했어야 했지만.. -_-;
1. 네트워크 환경a : 10.1.48.1 (VMware 설치)b : 10.1.48.44 : 48.1 PC에 설치되며 외부와 직접 통신 가능 2. 로컬영역연결(a)에 다음을 추가 - NWLink NetBIOS - NWLink IPX/SPX/NetBIOS 호환 트랜스포트 프로토콜 - VMware Bridge Protocol 3. VMware - Edit 메뉴의 Virtual Network Settings - Automatic Bridging 탭의 automatic choose an available physical network adapter to bridge to vmnet0 에 체크 4. OS 설치 시(b) 가상 하드웨어의 네트워크 설정 - Bridged : Connected directly to th..
#include int main() { FILE *fd = NULL; unsigned long var = 0; var = 12345; fd = fopen ( "test.dat", "wb" ); fwrite( &var, sizeof(unsigned long), 1, fd); fclose( fd ); var = 0; fd = fopen ( "test.dat", "rb" ); fread( &var, sizeof(unsigned long), 1, fd); fclose( fd ); printf( "result : %u \n", var ); return 0; } 결과 : result : 12345 test.dat 파일 내부 1. text mode 90 2. hex mode 39 30 00 00
기본중의 기본 #include //#pragma pack(push) // alignment 저장 //#pragma pack(1) // alignment 변경 using namespace std; struct TA { char cA; int nB; char cC[3]; }; int main( int argc, char* argv[] ) { printf("Hello World!\n"); struct TA tA; cout
커널모드에서의 파일삭제는 이놈으로 해결했다. call_usermodehelper Name call_usermodehelper -- start a usermode application Synopsis int call_usermodehelper (char * path, char ** argv, char ** envp, int wait); Arguments path pathname for the application argv null-terminated argument list envp null-terminated environment list wait wait for the application to finish and return status. Description Runs a user-space appl..