CS计算机代考程序代写 /*

/*
utils.h

Visible structs and functions for helper functions to do with reading and
writing.

Skeleton written by Grady Fitzpatrick for COMP20007 Assignment 1 2021
*/
/* Because we use FILE in this file, we should include stdio.h here. */
#include
/* Because we use struct graph in this file, we should include graph.h here. */
#include “graph.h”
/* The problem specified. */
struct graphProblem;

/* Reads the data from the given file pointer and returns a pointer to this
information. */
struct graphProblem *readProblem(FILE *file);

/* Finds a solution for a given problem. */
struct solution *findSolution(struct graphProblem *problem,
enum problemPart part);

/* Frees all data used by problem. */
void freeProblem(struct graphProblem *problem);