The output id due to the way logical operators are evaluated. int i,j=2,k=4; i=(j>3)&&(++k==6); =(2>3)&&(++k==6); =0 && (++k==6); =0; // Since 1st condition is...
Hi All, i was making "tictac toe" a famous game. i made it but the following portion of the prog although it works but it does not seems good to me. i...
Hi all, I am new to c++, and i want to expand my knowledge on c++. i want to ask that any respectable member have beginner level programming problems, then...
because the for loop evaluate the first two statement and when the for loop body ends it evaluate the third statement. the working of unary operator++...
hi abbas iam riyaz wasalm alaikum "i++" and"++i" is same and equal .when using individually.it will different when using in staements and expressions check...
you can modify this code to suit your requirement..... like adding return value to the function find_win_func(int row,int col) // put this in ur function ...
ravi sundriyal
ravisundriyal@...
Oct 27, 2009 4:48 pm
9094
Hi All, Manny languages like C++ provides a way to generate random numbers. Like C++ provides a rand(); function to do this. But (it might be silly to ask) the...
Hi All, While dealing with functions in C++ . Generally, the C++ convention is the call-by-value. An exception is where arrays are passed as arguments, Arrays...
A little google search would have saved. http://en.wikipedia.org/wiki/Random_number_generation#Computational_methods The numbers will be generated in same...
Hi C/C++ enthusiasts Who am I: C For Swimmers - India's First C/C++ Programming Portal Where am I: www.c4swimmers.net What we do: Discover the depth of C Who...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9098
File : C Tutorials(advanced).zip Description : C tutorial(advanced)...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9099
(MUST READ: IMPORTANT) Group Rules ********************************* * Subscription & Unsubscription * ********************************* How to Subscribe to...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9100
File : C++CodingStandard.pdf Description : Learn C++ Coding Standard to write readable, portable, maintainable, consistent C++ code....
File : C_Aptitude.doc Description : Know C Better...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9103
File : IndustryCodingStandardCC++.pdf Description : Learn how to write C/C++ code according to the industry requirements (MISRA rules)...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9104
(MUST READ: IMPORTANT) Group Rules ********************************* * Subscription & Unsubscription * ********************************* How to Subscribe to...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9105
Pointers Varieties ************************************************************************************************* (1) int *p; // p is a pointer to an...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9106
Hi C/C++ enthusiasts Who am I: C For Swimmers - India's First C/C++ Programming Portal Where am I: www.c4swimmers.net What we do: Discover the depth of C Who...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9107
File : c4s.zip Description : Animated(Graphical) C Tutorial...
c4swimmers@yahoogroup...
Nov 1, 2009 8:21 am
9108
I don't know how rand() is implemented, but I have heard somewhere that the hardware interrupts like, keyboard, network interrupts are used to generate true...
Hi asad, I think the random number generator function takes its input as the system time... and you know that system time changes continously.. so accordingly ...