Comment on Tutorial - Use of Conditional (Ternary) Operator in C++ By Baski



Comment Added by : Syed Mamun Raihan

Comment Added at : 2008-09-10 11:29:42

Comment on Tutorial : Use of Conditional (Ternary) Operator in C++ By Baski
There is another similar discussion on use of ternery operator.
IMHO: condition should be simple enough and should be bi-valued and not use this operator in a multi-valued by daisy chaining the expression.
The good coder writes elegent code other write codes. And every one writes code that works!!!


View Tutorial



Related Tutorials

Java program to get location meta data from an image

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Archived Comments

1. can you have a user input tutorial for LinkedList]
View Tutorial          By: joedjoaquin at 2013-01-22 01:59:23

2. thank u very much...............
View Tutorial          By: naveen at 2011-07-05 06:00:04

3. hi.I am new in j2me and really want to learn more.
View Tutorial          By: grace at 2010-10-25 10:40:32

4. Thanks.It is very helpful
View Tutorial          By: JENI at 2013-03-23 11:01:58

5. I want to be programer
View Tutorial          By: somphone at 2015-09-09 11:20:20

6. can you non grab the data direct from the vector w
View Tutorial          By: paul at 2013-08-30 11:22:04

7. very nice example i really like it
View Tutorial          By: radha at 2012-03-15 17:50:52

8. HI All,

I am using this code but fo

View Tutorial          By: muna at 2015-07-04 12:28:15

9. i am new to SMS, i think i need a device too. Whic
View Tutorial          By: Usman at 2015-10-05 12:06:34

10. Hi
i am getting this error

c

View Tutorial          By: parab at 2012-08-01 06:24:18