kk thanks
Type: Posts; User: sandbucket
kk thanks
does memory reserved by malloc() get freed when the function it is called in finishes?
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?...
#include <stdio.h>
int main()
{
int multid[5][5];
int **multip;
multip = multid;
printf("%d", multip[1][1]);
idk if that is 100% right. i i dont want to sully my name on this forum right once i first join.
ohh true macros thanks alot bud :)
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...
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...