c tag

1301 questions


1 answers
250 views
0
Java Object Declaration Error Question!

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...

4 days ago

1 answers
177 views
0
#define constant declaration

For example, is it wrong to write #defineTAX0.5f like this?

c
1 weeks ago

1 answers
340 views
0
Memory layouts learned in theory don't work out as expected when actually printed as addresses.

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...

c
3 weeks ago

1 answers
225 views
0
I have been thinking about the cpp "char" 1byte send/receive code for a month.crying

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...

c c++
4 weeks ago

1 answers
226 views
0
I want to get the number of elements from the pointer in the array.

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){...

c
4 weeks ago

1 answers
268 views
0
Why do you need to put decimal point in the c language to get the result?

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); // <<...

c
4 weeks ago

1 answers
218 views
0
I have a question about c language coding.

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 months ago

1 answers
245 views
0
Logistic regression

The logistic regression definition is The name is regression, but it's actually a classification model, and I've created an example in a situation where predicting a classification is understood.Becau...


2 answers
314 views
0
When a variable declaration is made, a numerical value is substituted from the beginning.

I'm a beginner in programming.First, we set up a program in c language that outputs the maximum, minimum, average, most frequent, and total values by entering the number of elements one by one, but af...

c
1 months ago

1 answers
217 views
0
What is the problem with level 0 of the c language coding test?

I want to find out one by one while solving the programmer's coding test problem by taking a log point in the visual studio, but I tried solving the programmer's problem without the main door using th...

c
1 months ago
- 1 - »

© 2023 OneMinuteCode. All rights reserved.