I am having a hard time figuring out linked lists in C++.
I have to create a linked list using a stack template class, add the numbers from a text file to it, display them in original order, and reverse the linked list and output reversed linked list.
Here is what I have so far. I need help with building a linked list from a text file
#include <iostream>
#pragma once
#include <string>
using namespace std;