struct tag

27 questions


1 answers
124 views
0
Structure variable forward declaration, prototype declaration error

I wanted to use a queue with a Problem structure variable as a type, so I declared a variable, but there was an error, so I'm uploading a question.For example, if you have a structureProblem{};I want ...


1 answers
95 views
0
cAsk questions when recalling blanked parts with language text file tabs

#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <stdlib.h>#include <string.h>typedef struct { char name[20]; int year;} } movie;int main(void){ movie hitMovie[20]; int i; F...

2 years ago

1 answers
129 views
0
Can I convert a structure string to an integer?

int main(){ void pid_sort(struct id[], int); void pid_print(struct id[], int); struct student stu[3]; int count; int i; printf (Enter 3 student information); for (i = 0; i < 3; i++) { printf (Name...

2 years ago

2 answers
80 views
0
C++ Dynamic Assignment Structure Pointer, question for use with other functions

Hi, everyone.I made a simple code. I'd like to hear advice from experts who know the problem.#include <iostream>using namespace std;int CountPlayer;struct SUTDA{ char Name[20];};void Input(){ co...


2 answers
62 views
0
The difference between C and C++ for (memory allocation for structures)

Hello, I'm a reserve who just got discharged from the military while preparing to return to school for the second semester of the second year of computer engineering.I was curious while looking at the...

2 years ago

1 answers
136 views
0
Question during complex number structure implementation! c2039 Error

#include<stdio.h>#include<math.h>struct complex{ double real; double imag;};void add(struct complex* p, struct complex* q, struct complex* r);void multiply(struct complex* p, struct comple...

2 years ago

1 answers
139 views
0
c Questions about language structure

#include <stdio.h>struct test{ int a;};int main(){ struct test num; num.a = 3; printf(%d\n, num.a); printf(%d\n, num); return 0;}The output from printf(%d\n, num.a); in the above code is 3.And p...

2 years ago
« - 3 -

© 2024 OneMinuteCode. All rights reserved.