char
Convert double value to a char array in C
How do I convert double value to a char array in C? double a=2.132开发者_Go百科; char arr[8]; Is there any way to do this in standard C? Can anyone give any solution?If you are about to store the d[详细]
2023-04-05 12:09 分类:问答Char to Int conversion in c
How can I convert a char to Int? This is what I have done so far. Thanks scanf(\"%s\", str ); printf(\"str: %s\\n\", str);[详细]
2023-04-05 10:56 分类:问答Compare two values of char array
I am programming in C and I have a character array filled with letters/numbers. I want to compare the first two values together as one number or combo.[详细]
2023-04-05 09:09 分类:问答Array changing first value without explicitly modifying it when calling fscanf
I am reading a value from std in and storing it in an array min[3] and later on proceed to make an array comparison. Somin is never touched before the comparison.[详细]
2023-04-05 09:02 分类:问答Converting struct into a char
I have a problem where I need to convert a the name of a struct variable into a char. For example: struct CARINFO a;[详细]
2023-04-04 22:54 分类:问答exctracting a list of simple shapes from an image-like data grid [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post.[详细]
2023-04-04 14:56 分类:问答Reading from Data doesn't work, but why?
well, i\'ve struggeling with this problem for hours. but for some reasons i can\'t find the damn mitstake. I really hope that u can finally help me.[详细]
2023-04-04 08:07 分类:问答How to convert a string to char[] [duplicate]
This question already has answers here: Closed 11 years ago. 开发者_开发知识库 Possible Duplicate:[详细]
2023-04-04 06:11 分类:问答Function returns char *
Is it correct to write a function that returns开发者_StackOverflow中文版 char *? Something like this:[详细]
2023-04-04 06:05 分类:问答How do I save string tokens to char variables?
I have a string which has been sent using udp. Now I want to read the string, tokenize it and save it to an char array. Only the first letter of each word is saved. So I just get 5 \'e\'s from element[详细]
2023-04-03 05:50 分类:问答