Hi all
I want to make character pascal using strings in c just like
SOFTWARE
S
SO
SOF
SOFT
SOFTW
SOFTWA
SOFTWAR
SOFTWARE

plz help me how to make this type of ????

We're not a homework writing service. Please provide proof that you've made an honest attempt to solve the problem on your own.

cout << SOFTWARE;
cout << S;
cout << SO;
cout << SOF;
cout << SOFT;
cout << SOFTW;
cout << SOFTWA;
cout << SOFTWAR;
cout << SOFTWARE;

crappy question, crappy answer

commented: Really crappy answer because thats cout isn't C -2
commented: And no code tags. Shame. :-D +17
cout << SOFTWARE;
cout << S;
cout << SO;
cout << SOF;
cout << SOFT;
cout << SOFTW;
cout << SOFTWA;
cout << SOFTWAR;
cout << SOFTWARE;

crappy question, crappy answer

cout<< belongs to "C++", Not to "C"

commented: +1 for putting code tags inside quote +13
commented: Really bad logic xD -1
commented: bad logic +0

cout << SOFTWARE;
cout << S;
cout << SO;
cout << SOF;
cout << SOFT;
cout << SOFTW;
cout << SOFTWA;
cout << SOFTWAR;
cout << SOFTWARE;

crappy question, crappy answer

sergent ,
The above code was not my logic. Its your logic. At last I have given comment for your code. "cout<< belongs to "C++", Not to "C". only this is mine.
Unnecessarily pls dont give negative points for others !

commented: nice talk +2