Andy Stone's web site |
I was bored one day a couple weeks ago and so I hacked out a quick flashcards programming using my ASFC library. I've been using it to help study formulas for my Calc II class. A couple people on my floor heard about it and wanted to use it to help in their studies. So I figured I might as well post it on the web. I hope to upload it onto sourceforge soon enough Until then if you want to peek at the source code you can find it here. How to use the program for studing Calc 161: 1) Download and unzip fcards.zip to wherever you want to stuff it. 2) Execute flashcards.exe program. 3) You will be prompted to enter a deck. Type in "formulas.txt" (without the quotes) and press enter. 4) If you typed it correctly a flashcard will appear, if not you will be prompted to re-enter a deck name. 5) Look at the question on the card. Think of the answer in your head. 6) Press the space key to reveal the answer. 7) Press the space key to pick another card. 8) Goto step 5 and repeat until you want to quit. When you want to exit simply press the escape key. Flagging Cards: When you look at a card you'll notice that it has been flagged a certain number of times (1 by default). You can think of the number of times a card is flagged as being the number of copies of that card in the deck. For example if a card is flagged 2 times that card is virtually in the deck twice, thus making the chance of recieving that card greater then a card flagged only 1 time. You can flag a card by pressing the 'f' key when that cards answer is revealed. Similiarly you can deflag a card by pressing the 'd' key. Be aware that when a card is flagged 0 times you will never see that card again until you restart the program. If you deflag all the cards in the deck then you've won. The screen will start flashing random colors (George asked me to do this) fast enough to induce an an epileptic Seizure. When your done looking at all the trippy colors press the space key to exit the program then pat yourself on the back and have a cookie. Creating your own deck: Flashcards simply uses a text file to determine what question and answer to ask for each card. Go ahead and open up "formulas.txt" in your favorite text editor and take a look at the format of the file. It's pretty simple. Each card is on one line of the file. For example look at this card:
"Derive:" "ln(u)" "1/u * u'"
The first two things in quotes are what will be displayed as the first and second lines of the question. The third is the answer. Please be aware that everything must be formatted in double quotes that way! Also be aware that each card must have all three messages. If you want a question to only have one line just type "" for the first message to display nothing on the first line. The number at the top of the file is equal to the number of cards in your deck. Change this to the appropriate number of cards. Be careful creating your deck! When I designed this program I thought only I would be using it so error checking wasn't included. That means if you mess up on your deck (and forget a double quote or have the wrong number of cards at the top) the program could act funny at best or crash your computer at worst. ---> Download Flashcards by Clcking Here <---Download a Linux Distro |