我试图编写一个程序,以便按患者姓名和紧急程度的顺序指示步骤的顺序。但我不知道如何填写输入并重新打印输出。 这是输入输出的一个例子: 这是一个不完整的代码。 #include <stdio.h>
#include <ctype.h>
#define fi 1000
int w;
char e;
struct quier {
int data[fi];
int front
所以我有一个文件,作为一些文本,我希望我的函数读取该文件并将其存储在一个数组上。我做了一些代码,当我打印我的动态数组时,它会打印垃圾值:<帮助。 char* read_message(char *filename)
{ //gets the PATH of the txt file
char *file_contents;
long input_file_size;