1304 questions
#include <stdio.h>#define MAX(a,b) ((a>b) ? a : b)#define MAX_DEGREE 101typedef struct { int degree; int coef[MAX_DEGREE];} } polynomial;polynomial poly_add(polynomial A, polynomial B) { poly...
I have to print out the diamond as it is on that red square screen, but I can't find a solution. I don't know how to organize the code, so I ask. Please also upload the pictures on the screen. https:/...
I would like to obtain the minimum value, maximum value, sum, mean, variance, and standard deviation of the array in the source.c file from BigArray.c and forward it to source.c.I understand that you ...
Hello, I'm asking you a question because I'm stuck in an object declaration error while studying Java!#Box.javapublic class Box { int width=0; int height=0; public void printSize() { System.out.print...
For example, is it wrong to write #defineTAX0.5f like this?
Executing the code below resulted in the following results:As a basic memory layout, if you declare the main function or func function as below and output the address, it will be placed in the stack a...
Hello, I'm a beginner at Cpp.The code at the bottom is the example code that I referred to. The first code is the code that I modified.참고한 git는 https://github.com/gbmhunter/CppLinuxSerial 입니다.'#define...
If you receive a pointer pointing to the beginning of a char array as an argument as follows, I would like to know the number of elements of the char array using string_ptr.void hoge(char*string_ptr){...
Hello. I have a question about c language coding.#include <stdio.h>int main(void){ double c, f; printf(Enter a Fahrenheit value: ); scanf_s(%lf, &f); c = 5.0 / 9.0 * (f - 32.0); // <<...
Hello. I have a question about c language coding.```#include int main(void){ double c, f;printf(Enter a Fahrenheit value: );scanf_s(%lf, &f);*c = 5.0 / 9.0 * (f - 32.0);*printf(C value is %lf degr...
- 1 - | » |
© 2024 OneMinuteCode. All rights reserved.