- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
4 Posted Topics
hi, in your code you wrote: for(i= 0; i <scores[9]; i++) as 'i' is index,its value should be 0 to 8 if size of array is 10, so it should be witten like: for(i=0;i<9;i++) i find this mistake only.i dont think there is any mistake in swap function.
Hi, there is a simple code,but i cant understand the output: [CODE]#include<iostream.h> #include<conio.h> void main() { clrscr(); int x=10; cout<<++x<<" "<<++x<<" "<<++x<<endl; x=10; cout<<x++<<" "<<x++<<" "<<x++<<endl; getch(); }[/CODE] output: 13 12 11 12 11 10
hello,i m also a beginner to c++,also i didn't get that why u r taking the @ character only in the last row,but i can give u some ideas i think,first of all i want to suggest that you should mention that which player is pkaying at that time so …
if i want to check that wether the entered character is char type or int type,how can i do that?
The End.
nida afaq