c언어(98)
-
printf()-확장 특수 출력 문자(escape sequence)
확장 특수 출력 문자(escape sequence) 문자열안에서 특별한 의미로 해석되는 문자를 가리켜 '이스케이프시퀀스'라고 합니다. 종류의미'\a'경고음 출력'\n'줄 바꿈, 개행(new line)'\t'수평 탭으로 일정한 간격 띄우기 탭(tab)'\b'백스페이스로 뒤로 한 칸 이동 backspace'\r'동일한 줄의 맨 앞 칸으로 커서 이동 carriage return'\f'출력 용지를 한 페이지 넘김 form feed(폼 피드)'\\'\(역슬래시)문자 출력'\''' (작은 따옴표)문자 출력 single quote'\"'" (큰 따옴표)문자 출력 double quote'\0'널문자 출력 null
-
HelloWorld.c
Hello World! 출력 강의내용 Hello World! 출력 소스코드파일 구조 소스파일 구조 주석부분/* ============================ Name : HelloWorld.c Author : codedragon Version : 1.0 Copyright : Your copyright notice Description : Hello World in C, Ansi-style ============================ */전처리기와 헤더파일부분#includemain( )함수부분int main(void) { printf("Hello World \n"); return 0; } 주석부분 http://codedragon.tistory.com/698 전처기와 헤더파일 부분 #includ..
-
Eclipse Error-The program file specified in the launch configuration does not exist filename.exe not found (C programming)
오류메시지 The program file specified in the launch configuration does not exist filename.exe not found 방법 1 Ctrl + F11을 눌러 한번 더 Run 수행 방법 2 프로젝트 선택 > 마우스 우클릭 > Build Project Ctrl + F11을 눌러 수행
-
Eclipse Error-cannot open output file filename.exe: Permission denied C/C++ Problem (C programming)
에러 메시지 Description Resource Path Location Type cannot open output file ch11-stream.exe: Permission denied ch11-stream C/C++ Problem 원인 build를 연속해서 수행할 경우 발생할 수 있습니다. 해결방법 작업 관리자 실행 해당 프로세스가 실행 중이여서 Permission 실패가 일어났습니다. 프로세스 선택 > 마우스 우클릭 > 작업 끝내기로 해당 프로세스 모두 종료
-
Eclipse Error-Error exist in a required project. Continue launch? (C programming)
원인 키보드로 입력받는 코드가 있을 때 아래와 같이 오류 메시지가 발생 오류메시지 Error exist in a required project. Continue launch? 해결방법 작업관리자 실행 후 해당 exe 파일의 프로세스를 강제 종료시킵니다.
-
ANCI C Reference, 레퍼런스, 참조문서
Reference에서 확인할 사항 함수 의미/구조헤더 함수 입력/출력 형태 성공시 리턴값/ 실패시 리턴값 The C Library Reference Guide ANSI C에 정의된 다양한 표준 함수 참조 가이드 http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ The C Library Reference Guide 직접 다운받기