else
-
[컴파일 에러] error C2371else/error 2019. 2. 11. 16:08
IDE: Visual studio 2017language: C++에러난 지점 : struct TagPoint { int x; int y; }; typedef TagPoint POINT; typedef TagPoint* _POINT; Error error C2371: 'POINT': 재정의. 기본 형식이 다릅니다. 오류 해결법 C2371에러는 오류 메시지와 같이 redefinition일때 발생한다. 나의 경우는 구조체 포인터의 POINT부분에서 에러가 났는데 POINT STRUCTURE 를 클릭해서 읽어보면 알 수 있듯이 windows.h헤더파일에 포함되어있는 구조체 포인터의 이름과 선언한 구조체 포인터 변수의 이름이 같아 문제가 생긴 것 이다. - C2371에러의 경우 오류목록 하단의 메세지를 클릭하면 ..
-
[컴파일 에러] Error C2664else/error 2018. 12. 30. 15:20
IDE: Visual studio 2017language: C++에러난 지점 : void setStage(char Maze[21][21], _POINT pPlayerPos, _POINT pStartPos, _POINT pEndPos) void Output(char Maze[21][21], _POINT pPlayerPos) void MoveChr(char Maze[21][21], _POINT pPlayerPos, char cinput) Error error C2664: 'void setStage(char [][34],_POINT,_POINT,_POINT)': 인수 2을(를) 'POINT *'에서 '_POINT'(으)로 변환할 수 없습니다. error C2664: 'void Output(char [][34]..
-
티스토리에 highlight.js 적용하기else/reference 2018. 11. 22. 19:52
hightlight.js 소개highlight.js는 자바 스크립트로 만들어진 Syntax Highlighter 라이브러리 입니다. 출처: http://far-go.tistory.com/admin/entry/post/preview.php [SCRIPThighlight.js는 자바 스크립트로 만들어진 Syntax Highlighter 라이브러리 입니다.현재까지 185개의 언어와 89가지 스타일을 지원하며 자동 언어 탐지, 다중 언어 구문 강조 등의 기능을 가지고 있습니다. node.js와 모든 markup 에서도 잘 작동하며 js 플랫폼과 호환됩니다. - 더 자세한 설명은 highlight.js document에서 확인 적용하는 법 1. 먼저 highlight.js 사이트에 들어갑니다. https://hi..