String to Int function (C++)
This little piece of code can convert a string of decimal characters into an integer value. If you seek to […]
a technical blog
This little piece of code can convert a string of decimal characters into an integer value. If you seek to […]
This C++ class is a good demonstration of Object Orientation in code. Download the entire code: RadioClass.zip // definition file […]
This simple calculator is a great example for beginners to examine to understand the basics of Visual Basic. I must […]
Definition file, stack.h #ifndef STACK_H #define STACK_H #include <string> using namespace std; typedef string ItemType; // Change the datatype of […]
This piece of code can determine the GCD of two numbers by applying the euclidean algorithm recursively. // euclid.cpp : main […]
// numreverse.cpp : main project file. #include <iostream> #include <string> #include <fstream> #include <iomanip> //required to use setw() #include <cstdio> […]
Class Definition: #include <iostream> using namespace std; class linklist { private: struct node { int data; node *link; }*p; public: […]
#include using namespace std; void do_again(),direction(int ans); void option_1(),option_2(),option_3(),option_4(),option_5(),option_6(); int main() { do_again();//call do_again function, say goodbye to main until […]
/* * A function to convert a string into a float * Author: Danny Battison * Contact: gabehabe@hotmail.com */ #include […]
/* * A function to convert a string into an integer * Author: Danny Battison * Author: Kyle Turley http://www.kturley.com […]