Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- OpenCPN
- 설치 테스트
- Plugins
- 정적 라이브러리에서 MFC 사용
- LINK2001
- 사전설치
- 확인할 수 없는 외부 기호
- .gitattributes
- c++ Broadcast
- wxWidget
- c2678
- _sprintf
- git 대용량 파일
- ExtendWith
- OpenCPN설치
- Console
- SQLite3
- sts4
- git 최초 설정
- __snprintf
- MFC
- Flutter
- 의존주입
- __vsnprintf
- Mqtt
- c++ set struct
- esp-wroom-32d
- OpenXLSX 한글
- winsock.h Broadcast
- 멀티바이트 문자 집합 사용
Archives
- Today
- Total
목록static (1)
세상을 이롭게

static 을 사용할 때 나는 문제로 전역에서 정의하지 않았기에 나는 애러이다. 전역에서 정의해야하는 이유는 static 이기 때문에,,, static 멤버 변수는 모든 객체에 공유되어야 하므로 프로그램 전체 영역에서 메모리가 유지된다. struct st_DB_OpenDlg { wxString path; long date1; long time1; long date2; long time2; }; class FilePanel : public wxPanel { public: static struct st_DB_OpenDlg* m_st_DB_OpenDlg; }; #include "FilePanel.h" ////////////////////////////////////////////////////////////..
C,C++
2022. 2. 10. 13:47