Home > Back-end >  C based problem
C based problem

Time:10-03

The program how to change, the five string smallest

CodePudding user response:

Vc6 bugs in a compiler

CodePudding user response:

int i;
Cin & gt;> X [I];
I here no initialization, x [I] sure not crossing the line

CodePudding user response:

refer to the second floor CHXCHXKKK response:
int I;
Cin & gt;> X [I];
Here I have no initialization, x [I] sure wouldn't cross this

Specific how should change? And below the two also don't know how to correct the mistakes

CodePudding user response:

refer to the poetry and the distance of physics reply: 3/f
Quote: refer to the second floor CHXCHXKKK response:
int I;
Cin & gt;> X [I];
Here I have no initialization, x [I] sure wouldn't cross this

Specific how should change? And below the two wrong also don't know how to correct

Use a for loop input x, and you write the program didn't use it, c + + have special string comparison function

CodePudding user response:

refer to the poetry and the distance of physics reply: 3/f
Quote: refer to the second floor CHXCHXKKK response:
int I;
Cin & gt;> X [I];
Here I have no initialization, x [I] sure wouldn't cross this

Specific how should change? And below the two wrong also don't know how to correct


Can the int I=0;

In addition you the x [5] there is something in the array?
  • Related