Search:

Type: Posts; User: sandbucket

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,015

    kk thanks

    kk thanks
  2. Replies
    6
    Views
    1,015

    malloc memory freed when function exits?

    does memory reserved by malloc() get freed when the function it is called in finishes?
  3. Replies
    1
    Views
    641

    linking to opengl library

    im running ubuntu and have tried adding -1GL to the end of my gcc compiling commands but the error says "unrecognized commandline option: 1GL". do i have to install any packages to get this to work?...
  4. remove warning message multi dimensional pointers

    #include <stdio.h>

    int main()
    {
    int multid[5][5];
    int **multip;

    multip = multid;

    printf("%d", multip[1][1]);
  5. Replies
    11
    Views
    3,442

    reply

    idk if that is 100% right. i i dont want to sully my name on this forum right once i first join.
  6. Replies
    11
    Views
    3,442

    ohh true macros thanks alot bud :)

    ohh true macros thanks alot bud :)
  7. Replies
    11
    Views
    3,442

    error message

    gcc -Wall -o "1" "1.c" -std=c99 (in directory: /home/sandbucket/C/chapter 15)
    1.c: In function ‘bintoint’:
    1.c:14:28: warning: unused variable ‘temp’ [-Wunused-variable]
    /tmp/cczXWO9g.o: In...
  8. Replies
    11
    Views
    3,442

    pow in non main function.

    i cant get the pow() function in math.h to work in a function other than main. heres my code

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

    int...
Results 1 to 8 of 8