c tag

1304 questions


3 answers
357 views
0
be stuck in the loop

We are working on the following issues, and we are working on loading files without sorting them once.Creating Calculator Applications Create an application that meets the following features: 画面Please...

c
1 years ago

2 answers
344 views
0
C question argv using Unix

I'll make a.out using gccFor example, if you enter a.out 10 xyz,After dynamically assigning 10, you want to save the xyz value in argv.After the print is over, if you do the free style, munmap_chunk()...

1 years ago

1 answers
225 views
0
Understanding the Output of C Language to Compilation

For the following issues, an exception has been thrown, and the compilation is not outputting.Could someone please tell me the corrections?Receive parameters from the console and sort logs in ascendin...

c
1 years ago

1 answers
354 views
0
OpenGL files in C language cannot be compiled.

I got a mysterious error.It happens every time with GlutMainLoop.Could you tell me the solution here?y); | ^~~~~~~~~~~~~~~opengltest.c:11:2:warning:implicit declaration of function 'glutMainLoop' [-Wi...

1 years ago

1 answers
264 views
0
About Break in C Language

I'm trying to set up a program that ends when no is entered in the code below, but it doesn't stop and it loops indefinitely.Where should I correct it?#include<stdio.h># include <time.h>in...

c
1 years ago

1 answers
241 views
0
Understanding the Date Output in C Language

I am currently working on the following issues in C language, but could someone please tell me how to correct the output to the log file in a different format from the example, and the fact that only ...

c
1 years ago

2 answers
331 views
0
Understanding C Language String Sorting

In C language, enter ASC in ascending orderI'm trying to create a descending program after entering DESC, but could someone please tell me the wrong part because the descending order doesn't work bett...

c
1 years ago

1 answers
214 views
0
About sorting C language strings

Regarding the problem below, I was able to print the file, but I didn't know how to sort it out, so I got stuck.Could someone please tell me?#include<stdio.h>void main(){ inti,n; intsin[9][6]; F...

c
1 years ago

1 answers
339 views
0
Understanding Qsort in C Language

I have a question about C language.In the qsort assignment, I submitted the following code:printf(a order:);scanf(%c, & ad);qsort(sin,9,sizeof(int), ad=='a'?cmp_u:cmp_d);'a'?cmp_u:cmp_d); I was to...

c
1 years ago

3 answers
353 views
0
I want to clean the initialization of std::map (continued)

19 hours ago19 hours agoI want to clean up the initialization of std::maphas been closed and Continued questions has been deleted, so I will preserve them.It's up to you to think that a pretty code is...

« - 4 - »

© 2024 OneMinuteCode. All rights reserved.