Just wondering if I could get some help with figuring out what's wrong with my program. As of now, I have 3 separate files that I'm trying to run together: a driver, a header file, and a cpp file. I'm just starting, but I want to test of two of my functions work in the driver file (and to see if my program even runs together).
However, when I try to build the driver file, it gives me an "undefined reference" error for the two function calls. What's causing this, and how can I fix it?
#ifndef tsuPod_h
#define tsuPod_h
#include <string>
usingnamespace std;
/* FUNCTION - void initTsuPod
Initialize all the slots to blank and 0 size memory
input parms - none
output parms - none
*/
void initTsuPod ();
/* FUNCTION - void showSongList
* prints the current list of songs in order from first to last to standard output
* format - slot #, Title, Artist, size in MB (one song per line)
* print "Empty" for any slots that do not contain a song
input parms -
output parms -
*/
void showSongList ();