This is the way I'm use to it swapping linked list. The book I'm reading from doesn't really explain how to swap linked list and my professor doesn't explain how to swap them either.
Type: Posts; User: Sherina
This is the way I'm use to it swapping linked list. The book I'm reading from doesn't really explain how to swap linked list and my professor doesn't explain how to swap them either.
Hello I'm trying to sort a linked list. I'm having some trouble figuring out how to swap an array of char. I know I should have used "string" but this is an assignment for school and we aren't...
Well this was an assignment for school and this is how my teacher wanted us to format our code.
I trying to find the highest temperature for a city then output that temperature and the city that goes with it. I'm having a lot of trouble doing that. Can you all help me?
HIGH_city is char[25]....
Thank You all so much for your help. However I still don't know how to use the data I got in the FileRead function in all the other functions.
I remember doing very simple classes in c++ before but I'm having a lot of trouble understanding this use of class. One that reads from file into an array. I would ask my teacher but he just makes it...
The assignment requires me to do it this way. I haven't found any good tutorials on how to do the std::list method.
I found a way to sort it with singly list but it doesn't seen to work for me
...
Hi I'm trying to sort a linked list I created using a function but I have no idea how to sort it. Can anyone help me?
Here's my Code:
#include <iostream>
#include...
This is how my teacher explained to use how to do a linked list.
#include <iostream>
#include <cstdlib>
#include <math.h>
#include <fstream>...
struct Node {
string name;
long ID;
int SCORE;
};
Node readStuct()
{
I'm trying to make a function that will read in the data from a file and store them in an array of structures. I'm not really sure how to do I've tried various things short of just making finding out...