sana.pari
04-24-2011, 06:05 PM
Dear Sir,
you said before that cout<<"the digit is:"<<digit<<'\n';
i have confusion in this statement. if this is one statement then why we are using << again and again . what will happened if
cout<<"the digit is:";
cout<<digit;
cout<<'\n';
and what will happened if we shall use << one time like cout<<"the digit is :" digit '\n;
and also in ICS i have studied c but that time we use blue screen for source code and black screen for run and both were there in the same window. i am confuse in these all like devc++, c++, c, c sharp. and what was that C++. and also we did not use there CMD and programms were running..
please sir explain in detail. i am so worry because assingment date is very close.
thank you very much
you said before that cout<<"the digit is:"<<digit<<'\n';
i have confusion in this statement. if this is one statement then why we are using << again and again . what will happened if
cout<<"the digit is:";
cout<<digit;
cout<<'\n';
and what will happened if we shall use << one time like cout<<"the digit is :" digit '\n;
and also in ICS i have studied c but that time we use blue screen for source code and black screen for run and both were there in the same window. i am confuse in these all like devc++, c++, c, c sharp. and what was that C++. and also we did not use there CMD and programms were running..
please sir explain in detail. i am so worry because assingment date is very close.
thank you very much