I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
eks. følger; Jeg har en onpaint som kalder funktionen tegn() men hvilke parametre skal jeg kalde med for at kunne tegne i tegn() funktionen? void CButtonWindow::OnPaint () { CPaintDC dc (this); tegn(); } void CButtonWindow::tegn() { }
tak for svaret - lig et svar og du får pointene. Mon du også kan svare mig på hvordan jeg kører et simpelt c++/mfc program som dette i visual studio.net - hvilken type projekt skal jeg vælge?:
#include <afxwin.h>
// Declare the application class class CHelloApp : public CWinApp { public: virtual BOOL InitInstance(); };
// Create an instance of the application class CHelloApp HelloApp;
// Declare the main window class class CHelloWindow : public CFrameWnd { CStatic* cs; public: CHelloWindow(); };
// The InitInstance function is called each // time the application first executes. BOOL CHelloApp::InitInstance() { m_pMainWnd = new CHelloWindow(); m_pMainWnd->ShowWindow(m_nCmdShow); m_pMainWnd->UpdateWindow(); return TRUE; }
// The constructor for the window class CHelloWindow::CHelloWindow() { // Create the window itself Create(NULL, "Hello World!", WS_OVERLAPPEDWINDOW, CRect(0,0,200,200)); // Create a static label cs = new CStatic(); cs->Create("hello world", WS_CHILD|WS_VISIBLE|SS_CENTER, CRect(50,80,150,150), this); }
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.