Bought Sapphire HD 5450 1GB DDR3 PCIE HDMI to Play Mafia II, Review, Full Specification and Links

Well, I don't know much about graphics cards and its features and facts related to performance. Its the first time I bought any graphics card.

Garbage Collection

Garbage collection. What you get from the title of the topic? Well, while we are coding we use variable or memory location. We may need an array initially for storing some initial elements, then we take more arrays while we are manipulating. At some part of the manipulation, it may that we dont need the initial array anymore. I mean it may that we have already took all the elements of the initial array and processed and stored them in another array for furthur processing and dont need the initial array anymore. However, that initial array still remains eating up some memory locations.

Understanding Variable scope in C++

Understanding Variable scope is very important because it can sometime leads us to unwanted value changing or hazards while coding. Like, we have declared a variable but still its showing error while compiling or running. Look at the following code,

for(int x=0;x<5;x++)    //For Loop 01
   cout<<"Inside For Loop 01";
cout<<x<<" times";    //Line01  

When we will compile this code we get some kind of error msg which may vary from compiler to compiler, but in general the error msg will be related to the variable x.

Allocating and Deallocating memory OR use of New/Delete OR allocating memory in runtime OR declaring array in runtime | in C++

Well, first of all we should be known with Variable Scope, Garbage Collection.

Ok, now. When we declare a variable like as follows,

int a;

it allocates a specific portion of memory for that variable and when we go beyond the scope of the variable the garbage collection system automatically deallocates or in general, deletes the memory location which was occupied by the variable.

But in some cases, like when declaring an array, we might need to allocate a number of array elements which we don’t and which will be specified by the user at the runtime. In such a case we have to declare the array with the number of elements given by the user. Here, we can use the new operator as follows,

Single Layer Perceptron Learning Algorithm and Flowchart of the Program and the Code of the Program in C++

The Single Layer Perceptron Learning Algorithm:

Step 1:        Initialize all weights and threshold and values.
Step 2:        Get the weighted sum of one input.
Step 3:        Compare the weighted sum with the threshold and set value to output.
Step 4:        If the input is of class A

My Works | Final working on my Expression Based Scientific Calculator, hoping to finish tonight

My expression based scientific calculator V 0.03 is 80 percent complete. I was thinking that I will add more options to it, but sorry to say that its much boring to me now. However, here are some screenshots of the software, leave your comment about these.

The Calculator Front

Tutorial :: Creating a LogIn/Registration Form for your software [Basic]

For whom the tutorial is: Well, I am sorry that this is not for beginners. I mean, when I started writing I thought I will explain each lines of code in this tutorial but, you know it’s impossible for me and I am sorry. So, if you are a complete beginner it will be hard for you to understand.

01.   You should have knowledge about creating functions and their usages.
02.   You should have knowledge about connecting MS Access Databases with VB.NET08.
03.   You should have knowledge about SQL Queries.
04.   You should have basic knowledge about the program structure of VB.NET08

Well, for your interest you can keep this tutorial, try to understand it. Read the following lines to understand what I have done in the code.

The Structure of Program: Well, welcome to this tutorial where we will be building a form for the purpose of “Login of existing users and Registrations of new user”.