1304 questions
#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...
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>...
#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...
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...
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...
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...
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?
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;...
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...
« | - 72 - | » |
© 2024 OneMinuteCode. All rights reserved.