Lets see: here es another clear and excellent example of Dangling pointer, very graphical.
http://c-pointer.blogspot.com/2009/06/dangling-pointer-problem-in-c.html
I hope it helps!!!
COMPUTER PROGRAMMING C++
miércoles, 8 de diciembre de 2010
lunes, 6 de diciembre de 2010
Almost, END
We are getting close to the end of the course, we are in vectors, again for me.....Stay focus and you will not get troubles within the end of teh course!!!!!
miércoles, 3 de noviembre de 2010
Functions!!!!
FUNCTION ARE THE MOST PRACTICAL WAY TO DEVELOP A PROGRAM, WHIT AN STRUCTURE THAT ALLOWS YO TU IMPROVE YOUR PROGRAM EACHE TIME YOU WANT TO DO IT.....BECAUSE, FUNCTION IIMPLEMENTS; BLACK BOX ANALOGY!!!
lunes, 25 de octubre de 2010
More About C++!!!!
Friends, we have a excelent source of information for C plus plus in this site....check it out, and learn a lot!!
weblogs.asp.net/kennykerr.....
or bye default: www.kennykerr.ca
This gay is deep into program developing and news for it!!!
weblogs.asp.net/kennykerr.....
or bye default: www.kennykerr.ca
This gay is deep into program developing and news for it!!!
miércoles, 13 de octubre de 2010
SAMPLE PROGRAM!!!!
It doesn't matter if tin the sample program we discuss today you use; DO-WHILE loop or a simple While LOOP
It looks like this:
current balance is a double.
current_balance=50;
while( balance<=100)
{ interest= current_balance * 0.02;
current_balance= interest + current_balance;
balance= current_balance;
}
This is simple example of the main body of the program which executes....The operation...rememember to put a counter variable at the end of the while loop to know hom many month is going to pass aster you reach top....($100)....
Enjoy....I did it before teacher run the progrmas......
It looks like this:
current balance is a double.
current_balance=50;
while( balance<=100)
{ interest= current_balance * 0.02;
current_balance= interest + current_balance;
balance= current_balance;
}
This is simple example of the main body of the program which executes....The operation...rememember to put a counter variable at the end of the while loop to know hom many month is going to pass aster you reach top....($100)....
Enjoy....I did it before teacher run the progrmas......
lunes, 4 de octubre de 2010
Program Layout!!!
When you are working with Programs Layout and in some way; SYNTAXIS you have to be carefull.
We got some tips:
MAKE A DESKTOP FLOWCHART OF WHAT YOU WANT YOUR PROGRAM TO DO.
After FlowChart!!!!
1.For begginers it may be useful have a program open. Bye this, it helps you not to forget the basic comands lines that makes program works, like, includes and "using namspace".
2. Take care of the uses of variables, that in all the program should have exactly the same spelling all over main body of program in which you are using it.
3. Take care of manage types for operation.....( you can't divide by zero in an int {integer} operation)
I hope this helps for begin, later on I will continue giving you tips!!!!
Be good, be youu...Oz
We got some tips:
MAKE A DESKTOP FLOWCHART OF WHAT YOU WANT YOUR PROGRAM TO DO.
After FlowChart!!!!
1.For begginers it may be useful have a program open. Bye this, it helps you not to forget the basic comands lines that makes program works, like, includes and "using namspace".
2. Take care of the uses of variables, that in all the program should have exactly the same spelling all over main body of program in which you are using it.
3. Take care of manage types for operation.....( you can't divide by zero in an int {integer} operation)
I hope this helps for begin, later on I will continue giving you tips!!!!
Be good, be youu...Oz
miércoles, 29 de septiembre de 2010
Quiz Matters!!!
In the first quiz there is a mistake in the fill blank....I will post next time i check whic is the problem with thwe quiz 1!!!!
Suscribirse a:
Entradas (Atom)