Subscribe to Invariance_Under_Translation        RSS Feed
- - - - -

A New Chapter

Icon Leave Comment
Good Morning DIC,

So, after six years I am about to end my career in the United States Air Force. I have to say, I am excited for the prospect of being a civilian again. While I do not regret my time in the military, it is certainly time for something new. So, what is next? Well, I have been debating between majoring in CS or Physics. I am...
- - - - -

Sci-Fi Catalog v2.0

Icon Leave Comment
I have just completed my second version of this program, including many improvements. I included the source in a comment to the original blog post. Please feel free to try it out and let me know what you think. Enjoy and Happy Coding!

Original Blog Post -> http://www.dreaminco...loging-program/
- - - - -

A new project: Sci-Fi Novel Cataloging program

Icon 1 Comments
Good Morning DIC

I recently returned from my vacation to home. While home, I spent some time thinking about my next project. I wanted to create something practical, that I could evolve into something useful. I noticed that my father has his science fiction collection scattered across many shelves, with no rational order made obvious. I also enjoy...
- - - - -

Introduction to Abstraction

Icon Leave Comment
This entry is designed to give a basic overview of one of the many uses of Abstraction. By designing your program to take advantage of abstraction, you are decreasing the amount of overhead by "hiding" implementation. I will use a purely logical example to illustrate this point.

You have an office building with many different...
- - - - -

Inheritence Pt. 2

Icon Leave Comment
In my last post I began introducing Inheritence. You will notice that in my last entry that all derived classes inherited as follows;

class Derived : public Base


Notice the
public
...
- - - - -

Inheritence Pt. 1

Icon 1 Comments
Inheritence allows our data structures to inherit certain member variables from a Base/Parent structure. In this entry I will only use public accessors, we will keep the topic of protected and private accessors for a later entry. When you build and run this program, you will notice the order in which output occurs. When we initialize our...
- - - - -

Composition

Icon Leave Comment
When creating classes, we aim to have each class perform one function. For more complex problems, one solution is to use composition. I use the ol' computer example. A computer performs many operations. It directs the flow of data, saves and retrieves data, provides a UI for input/output. Instead of writing one giant class for handling all of...
- - - - -

Queues

Icon Leave Comment
A couple of entries ago I began to talk about Stacks. A slightly more difficult topic involves Queues. Where in a stack, data is incremented from the back and removed from the back, a queue adds data to the back and removes it from the front. Below is an example of a queue, documented throughout. If there are any questions feel free to PM or...
- - - - -

Linked List

Icon Leave Comment
I have recently been experimenting with Linked Lists. The code being posted below is very simple, but demonstrates how one might create a Linked List and utilize a very basic implementation. Enjoy and happy coding.

...
- - - - -

Copy Constructors and playing with objects

Icon Leave Comment
Now that a few entries have been posted in regards to OOP we can move on to the topic of copy constuctors. Say we would like to create a bit-wise copy of an object, while performing operations on the copy and keeping the original object intact? This is exactly what our copy constructor will do. Below is a snippet of code that I hope you will find...

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

August 2014

S M T W T F S
     12
3456789
10111213141516
17181920212223
242526272829 30
31      

Tags

Recent Entries

Recent Comments

Search My Blog

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)