c tag

1275 questions


1 answers
333 views
0
I want to console every time I receive it on a UDP socket.

Creating UDP sockets in C++.The current one is that the server stores messages in a buffer and displays them all together. I'd like to display them on the console every time I receive them for debuggi...

1 weeks ago

3 answers
300 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
2 weeks ago

2 answers
244 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()...

2 weeks ago

1 answers
170 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
2 weeks ago

1 answers
223 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...

2 weeks ago

1 answers
204 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
3 weeks ago

1 answers
184 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
3 weeks ago

2 answers
283 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
3 weeks ago

1 answers
164 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
3 weeks ago

1 answers
290 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
3 weeks ago
- 1 - »

© 2022 OneMinuteCode. All rights reserved.