Chapter 2 Http netwk hannam ac kr HANNAM
- Slides: 38
Chapter 2 기초사항 Http: //netwk. hannam. ac. kr HANNAM UNIVERSITY
2. 4 입력과 출력이 있는 프로그램 Http: //netwk. hannam. ac. kr HANNAM UNIVERSITY
2. 5. 1 오류 메시지의 분석 에러가 발견된 소스 파일명 의미 return앞에 ; 를 빠뜨렸다는 Compiling. . . test. c c: ₩cprogram ₩test. c(7) : error C 2143: syntax error : missing '; ' before 'return' Error executingcl. exe. 에러가 발견된 라인의 번호 Http: //netwk. hannam. ac. kr 문법적인오류(syntax error) 가 있었음을 나타냄 HANNAM UNIVERSITY
2. 5. 2 오류 수정 과정 오류 1 /* 에러가 발생하는 프로그램 */ #include <stdio. h> int main(void) { printf("Hello World!₩n") return 0; } 문장의 끝 에 『; 』이 없음!! ----------Configuration: test - Win 32 Debug---------Compiling. . . test. c C: ₩PROJECT₩test. c(7) : error C 2143: syntax error : missing '; ' before 'return' Error executing cl. exe. test. exe - 1 error(s), 0 warning(s) Http: //netwk. hannam. ac. kr HANNAM UNIVERSITY
2. 5. 2 오류 수정 과정 오류 2 /* 에러가발생하는프로그램* / #include <stdio. h> int main(void) { printf("Hello World!₩n") return 0; } 『*』과 『/ 』이 떨어져 있음 전체가 주석 처리됨 ----------Configuration: test - Win 32 Debug---------Compiling. . . test. c c: ₩project₩test. c(9) : fatal error C 1071: unexpected end of file found in comment Error executing cl. exe. test. exe - 1 error(s), 0 warning(s) Http: //netwk. hannam. ac. kr HANNAM UNIVERSITY
2. 5. 2 오류 수정 과정 오류 3 /* 첫번째 프로그램*/ #include <stdio, h> int main(void) { print("Hello World!"); return 0; } stdio. h로 적어주어야 됨 ----------Configuration: test - Win 32 Debug---------Compiling. . . test. c c: ₩project₩test. c(2) : fatal error C 1083: Cannot open include file: 'stdio, h': No such file or directory Http: //netwk. hannam. ac. kr HANNAM UNIVERSITY
2. 5. 2 오류 수정 과정 오류 4 /* 첫번째프로그램*/ #include <stdio. h> int main(void) { print("Hello World!"); return 0; } print가 아니고 printf ----------Configuration: test - Win 32 Debug----------Compiling. . . test. c C: ₩CPROGRAM₩test. c(6) : warning C 4013: 'print' undefined; assuming extern returning int Linking. . . test. obj : error LNK 2001: unresolved external symbol _print Debug/test. exe : fatal error LNK 1120: 1 unresolved externals Error executing link. exe. test. exe - 2 error(s), 1 warning(s) Http: //netwk. hannam. ac. kr HANNAM UNIVERSITY
Qn. A Http: //netwk. hannam. ac. kr HANNAM UNIVERSITY
- Snr 공식
- Netwk
- Netwk
- Hannam mobile
- Hannam.ac.kr
- Http //mbs.meb.gov.tr/ http //www.alantercihleri.com
- Http //pelatihan tik.ung.ac.id
- Http://mbgnet.mobot.org/
- Http://www.primaryhomeworkhelp.co.uk
- Http://oh.portal.airast.org
- Http://zapatopi.net/treeoctopus/
- Http://getkahoot.com
- Http msdn
- Criterion online writing
- Http://www.caaspp.org
- Http//apps.tujuhbukit.com/covid19
- Ch rahmoune
- Universal xss
- Http://hdr.undp.org/en/data
- What is magnetic energy
- Rmw falls into which dot hazard class
- Www.goole.com tw
- [http://earthobservatory.nasa.gov/experiments/biome/]
- Magic school bus winter spring summer fall
- Http://zapatopi.net/treeoctopus/
- Http://www.pbs.org/ktca/liberty/
- Http://solarsystem.nasa.gov/planets
- Http://belarustoday.info/?sid=4
- Http //www.meb.gov.tr tercih
- Http://geosevillano.blogspot.com/p/blog-page_6.html
- Https://scratch.mit.edu/
- Lääne-siberi lauskmaa
- Answers
- Http sciencespot.net
- Http://sciencespot.net/
- T. trimpe 2006 http://sciencespot.net/
- T. trimpe 2004 http //sciencespot.net/
- Http://www.safesearchkids.com/
- Ssp esign