Contents

Develop
2003.04.23 10:54

[c] 신기한 atoi함수(www.game79.net)

Views 7294 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
#include <stdio.h>

int myatoi(char *str){
        int result=0;
        int i=0;

        while( str[i] ){
                result = result*10 + str[i] - '0';
                i++;
        }

        return  result;
}

void main(){
        char num[10]="1234";

        printf("%d",myatoi(num));
}


?

  1. [c] 단기과정[01/08] 과제.. 파스칼 삼각형

  2. [c] 신기한 atoi함수(www.game79.net)

  3. [php] 논문 관리 프로그램.. ㅋㅋ

  4. [c++] mfc로 만든 부엌 수납 시스템(2D기반 설계)

  5. [c] 패킷정보출력(경로, 패킷길이, 3hand, sync, ack..)

  6. [chm] Programming Applications for Microsoft Windows

  7. [c] 무선 Radius Server 자료..

  8. [linux] crond 사용법.. ㅋㅋ

  9. [c++] mfc로 만든 인테리어 수납 시스템(2D기반 설계)

  10. [c] 단기과정[01/08] 배열, 포인터

  11. [php] 웹 터미널 & 업로드 소스..

  12. [html] 메타태그 사용예.. 은지나 바라~

Board Pagination Prev 1 ... 37 38 39 40 41 42 43 44 45 46 ... 71 Next
/ 71