C++ 에서 문법적으로는 다음의 두가지 주석이 있습니다. 1. // 2. /* */ 위치적으로는 다음과 같이 분류할 수도 있습니다. 1. 파일 주석 파일의 선두에 위치하며, 파일에 포함된 클래스, 함수에 대한 간략한 목적과 개발 히스토리, 작성자 정보등이 기재됩니다. 2. 클래스 주석 클래스 선언 선두에 위치하며, 클래스의 목적, 설계 철학과 사용방법등이 기재됩니다. 클래스를 사용하는데 있어서의 가정과 주의사항도 들어가면 좋습니다. 3. 함수 주석 함수 선언 또는 정의의 선두에 위치하며, 함수의 목적, 설계 철학, 인자 정보, 리턴 정보, 예외 정보와 사용방법, 가정등이 기재됩니다. 또는 문서화 유틸리티를 위한 메타 주석이 포함될 수 있고, 함수가 전역변수에 미치는 영향, 알고리즘의 출처등을 적을 수도 ..
hash.c /* Hash tables. Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GNU Wget. GNU Wget is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. GNU Wget i..
list.c #include #include #include "list.h" static int nodata; /* if data points to this, then the element was actually deleted */ t_list * list_create(void) { t_list * list; if (!(list = malloc(sizeof(t_list)))) { return 0; } list->head = 0; list->tail = 0; list->len = 0; return list; } int list_destroy(t_list * list) { if (!list) { return -1; } list_purge(list); if (list->head) { //eventlog(eve..
- Total
- Today
- Yesterday
- 소설네트워크3
- 리눅스 커널 2.6
- Developing on AWS
- 숭실대
- 커널의 기본 기능
- jaeseokyoon
- watchface
- Jake Yoon
- 서버개발자
- 리눅스 커널 2.6 구조와 원리
- jakeyoon
- 윤재석
- 안드로이드폰
- gdgssu
- AndroidWear
- 소설네트워크2
- 리눅스
- GDG SSU
- 해커톤
- Linux
- yjaeseok
- 핸즈온머신러닝
- google developer group
- 안드로이드웨어
- WatchFaceHack
- 안드로이드
- 리눅스2.6
- gdg watchfacehack
- GDG
- 창조경제혁신센터
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |