Search:

Type: Posts; User: Degenko

Search: Search took 0.01 seconds.

  1. Passing argc and argv from main to other functions

    Currently, i'm stuck on this code:



    #include <stdio.h>
    #include <stdlib.h>

    int test(int ArgNum, char *ArgList[]) {
    return 0;
    }
  2. Thanks

    Thanks
  3. Question about connecting strings and nul character

    There's a string with four numbers and a \0 sign, which's making it needing array size of 5:


    char string[5] = "1234";


    Now, i want to connect three of these strings with sprintf:

    ...
  4. Replies
    4
    Views
    1,970

    Thanks, repaired and working.

    Thanks, repaired and working.
  5. Replies
    4
    Views
    1,970

    Here is the code: #include ...

    Here is the code:



    #include <stdio.h>
    #include <stdlib.h>

    int main()
    {
  6. Replies
    4
    Views
    1,970

    ASCII code goes into minus

    i want to read a binary file character by character and want to get ASCII code for each of these characters. but when i display the ASCII code, most of the values are in minus. is there any way to...
Results 1 to 6 of 6