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
| /* | |
| Decimal To Binary, Binary To Decimal By DreamVB | |
| Version 1.0 | |
| Two functions to convert between decimal and binary | |
| Please feel free to use as you like. | |
| Feel free to update or fix an errors. | |
| */ |
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
| /* | |
| dos2unix By DreamVB | |
| Version 1.0 | |
| Program to convert dos line endings to unix \n | |
| Please feel free to to use as you like. | |
| Please let me know if you found this code usfull e. dreamvb@outlook.com | |
| */ | |
| #include <stdio.h> |
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
| /* | |
| unix2dos By DreamVB | |
| Version 1.0 | |
| Convert unix line breaks \r to dos \r\n | |
| Please feel free to to use as you like. | |
| Please let me know if you found this code usfull e. dreamvb@outlook.com | |
| */ | |
| #include <stdio.h> |
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
| /* | |
| fCompare By DreamVB | |
| Version 1.0 | |
| Tool to compare the contents of two files. | |
| Please feel free to to use as you like. | |
| Please let me know if you found this code usfull e. dreamvb@outlook.com | |
| */ | |
| #include <stdio.h> |
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 <ShlObj.h> | |
| //Get Special Folders ~By DreammVB~ | |
| //Example of returning special folder locations. | |
| using namespace std; | |
| using std::cout; | |
| using std::endl; |
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
| // Sort words assending or desending order. | |
| // By DreamVB | |
| #include <iostream> | |
| using namespace std; | |
| using std::cout; | |
| using std::endl; | |
| template <typename T>void BSortNames(T *item, int size, bool asending){ |
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
| // Check if a word is Palindrome | |
| // The word sould read the same as backwaords or forwards. | |
| // I used used code to lowercase string as to avoid captital letters. | |
| //By DreamVB | |
| #include <iostream> | |
| #include <Windows.h> | |
| using namespace std; | |
| using std::cout; |
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
| /* | |
| bBackup folder copy | |
| Version 4 | |
| By Ben a.k.a DreamVB | |
| */ | |
| #include <iostream> | |
| #include <Windows.h> | |
| #include <string> | |
| #include <algorithm> |
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
| // Reverse Polish notation demo | |
| // Basic calulator for RPN expressions. | |
| // Allows calulation of doubles | |
| // includes many math functions | |
| // Allows simple variables using single letters A-Z | |
| // Allows easy printing of results using print and cr for newlines | |
| // By Ben a.k.a DreamVB (dreamvb@outlook.com) 22:23 18/04/2021 | |
| #define MAX_STACK 2048 | |
| #define PI 3.14159265359 |
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
| //A small simple file crypting tool in C++ | |
| //By Ben Jones Hope you like it. | |
| #include <iostream> | |
| using namespace std; | |
| int main(int argc, char *argv[]) | |
| { | |
| FILE *fin = NULL; | |
| char *pws; |