블로그
- 명품 C++ programming Chapter 06 실습문제 8번 Colored By Color Scripter™#include #include #include #include using namespace std; const string DEFAULT
- 열혈 C++ chapter 2 - 6 StdCPPFunc.cpp 1234567891011121314151617#include #include #include #include using namespace std; int
- 문제 2 - 1, 2 - 2 문제 1 12345678910111213141516171819202122232425262728293031#include using namespace std; int add(int & num;} Colored by Color Scriptercs 문제 2 12345678910111213141516171819202122232425262728293031#include using
- 문제 2 - 3 12345678910111213141516171819202122232425262728293031323334353637#include using namespace std; typedef
- 열혈 C++ chapter 2 - 2 새로운 자료형 bool TrueAndFalse.cpp 123456789101112131415161718192021222324252627#include using namespace std; int main(
- [C/C++] wcout 유니코드 출력 ( std::locale( "kor" ) ); // 이것을 추가하면 된다. std::wcin.imbue( std::locale( "kor" ) ); // cin은 이것을 추가#include using namespace std;int wmain ( int argc, wchar_t *argv[] ){ std::wcout.imbue( std::locale( "kor" )
- [C++] 3.변수와 상수에 대해 알아 보자! 요즘 계속 C++ 강좌를 쓰고 있는데요, 댓글도 하나도 없고ㅠㅠ 아무도 안보는거 같은 기분이랄까< using namespace std; int main() { int kor,
- [C++][구조체][Struct] 구조체 포인터를 사용한 예시 -> 애로우 연산자 str->멤버 (1) #include using namespace std; struct Rectangle{ int x,y,width,height; } namespace std; struct Dizzy{ int id; Dizzy*.......
- [구조체][C++][배열]구조체 배열/포인터/함수 사용하기 #include #include using namespace std; struct Address{ string name; string phone; string address; };
- ifostream, ofstream 파일 입출력. 파일 읽기 - ifstream 형식 : ifstream 객체명("파일명"); 예제 코드 #include #include using namespace std; int main() 파일에 출력 - ofstream 형식 : ofstream 객체명("파일명"); 예제코드 #include #include using namespace std; int main()