Search:

Type: Posts; User: jonathanrs

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    4,595

    sorry

    main()
    {
    char var[8]="abcdefgh";

    if(strcmp(var,"abcdefgh")==1){printf("true\n");
    system("pause");
    }else{printf("false\n");system("pause");}

    }
  2. Replies
    8
    Views
    4,595

    thanks

    sorry people! something really weird happened to this computer while trying to compile this code, or it just didn't want to follow my commands. =P

    i'd tried everything and this:


    ...
  3. Replies
    8
    Views
    4,595

    a little help!

    i'm new to programming and i was trying to compile this code:

    usage: as.exe value1 value2 value3


    if(argv[2]=="x"){
    printf("worked\n");
    }else{printf("not worked\n");}
Results 1 to 3 of 3