c
Why does gcc hate my simple makefile?
I have the following makefile that gcc doesn\'t like: blah.exe:lex.yy.o gcc –o blah.exe lex.yy.o lex.yy.o:lex.yy.c[详细]
2023-04-13 08:04 分类:问答Advantages/disadvantages of combining C# and C [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this po[详细]
2023-04-13 08:03 分类:问答concatenate char with int
I have to concatenate char with int. Here\'s my code: int count = 100; char* name = NULL; sprintf((char *)name, \"test_%d\", count);[详细]
2023-04-13 07:56 分类:问答Free Memory in C (Can't fix memory leak)
EDIT: I have changed my program according to suggestions people have made but I am unable to fix memory leaks. Also, I need to free them without using argc, so i need to somehow keep track of the arra[详细]
2023-04-13 07:43 分类:问答JNI: jstring make the app crash on android
I\'m getting started with Android-NDK. So here we are, with a problem. This 开发者_运维百科is the C file:[详细]
2023-04-13 07:34 分类:问答how to use #define to access struct members in c
I have following 开发者_Go百科struct defination: typedef union U08_16_t { unsigned long s32;//message32[详细]
2023-04-13 07:26 分类:问答How to read blank lines using %[^\n]s?
I am having a program where fscanf(fp,\"%[^\\n]s\",line); is used for reading a line. If I put in a while loop,[详细]
2023-04-13 07:24 分类:问答In embedded application why c is most poppular? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-04-13 07:23 分类:问答Selection sort logic error
I am using the selection sort to sort a list of names from a cricket team. The sort works after first repeating a name 3 times which eliminates two other names from the array I am sorting.[详细]
2023-04-13 07:22 分类:问答Valgrind error: invalid write of size 4 (but says error is in free() )
First, here is the message valgrind gives me (this is just one error, I get the same message several times)[详细]
2023-04-13 06:56 分类:问答