#include <stdio.h>
int main()
{
char a,b,sum;
scanf(“%d,%d”&a,&b);
Sum=a+b;
return 0;
}
分析:
改正:
#include <iostream>
int main()
{
char str1[]=”carSafe welcome you”;
char str2[]=”carSafe welcome you!”;
memcpy(str1,str2,sizeof(str2));
}
分析:
改正:
_____________________________________________________________________________
_____________________________________________________________________________
_____________________________________________________________________________
_____________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
//入顺序栈
bool seqStackPush( ________________________________ )
{
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
}
//主程序
int main()
{
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
}
问答题:结合你熟悉的案例谈谈你是如何理解面向结构化编程和面向对象编程的?
17题 | 被引用0次