摘要:
//task2 //person.hpp #pragma once #include<iostream> #include<string> using namespace std; class Person { private: string name; string telephone; stri 阅读全文
摘要:
一 #include <stdio.h> const int N=3; int main(){ int a[N] = {1,2,3}; int i; printf("通过数组名及下标直接访问数组元素:\n"); for(i=0;i<N;i++) printf("%d:%d\n",&a[i],a[i] 阅读全文
摘要:
一 能,void-int,返回值为x1,x2; 二 #include <stdio.h> long long fac(int n); int main(){ int i,n; printf("enter n:"); scanf("%d",&n); for(i=1;i<=n;++i) printf(" 阅读全文