เมนูนำทาง
ซี++ ตัวอย่างโค้ด#include <windows.h>LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM);const wchar_t CLASS_NAME[] = L"Window";int WINAPI WinMain(HINSTANCE hThisInstance,HINSTANCE hPrevInstance,LPSTR lpszArgument,int nCmdShow){ WNDCLASSW wc = {0}; wc.hbrBackground = (HBRUSH)COLOR_WINDOW; wc.hCursor = LoadCursor(NULL,IDC_ARROW); wc.hInstance = hThisInstance; wc.lpszClassName = CLASS_NAME; wc.lpfnWndProc = WindowProcedure; if(!RegisterClassW(&wc)) return -1; CreateWindowW(CLASS_NAME,L"RESOURCES",WS_OVERLAPPEDWINDOW | WS_VISIBLE,CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,NULL,NULL,NULL,NULL); MSG msg = {0}; while(GetMessage(&msg,NULL,NULL,NULL)){ TranslateMessage(&msg); DispatchMessage(&msg); } return 0;}LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam){ switch (message) { case WM_CREATE: break; case WM_DESTROY: PostQuitMessage (0); break; default: return DefWindowProcW(hwnd, message, wParam, lParam); } return 0;}
เมนูนำทาง
ซี++ ตัวอย่างโค้ดใกล้เคียง
ซี++ ซีจีเอ็มโฟร์ตีเอต ซี-130 เฮอร์คิวลิส ซีล (วงดนตรี) ซีเกมส์ ซีเอช-47 ชีนุก ซีเอ็มพังก์ ซีโรเบสวัน ซีเนดีน ซีดาน ซีอุยแหล่งที่มา
WikiPedia: ซี++ http://home.datacomm.ch/t_wolf/tw/c/c9x_changes.ht... http://www.codequarterly.com/2011/rich-hickey/ http://www.drdobbs.com/c-conformance-roundup/18440... http://www.stroustrup.com/bs_faq.html#C-is-subset //www.worldcat.org/oclc/59193992 https://books.google.com/books?id=0rUtBAAAQBAJ&lpg... https://web.archive.org/web/20170111184835/http://... https://chapel-lang.org/spec/spec-0.98.pdf https://isocpp.org/ https://docs.python.org/tutorial/classes.html