c tag

1304 questions


1 answers
26 views
0
"inf" was displayed at runtime

I'd like to create a program that inputs the number of data, reads the number of points of data, and displays the number of points and deviation values.The compilation was done correctly, but for some...

c
2 years ago

2 answers
44 views
0
Understanding the Presence of -0

I think -0 exists for the float type, but I don't know why.Do you use it for something or treat it as an error like inf or Nan?

c++ c
2 years ago

3 answers
29 views
0
PROGRAM FOR OUTPUTTING ISOSIDE TRIANGLE WITH RIGHT LOWER RIGHT ANGLE

Function void put_stars(int no) that prints no *Function that prints no half-width spacesvoid put_spaces(int no)Draw an isosceles triangle with a right lower right corner of height n with a * void put...

c
2 years ago

1 answers
97 views
0
How to use JDBC to join and store values in entity

I am currently learning JDBC for the first time.For example, if you run a select statement and create an entity class to store the returned values, I would like to ask you a question about how to do i...

2 years ago

1 answers
30 views
0
c6328

#include <stdio.h>int main(void){ char name[256]; printf (What's your name?); scnaf_s(%s, name, sizeof(name)); int age; printf (How old are you?); scanf_s(%d, &age); float weight; printf (We...

c
2 years ago

1 answers
143 views
0
Difference in size of ('a') in C/C++

I learned that the size of char is 1 in C/C++The result of printing('a') in C/C++ is different From C:#include <stdio.h>int main() { printf(Size of char : %d\n,sizeof(char)); return 0;}From C++:...

2 years ago

1 answers
75 views
0
What do you call an operator?

How does the next code run?It's my first time seeing it in C grammar when I think it's going well in GCC ㅜㅜWhere's that thing?What's that called?#include <stdio.h>int main(){ int x = 10; while (...


1 answers
38 views
0
Can the source running in both C and C++ produce different results?

C and C++ are different languages. Not all C-codes work in C++.ThenIs there a code that produces different results between C and C++ sources?Except for preprocessors and type limits,If it's different ...

c++ c
2 years ago

1 answers
37 views
0
Can I know the number of computer cores through the program?

Regardless of the platform, Is there a way to find out how many cores it is using C/C++ If you don't have that method,Please use it according to the platform.

2 years ago

1 answers
112 views
0
Load list of files in directory without 'ls'

I'd like to get a list of files in the directory from C/C++ls I need something other than how to write command

2 years ago
« - 57 - »

© 2024 OneMinuteCode. All rights reserved.