Search:

Type: Posts; User: stormtrooper86

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    3,836

    you could have used command line parameters to...

    you could have used command line parameters to create a calculator, it might make the code much simpler
  2. Replies
    11
    Views
    3,338

    Yes, argc and argv are only used as parameters of...

    Yes, argc and argv are only used as parameters of main and sent to the program via the command line, which is pretty cool when working in a DOS-based environment. So, when you type the following in...
  3. Replies
    1
    Views
    829

    can anybody explain this code

    #include <stdio.h>
    main()
    {
    ----------int i;
    ----------scanf("%d", &i);
    ----------printf("%d%d", i&~0x33, (i>>2)&033);
    }


    How does this work. For example, if 66 is entered, it writes...
Results 1 to 3 of 3