16,471
社区成员
发帖
与我相关
我的任务
分享
using namespace std;
#include <iostream>
#include <stdio.h>
#include <windows.h>
int main()
{
GetDC(0);
TextOut(NULL,100,100,"H",50);
cout<<"finished!"<<endl;
int ii;
cin>>ii;
return 0;
}
using namespace std;
#include <iostream>
#include <stdio.h>
#include <windows.h>
int main()
{
HDC hdc = GetDC(NULL);
char szText[] = ("1");
TextOut(hdc, 10, 10, szText, 1);
ReleaseDC(NULL, hdc);
cout<<"finished!"<<endl;
int ii;
cin>>ii;
return 0;
}
#include "stdafx.h"
#include <Windows.h>
int _tmain(int argc, _TCHAR* argv[])
{
HDC hdc = GetDC(NULL);
TCHAR szText[] = _T("Hello, World!!!");
TextOut(hdc, 10, 10, szText, _tcslen(szText));
ReleaseDC(NULL, hdc);
return 0;
}