TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > TechTalkz Member Reviews & Guides > Guides

C++ Guide: Part 2

Guides

 
Comment
Tutorial Tools Display Modes
<!-- google_ad_section_start -->C++ Guide: Part 2<!-- google_ad_section_end -->
C++ Guide: Part 2
Published by Dark Star
20-10-2006
Smile Introduction

C++ Guide Part 2
to the second chamber of the C++, here u will know quick and hard programming so be ready to face the rumbling C++....So the earlier thread was quite conjusted so I thought to post another part this guide will start from looping and will end to looping for now soon it will be upgraded to switch and function.But guys warning do'nt take looping light its not just like if else or any thing similar to that.
Writing the guide as my computer exam are only left so this guide recall all lost info this is a more complicated part jking I will try to make it simple
Detrimental warning : Read this before reading this other wise u will get confused.
So I am starting with post and pre increment:-- So check it out and learn with fun;
POST & PRE OPERATOR

An operator that require only one operand or data item are called unary operators. C++ supports unary minus(-), ++ (Increment), -- (Decrement) on airthmatic operands.
In C++ the other unary operator are ++ (Increment), -- (Decrement). These operator can be used before or after the variable, to give condition type increment and decerement.

Sponsored Links
Published by
Dark Star's Avatar
Elite Member (1000+)
Join Date: May 2006
Location: /dev/had0
Age: 27
Posts: 1,627
Rep Power: 2821
Dark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just GreatDark Star is just Great

Contents

Tutorial Tools

Latest 5 tutorials

<< <    Next Page: Increment Decrement Operators (Page 1 of 6)    >  >>
  #1  
By Sam RuleZ on 22-10-2006, 07:07 AM
Nice guide !
Reply With Quote
  #2  
By bakuryu on 22-10-2006, 08:15 AM
Quote:
i+1=i;
doesn't make any sense ..... and is logically incorrect.

a = i++;
// means :
// a = i;
// i = i + 1;

and a = ++i;
//means
// i = i + 1; (and not i+1 = i)
// a = i;


Quote:
  1. (1)The loop will not get executed if the given condition becomes false.
or if the expression is numerically 0. Any number other than 0 is considered TRUE, 0 is considered FALSE

Quote:
(1)The loop will be executed till the condition is false the result will be presented as soon as the condition becomes false.
Only if there's no break statement inside the loop. And the control comes out of the loop when the condition evaluates to FALSE, rather than "result will be presented as soon as the condition becomes false."
Last edited by bakuryu; 22-10-2006 at 08:20 AM..
Reply With Quote
  #3  
By luvrohit85 on 22-10-2006, 02:14 PM
hello

from where do u get this c++ guide book online can please tell me the website so that i can download it..
Reply With Quote
  #4  
By Dark Star on 22-10-2006, 04:26 PM
Hey I had made it by my own beleive me
Reply With Quote
  #5  
By Strider on 30-10-2006, 02:43 PM
Keep it up shah.. Good work.. Kepp them coming
Reply With Quote
Comment

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
IE7 Cache, Part 2 BruceD Internet Explorer 2 28-08-2007 02:36 PM
IE7 Cache, Part 2 BruceD Internet Explorer 0 28-08-2007 02:27 PM
Re: I am Amazed - Part 33 1/3 MarkyMarc43 Windows Vista All 1 17-08-2007 02:04 PM
I am amazed part 2.... Tiberius Windows Vista All 9 17-08-2007 02:02 PM
Re: I am Amazed - Part 33 1/3 Homer Schwartz Windows Vista All 0 17-08-2007 01:51 PM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 12:01 PM.


vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2005-2016, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional