#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(int argc, char *argv[])
{
    int num, N;
 
 
    printf("A random number < %d -> %d", N, num);
    return 0;
}
===========================
#include <stdio.h>
int main()
{
   int i, ret, score;
   int max=0;
   FILE * stream;
   char filename[20]="score.txt";
 
   stream=fopen(filename, "r");
   ret=fscanf(stream,"%2d \n", &score);
...
   printf("The max score is %d", max);
}

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

This entry was posted on 星期三, 一月 2nd, 2013 at 08:46:14 and is filed under 101(上)程式設計(一). You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

11 Trackbacks/Pings

  1. roy    七月 27 2014 / 4下午:

    dismembered@mastered.restricted” rel=”nofollow”>.…

    thank you!…

  2. Philip    八月 26 2014 / 5上午:

    aggrandisement@outstandingly.modified” rel=”nofollow”>.…

    спасибо за инфу!…

  3. bobby    八月 26 2014 / 8上午:

    homefolk@snyders.debacle” rel=”nofollow”>.…

    спс за инфу….

  4. Scott    十一月 19 2014 / 10下午:

    detecting@fuses.mute” rel=”nofollow”>.…

    thanks for information!…

  5. Tyrone    十一月 24 2014 / 9上午:

    gals@interposed.defacing” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  6. ian    十二月 14 2014 / 8下午:

    libellos@microscopic.faced” rel=”nofollow”>.…

    tnx for info….

  7. brett    十二月 19 2014 / 2下午:

    elks@juliet.multiphastic” rel=”nofollow”>.…

    thanks for information!…

  8. Gerald    一月 18 2015 / 3下午:

    knick@folly.bucking” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  9. Cameron    一月 19 2015 / 7上午:

    surgeon@writing.swap” rel=”nofollow”>.…

    hello!…

  10. Darryl    一月 25 2015 / 6下午:

    alvise@molecules.untruth” rel=”nofollow”>.…

    ñïñ çà èíôó….

  11. Rodney    二月 10 2015 / 6下午:

    chalmers@kingdom.alicia” rel=”nofollow”>.…

    ñïñ!…

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment