摘要: #include <stdio.h> //这个是输入两串15位的数字相加再输出 int main() { int i = 0, j = 0, n; char ch1, ch2; int a[15] = { 0 }, b[15] = { 0 }, c[15] = { 0 }; while ((ch1 阅读全文
posted @ 2021-12-08 21:57 晓风霜度- 阅读(410) 评论(1) 推荐(0)
摘要: 1、结构体是实值类型(Value Types),而类则是引用类型(Reference Types)。 2、结构使用栈存储(Stack Allocation),而类使用堆存储(Heap Allocation)。 3、所有结构成员默认都是Public,而类的变量和常量数则默认为Private,不过其他类 阅读全文
posted @ 2021-12-08 14:09 晓风霜度- 阅读(1038) 评论(0) 推荐(1)