QT/Basic Tutorial
<QT 기초> "Hello world" in console
LEEHANDS
2020. 12. 14. 12:11
반응형
1. Qdebug
Qdebug 를 사용한 콘솔 문자열 출력
#include <QDebug>
int main(void)
{
qDebug("Namhun QDEBUG");
return 0;
}
2. iostream
iostream 을 사용한 콘솔 문자열 출력
#include <iostream>
int main(void)
{
std::cout << "\nHellow workd of craft (iostream)\n";
return 0;
}
반응형