Programming - cpueblo.com

VCL 의 String 처럼 써보쟈..


글쓴이 : 유광희 날짜 : 2002-05-13 (월) 16:38 조회 : 15887

// test_app1.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include 
#include 

    using namespace std;


int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{
        // TODO: Place code here.
        string a;

        a = "하하하";
        a += "히히히";
        printf(a.c_str());
        return 0;

        c_str()
}