有用的类型转换函数

    技术2026-04-03  1

    char buf[30]; long n;

    int i;

    1. sprintf(buf, "%d", i);

    2. n = atol(buf);

     

    最新回复(0)