Search:

Type: Posts; User: miroslavgojic

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,450

    I know that a[0] is first element of array I...

    I know that a[0] is first element of array

    I have need for something like this:


    a[5] = {9,9,9,9,9,9}
    +
    b[5] = {8,8,8,8,8,8}
    =
    c[5+1] = {1,8,8,8,8,8,7}
  2. Replies
    6
    Views
    1,450

    Change array length

    On beginning I define two arrays

    a[5];
    b[5];

    after this I need next array C

    c[5];

    but when I have c[5] = a[5] + b[5]
  3. Replies
    9
    Views
    2,879

    #include #include #include...

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


    main(void)
    {

    int a;
    a=5;
  4. If I use %p instead of %d I get my address but...

    If I use %p instead of %d I get my address

    but

    How this work on Windows with %d and on Linux no accept %d

    my address have format: 0xbfe2ea54
    this is hexadecimal

    can I use than %x or %X
  5. ADD to orginal post I have gcc --version ...

    ADD to orginal post

    I have gcc --version

    gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 ....

    I tray to use %f, and %lo but errors are not resolved
    What to use insted %d

    sizeof(int) = 4
  6. Problem uder LINUX (gcc) and same code work at Windows (DevC++)

    I have this code:




    #include <stdio.h>

    main()
    {
Results 1 to 6 of 6