#include <iostream>#include<string>using namespace std;main() { string a = "hello world"; cout << a;}이거 왜 컴파일오류 나는거에요??
main에 타입이 없어서?
어떻게 고쳐야해요??
앗 main 앞에 int 붙이니까 되네요
int main()