/* One of the first actuial programs I have written in c++. It's a
flashcard
* program. It enables you to input a list of words, or study a previously
* made list. You can also have the words come up in an organized list or
* randomized.
* Note: I am more adept at unix programming and know unix systems much
* better than I do windows so this program is being written by me so that
I
* can learn the coresponding windows versions of all the unix commands.
* Especially cat.
*
* Author: Stephen Olsen
* Email:
[email protected]
*/
#include <iostream.h>
#include <string.h>
int choice; //The first choice on rather to study a list or make a new
one.
char enter[3]; //A test to see if program works
int main()
{
/***********************************************************************
The beginning section where you chose which mode to run the program in
***********************************************************************/
cout << "Flashcard reader\n";
cout << "Have a test you need to study for?\n";
cout << "Make you flashcards on the computer\n\n";
cout << "would you like to [1]create a list or [2]study one: ";
cin >> choice;
/***********************************************************************
Create list
Enter a list of words and their corespondants and it saves it to a
text file that you will be able to study later.
***********************************************************************/
if (choice == 1)
{
cout << "create a list of words";
cin >> enter;
cout << enter;
}
/***********************************************************************
Study list
Study a previously made list of words. Select a file you have in
hopefully the current directory.
***********************************************************************/
else if (choice == 2)
{
cout << "study a list of words";
cin >> enter;
cout << enter;
}
else
{
cout << "neather study nor create";
cin >> enter;
cout << enter;
}
return 0;
}