Results for "Category: Miscellaneous"
This article tells you how to generate real random numbers using rand(), srand(), and time()
The differences between C++ and Java
A tutorial that explains and gives examples for static_cast, reinterpret_cast, const_cast, and dynamic_cast.
MasterLibrary3 is over 12,000 lines of code. Includes MasterString, MasterString2, AOLCPP, MasterX, MasterOGL, and much more!
I like listening to music when I go to bed. The only problem was that my computer did not shut down. So I wrote this little program to automate this task. I also added a slight fadeout so you don't have to bother with a sudden break off music when you already in slumber :) Shows how to use MFC, AFX threads and volume control.
I have put so much time into creating this book. This book is for free. This book is good for those who already know the basics of C++. I will be working on adding to it in the coming months. The code examples I have used in the book are only partial and will not compile. If you need the compilable version, no problem I will write them for you if you ask. If you need me to add something you would like to know about, just let me know.
//If you havent yet realized it the //function 'rand()' will not produce //an actual random number because it //uses the same seed every time, the //way to fix this is to use time as //a seed for the rand function. If //this helps, rate it please.
was a C++ homework assignment my class had to do. Simply inputs 3 integers, and says whether or not they would be a right triangle.
contains masterstring2 with a new feature. A Tokenize class, which tokenizes a string, complety independent of string.h
takes a C++ source file, and will format it so it can be viewed in a web page. (ex: replaces \t, and \r\n with apporpiate html tags.
Mas Release 1, MasterX SDK 2.2, MVX with MAS, and a Mas Demo
This article is based on Vbmew's "make 7 byte .exes" (http://www.1cplusplusstreet.com/vb/scripts/ShowCode.asp?txtCodeId=2221&lngWId=3) His article perked my interest in the Assembly language, so I went out and did some research. This article is a very brief primer on assembler and machine code.
Opens Notepad and mysteriously(By not creating a window) Types a message in notepads text.
Writing text to a character LCD.
Splits files and combines them back together again, written in C
Simple programming triva, written in C.
This is a tutorial I wrote to teach C++ to people who want to learn it. I decided to post it here to help as many people as possible. Please leave feedback, and if you like it vote ;)
simple file encrypter for linux compiled with gcc
example of the explicit keyword.
Explains function and class templates.