This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*Project CMD Calendar | |
| * Version: 1.5 | |
| * Programmer: Chris Hyde (aka Zinth) | |
| * Last Edited: 7/9/2017 | |
| * | |
| * A // -- denotes a section | |
| * A // is just a comment on what the following lines of code should do. | |
| * | |
| * Change Log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void GetHighScore() | |
| { | |
| Boolean boolWorkingFileIO = true; | |
| //See if you can write to file | |
| try | |
| { | |
| theFileRead = new FileStream("BugWars HighScores.txt", FileMode.OpenOrCreate, FileAccess.Read); | |
| theScoreRead = new StreamReader(theFileRead); | |
| for (int i = 0; i < maxHighScores; i++) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <cstdlib> | |
| #include <ctime> | |
| using namespace std; | |
| // nameing all global variables | |
| int guess; | |
| int number; | |
| int wins = 0; | |
| // start of the program | |
| int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Zombie Fighting test: | |
| // Made by zinth: | |
| // Date 12/13/2011: | |
| #include <iostream> | |
| #include <string> | |
| #include <cstdlib> | |
| using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <cmath> | |
| #include <time.h> | |
| #include <cstdlib> | |
| using namespace std; | |
| // starting main function | |
| int main(){ | |
| // set the char variable for the y/n while loop. I have learned since that a bool statement | |
| // might have been a little better for the loop | |
| char ch; |