TechTalkz.com Logo

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

Notices

C++ Guide: Part 2

Guides


Comment
 
Article 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 : 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.
Published by
Dark Star's Avatar
Banned
Join Date: May 2006
Location: /dev/had0
Age: 20
Posts: 1,627
Rep Power: 0
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

Article Tools

Latest 5 articles

<< <    Next Page: Increment Decrement Operators (Page 1 of 6)    >  >>
Old 22-10-2006, 01:37 PM   #1
Senior Member (500+)
 
Join Date: Jun 2006
Location: Mumbai.
Age: 17
Posts: 505
Thanks: 6
Thanked 27 Times in 22 Posts
Rep Power: 18 Sam RuleZ has much to be proud ofSam RuleZ has much to be proud ofSam RuleZ has much to be proud ofSam RuleZ has much to be proud ofSam RuleZ has much to be proud ofSam RuleZ has much to be proud ofSam RuleZ has much to be proud ofSam RuleZ has much to be proud of
Send a message via Yahoo to Sam RuleZ
Nice guide !
__________________
"Its better to get burnt, than to fade away"-Kurt Cobain.

Sam RuleZ is offline   Reply With Quote
Old 22-10-2006, 02:45 PM   #2
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 23
Posts: 6,621
Thanks: 19
Thanked 645 Times in 603 Posts
Rep Power: 87 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future


OS: Windows XP Windows Vista Windows 7


Send a message via Yahoo to bakuryu
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."
__________________
Please don't click here

Last edited by bakuryu; 22-10-2006 at 02:50 PM..
bakuryu is offline   Reply With Quote
Old 22-10-2006, 08:44 PM   #3
Junior Member (25+)
 
Join Date: Sep 2006
Age: 24
Posts: 64
Thanks: 7
Thanked 5 Times in 5 Posts
Rep Power: 3 luvrohit85 will become famous soon enough
hello

from where do u get this c++ guide book online can please tell me the website so that i can download it..
__________________
.RoHiTkUmAr.
luvrohit85 is offline   Reply With Quote
Old 22-10-2006, 10:56 PM   #4
Banned
 
Dark Star's Avatar
 
Join Date: May 2006
Location: /dev/had0
Age: 20
Posts: 1,627
Thanks: 98
Thanked 172 Times in 146 Posts
Rep Power: 0 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


OS: Linux


Hey I had made it by my own beleive me
Dark Star is offline   Reply With Quote
Old 30-10-2006, 08:13 PM   #5
Founder
 
Strider's Avatar
 
Join Date: Nov 2005
Location: The Last City Zion!
Posts: 3,539
Thanks: 287
Thanked 345 Times in 298 Posts
Rep Power: 62 Strider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just GreatStrider is just Great


OS: Windows XP Windows Server 2003 / Windows Server 2008 Windows Vista Windows 7 Linux


Keep it up shah.. Good work.. Kepp them coming
Strider is offline   Reply With Quote
Comment

Article Tools
Display Modes


Similar Threads
Article Article Starter Category Comments Last Post
IE7 Cache, Part 2 BruceD Internet Explorer 2 28-08-2007 09:06 PM
IE7 Cache, Part 2 BruceD Internet Explorer 0 28-08-2007 08:57 PM
Re: I am Amazed - Part 33 1/3 MarkyMarc43 Windows Vista All 1 17-08-2007 08:34 PM
I am amazed part 2.... Tiberius Windows Vista All 9 17-08-2007 08:32 PM
Re: I am Amazed - Part 33 1/3 Homer Schwartz Windows Vista All 0 17-08-2007 08:21 PM


< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 11:51 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional