카테고리 없음
copy constructor - why const class & format?
Su, Roh
2018. 2. 3. 22:56
#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;
void PrintString(const string &str)
{
cout << str << endl;
return;
}
int main()
{
PrintString("String");
return 0;
}