الوصف:
Discussion about C.
|
|
|
linked list
|
| |
hello everyone. Who can help me telling me what's wrong in the following code? ...typedef struct datum { char *name; int data; struct datum *next; ...void print(NODE *); int main(void) { NODE *head = (NODE *) malloc(sizeof(NODE)); head->name = (char *) malloc( strlen("head")); strcpy( "head", head->name);... المزيد »
|
|
restrict dodginess
|
| |
if printf takes a restrict pointer, then what happens in printf("%s", "%s"); Is the compiler obliged to have 2 copies of the string? Phil
|
|
How do we find out which object file is pulled in by the linker?
|
| |
Hi, Two object files foo_1.o and foo_2.o each have the same function a() defined and they have no other functions. foo_1.o is in a library specified prior to the library including foo_2.o The linker would pull in only foo_1.o in this case. What option can I give to gcc / ld to verify the above statement?... المزيد »
|
|
wave file data to array using libsndfile
|
| |
Hi- I'm really new to c+ (this is day two) and I'm trying to write a program that will allow me to write audio data from a wave file into two arrays for the left channel and the right channel, i've pieced together this code so far and its definitely grabbing something from the wave file however i've no idea if its writing out left or right... المزيد »
|
|
|
1 - 10 الخاص بـ 139538
« أحدث
|
أقدم »
|
|
|