Skip to content

appins/flashcardPlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flashcard++

A simple flashcard program written in C++

To get started fire up a terminal and type

    git clone [email protected]:AppIns/flashcardPlusPlus.git
    cd flashcardPlusPlus
    make 

Or on windows systems, fire up a CMD and type

    git clone [email protected]:AppIns/flashcardPlusPlus.git
    cd flashcardPlusPlus
    make win

Writing flashcards:

Currently there are normal questions, multiple choice questions, and true or false question

  • Normal Questions

    Syntax: Q question,answer

    • Normal questions should always start with "Q"
    • Question and answer should be separated with a comma
    • Case insensitive

    Example: Q what's the square root of 100?,10

  • Multiple Choice (Updated, but old syntax will still work)

    Syntax: SM question&wronganswer,wronganswer&rightanswer

    • Each part (question, wrong answers, and correct answer) should have a '&' separating it
    • Each choice should have a comma separating it
    • Case insensitive
    • Works with both prefix and answer (So 'D' and '17' would both be valid)
    • Auto prefix's choices with letter
    • Randomized order

    Example: SM Which number is prime?&4,15,21&17

  • True / False questions

    Syntax T question or F question

    • Smart detection (Yes, No, True, False, 1, 0, t, f, y, n, Yeah, Nope)
    • Start questions that are true with 'T' and false with 'F'
    • Case insensitive

    Examples: T Is C++ better than Java? F Is the square root of n always n/10?

Using the writer:

Instead of writing flashcards by hand, just fire up the writer and get going.

To get the writer fired up, rev up a terminal and type

  git clone [email protected]:AppIns/flashcardPlusPlus.git
  cd flashcardPlusPlus
  cd writer
  make unix

On windows, replace the last line with make win

The writer should come with instructions on how to use it.

Opening custom flashcard files

All Flashcard++ files must begin with "Flashcard++, by App1ns" To open custom files, pass their relative paths though the command line

There is even a special makefile target for this

make build and make build_win compile the program but don't run it

Currently there is no such support with the writer, I will do that soon though

Need help? Found a bug? Email [email protected] with details!