c++ 도와주세용 (슈퍼 기초)

정시윤@Google의 이미지

#include <iostream>
#include <Windows.h>
#include "pch.h"
 
using namespace std;
 
float winrate(int select) {
 
    // 여기서 main 함수에서 나오는 winrate 정의 할거에요.
}
 
int main(int agrc, char const* argv) {
 
	while (1) {
 
		float winrate;
		char sel1, sel2;
 
		cout << "A B C 중 두 팀을 입력 하세요. ( ex) A B ) : ";
		cin >> sel1 >> sel2;
 
		switch (sel1) {
 
		case 'A' :
 
			if (sel2 == 'A') {
 
				cout << "서로 다른 두 팀을 입력 해주세요.";
				continue;
			}
 
			else if (sel2 == 'B') {
 
				if (winrate > 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate < 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate = 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 14);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
			}
 
			else if (sel2 == 'C') {
 
				if (winrate > 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate < 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate = 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 14);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
			}
 
		case 'B' :
 
			if (sel2 == 'A') {
 
				if (winrate > 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate < 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate = 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 14);
					cout << "A팀의 승리 확률은 " << winrate << "% 입니다.";
				}
			}
 
			else if (sel2 == 'B') {
 
				cout << "서로 다른 두 팀을 입력 해주세요.";
				continue;
			}
 
			else if (sel2 == 'C') {
 
				if (winrate > 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11);
					cout << "B팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate < 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
					cout << "B팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate = 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 14);
					cout << "B팀의 승리 확률은 " << winrate << "% 입니다.";
				}
			}
 
		case 'C' :
 
			if (sel2 == 'A') {
 
				if (winrate > 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11);
					cout << "C팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate < 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
					cout << "C팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate = 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 14);
					cout << "C팀의 승리 확률은 " << winrate << "% 입니다.";
				}
			}
 
			else if (sel2 == 'B') {
 
				if (winrate > 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 11);
					cout << "C팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate < 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
					cout << "C팀의 승리 확률은 " << winrate << "% 입니다.";
				}
 
				else if (winrate = 50) {
 
					SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 14);
					cout << "C팀의 승리 확률은 " << winrate << "% 입니다.";
				}
			}
 
			else if (sel2 == 'C') {
 
					cout << "서로 다른 두 팀을 입력 해주세요.";
					continue;
			}
		}
	}
}

이런 코드를 짜봤는데...
1>------ 빌드 시작: 프로젝트: 융합 연구, 구성: Debug Win32 ------
1>융합 연구.cpp
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(19): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(20): error C2065: 'cin': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(28): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(36): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(36): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(36): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(37): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(42): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(42): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(42): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(43): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(48): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(48): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(48): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(49): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(57): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(57): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(57): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(58): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(63): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(63): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(63): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(64): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(69): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(69): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(69): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(70): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(80): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(80): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(80): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(81): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(86): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(86): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(86): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(87): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(92): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(92): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(92): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(93): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(99): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(107): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(107): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(107): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(108): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(113): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(113): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(113): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(114): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(119): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(119): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(119): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(120): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(130): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(130): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(130): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(131): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(136): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(136): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(136): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(137): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(142): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(142): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(142): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(143): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(151): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(151): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(151): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(152): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(157): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(157): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(157): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(158): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(163): error C2065: 'STD_OUTPUT_HANDLE': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(163): error C3861: 'GetStdHandle': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(163): error C3861: 'SetConsoleTextAttribute': 식별자를 찾을 수 없습니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(164): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>c:\users\asesd\documents\폴수학학교\융합 연구\융합 연구\융합 연구\융합 연구.cpp(170): error C2065: 'cout': 선언되지 않은 식별자입니다.
1>"융합 연구.vcxproj" 프로젝트를 빌드했습니다. - 실패
========== 빌드: 성공 0, 실패 1, 최신 0, 생략 0 ==========

이렇게 뜨네요.. 핵초보라서 좀 도와주세요 ㅠ

익명 사용자의 이미지

대충 봐도 문제가 한두 가지가 아닌데요.

1. 초기화 없이 쓰이고 있는데다가 동명의 함수를 가리는 지역변수 winrate
2. 절대 실패하지 않는 if문: if (winrate = 50)
3. switchcase별로 break가 없음

등등.

근데 그거하고 지금 뜨고 있는 컴파일러 메시지하고는 관련이 없어보이는데, 왜 cout, cin조차 식별을 못하고 있는지는 저도 모르겠습니다. #include <iostream>도 했고 using namespace std;도 있는데 말이죠.

아마 뭔가 이상한 방식으로 빌드 환경이 꼬인 것 같습니다. 전혀 엉뚱한 소스를 컴파일하고 있다거나 등등. 가능한 경우의 수가 너무 많아서 감도 못 잡겠네요.

정시윤@Google의 이미지

winrate는
winrate = winrate(변수)
식으로해서 함수 불러오기 용으로 쓰일거라 초기화는 안해두 될거 같구요,
2번은 무슨소리인지 모르겠네요.
3번은 고칠게요 감사합니당

세벌의 이미지

2번은
C 언어 초보가 많이들 실수하는 부분입니다.
= 는 대입 연산자
== 는 비교연산자입니다.

a = b

라고 쓰면 a와 b가 같은지 비교하는 게 아니라 b 값을 a에 넣게 됩니다.
else if (winrate = 50) {

는 winrate와 50이 같은지 비교하는 게 아니라, winrate에 50을 넣는다고요. C에서 0아닌 값은 항상 참으로 인식하는 것도 참고하셔요.
익명 사용자의 이미지

1번은 음... -_-; 꼭 그렇게 하고 싶으시다면 그렇게 하세요.
지역변수가 함수 이름과 겹치더라도 꼭 문제가 생긴다는 것은 아니고 조심해서 쓰면 되기는 됩니다.
언젠가는 초기화를 하실 거라면 제가 더 신경쓸 문제는 아닌 것 같고요.

2번 if (winrate = 50)는 C언어 초보자라면 누구나 반드시라고 해도 좋을 만큼 한 번은 저지를 실수입니다만, 만약 주의깊게 살펴봤는데도 뭐가 문제인지 모르겠다면 더 이상 실수라고 부를 수 없죠.

기초 공부가 더 필요할 겁니다. 갖고 계신 C언어 교본에서 숫자들을 비교할 때 어떻게 하는지 다시 살펴보세요.

정시윤@Google의 이미지

많은 도움이 되었네요! 감사합니다 ㅎㅎ

세벌의 이미지

일단 리눅스는 아니고 윈도인거 같고, C 아니고, C++ 인 거 같네요.
컴파일 할때 에러 뿐 아니라 경고 메시지도 보이게 해 보셔요.

shint의 이미지

https://www.goorm.io/

Windows32 어플리케이션
main.c

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.