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
| // This is my prototype | |
| static int powerFunc (int, int); | |
| // This is the function | |
| static int hashmap::powerFunc (const int x, const int y) | |
| { | |
| int result = 1; |
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
| class task | |
| { | |
| public: | |
| task(char * taskName, char * courseName, char * dueDate); | |
| virtual ~task(void); | |
| task(); | |
| const char* getTask(); | |
| const char* getCourse(); |
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
| //This is the Task List Manager Program | |
| //Written by: Allison Sliter | |
| //Date: 11, Oct 2009 | |
| #include <iostream> | |
| #include <iomanip> | |
| #include <cstring> | |
| #include <fstream> |
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
| bool list::remove (const char * const name) | |
| { | |
| node * current = headByName; | |
| node * previous = NULL; | |
| cerr << "We're going to check if it enters the function at all"; | |
| if (NULL == current) | |
| return 0; | |
| while (current != NULL) |
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 <iomanip> | |
| #include <cstring> | |
| #include <fstream> | |
| #include <string.h> | |
| #define OUTPUT_FILE "/Users/Kav/text.txt" | |
| using namespace std; | |
| const int ARRAY_SIZE = 1000; |
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
| lala |
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 <iomanip> | |
| #include <cstring> | |
| #include <fstream> | |
| using namespace std; | |
| int showTasksByDueDate; | |
| int showTaskByCourse; |
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> | |
| // enable Visual C++ memory leak checking | |
| #ifdef _DEBUG | |
| #define _CRTDBG_MAP_ALLOC | |
| #include <crtdbg.h> | |
| #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) | |
| #define new DEBUG_NEW | |
| #endif |
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
| //This is the Shopping Cart program | |
| //Written by: Allison Sliter | |
| //Date: 1st of October, 2009 | |
| // Sources: Malik, D.S. C++ Programming: from Problem Analysis to Project Design | |
| #include <iostream> | |
| #include <iomanip> | |
| #include <string> |
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
| //This is the Library Database Search Program | |
| //Written by: Allison Sliter | |
| //Date: 11 of Aug, 2009 | |
| // Sources: Malik, D.S. C++ Programming: from Problem Analysis to Project Design, Ian Dees, | |
| //INCLUDES CHOMP | |
| #include <iostream> | |
| #include <iomanip> | |
| #include <fstream> | |
| #include <string> |