Skip to content

This Flashcards project is a simple version of a flashcards program intended to aid in studying. It allows users to write and manage flashcards, which are stored in CSV format for convenient access.

License

Notifications You must be signed in to change notification settings

CrescentMnn/flashcards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FLASHCARDS

This is a personal project in which I've implemented a simple flashcards program. It's designed to help with studying by allowing users to create and review flashcards.

Installation

To run the flashcards program, you'll need:

  • C++ compiler (supporting C++11)
  • Basic understanding of the command line interface

Dependencies

  • None

Building from Source

  1. Clone the repository:

    git clone https://github.com/CrescentMnn/flashcards.git
  2. Navigate to the project directory:

    cd flashcards
  3. Navigate to the appropriate source folder based on your system:

    • For Linux:
    cd src/linux
    • For Windows:
    cd src/windows
  4. Compile the program:

    • For linux:
    g++ -o flashcards flashcards_lin.cpp
    • For windows:
    g++ -o flashcards.exe flashcards_win.cpp

Usage

Creating a New Flashcards File

To create a new flashcards file, follow these steps:

  1. Run the program:

    ./flashcards

    or

    flashcards.exe
  2. Choose the option to create a new file.

  3. Enter the name for the new file when prompted.

  4. Input the size of the flashcards and provide questions and answers for each card.

  5. Once finished, the program will save the session to the file.

Reading an Existing Flashcards File

To read an existing flashcards file, follow these steps:

  1. Run the program:

    ./flashcards

    or

    flashcards.exe
  2. Choose the option to read an existing file.

  3. Enter the name of the existing file when prompted.

  4. The program will load the flashcards from the file.

Using the Flashcards

After creating or reading a file, you'll be presented with the main menu. From here, you can choose between a study session or a quiz session.

  • Study Session: You'll be shown each flashcard question one by one, and you can provide answers. The program will tell you if your answer is correct.
  • Quiz Session: You'll answer flashcard questions as they come, without immediate feedback. At the end, your grade will be provided based on the number of correct answers.

Examples

Here's an example of running a study session:

About

This Flashcards project is a simple version of a flashcards program intended to aid in studying. It allows users to write and manage flashcards, which are stored in CSV format for convenient access.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages