c tag

1304 questions


1 answers
97 views
0
I have a question about the C language queue. (enqueue

#include <stdio.h>#include <stdlib.h>#include <string.h>#define MAX_SIZE 100#define DataType chartypedef struct ArrayQueue { int front; int rear; DataType queue[MAX_SIZE];} } ArrayQu...

2 years ago

1 answers
89 views
0
I'm asking you about "meaningful structuring."

Teacher Yamoo! In Mission 1-6, I wrote the following part code for the waiting room and accommodation.<div> <p> <span class=bold-text>Daesil</span> <span class=color-grey>...


2 answers
45 views
0
[Basic] I have a question about the C language structure pointer.

#include <stdio.h>#include <malloc.h>typedef struct Point2D { int inint; char inchar[10];};void structinput(struct Point2D *p, int su) { int count = 1; for (int i = 0; i < su; i++) { p...

2 years ago

1 answers
31 views
0
I made a notepad, but there's nothing written on it

Hello, I'm a beginner in C language.#include <stdio.h>int main(void){ int i = 0; char name[1001]; printf (What is your name? : ); gets(name); FILE *file = NULL; file = fopen(your_name.txt, w); i...

c
2 years ago

1 answers
27 views
0
I have a question about language!

An attempt was made to remove blank characters within the str string defined in the main function and output them.Through the erase_blanks function.At this time, the temp variable is defined in the er...

c
2 years ago

1 answers
104 views
0
c. I have a question to read the language notebook data

I'm asking you a question because there's something I'm not familiar with while reading the data in the notepad.In the notepad, the number of vertices and (x,y,z) coordinates of vertices, the number o...

2 years ago

1 answers
30 views
0
Visual studio version

I use visual studio 2010 or 2015 when I learn C language at schoolYou said it doesn't matter if I use 2017 Is it good to use 2017 when practicing coding alone? Or doesn't it matter?

c
2 years ago

2 answers
30 views
0
Please explain why the output is like this

int main(){ FILE *fp; char str[20];fp = fopen(a.txt, a+);if (fp == NULL){ printf(Failed to create file.\n); return 1;}while (1){ printf (Fruit name: ); scanf(%s, str); if(strcmp(str,end)==0) { break;...

c
2 years ago

1 answers
84 views
0
visual studio

2 years ago

3 answers
33 views
0
It's a question about the if statement

Code is Java, but not limited to Java. The code below is to create a class in a single tone pattern. public class Company { Create constructor with privateCompany(){}; //private private static Company...

2 years ago
« - 72 - »

© 2024 OneMinuteCode. All rights reserved.