博客园 - 都说了没有名字
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=43839
2022-11-30T12:44:22Z
都说了没有名字
https://www.cnblogs.com/xdt2/
feed.cnblogs.com
https://www.cnblogs.com/xdt2/p/16939474.html
实验六 - 都说了没有名字
6.3 #include <iostream> #include <fstream> #include <array> #define N 5 void test1(){ using namespace std; array<int, N> x{ 97, 98, 99, 100, 101 }; of
2022-11-30T12:44:00Z
2022-11-30T12:44:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】6.3 #include <iostream> #include <fstream> #include <array> #define N 5 void test1(){ using namespace std; array<int, N> x{ 97, 98, 99, 100, 101 }; of <a href="https://www.cnblogs.com/xdt2/p/16939474.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/16922957.html
实验五 - 都说了没有名字
实验5.4 #include <iostream> #include "Pets.hpp" using namespace std; void play(MachinePets& obj) { std::cout << obj.get_nickname() << " says " << obj.ta
2022-11-24T11:20:00Z
2022-11-24T11:20:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】实验5.4 #include <iostream> #include "Pets.hpp" using namespace std; void play(MachinePets& obj) { std::cout << obj.get_nickname() << " says " << obj.ta <a href="https://www.cnblogs.com/xdt2/p/16922957.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/16855165.html
实验四 - 都说了没有名字
实验4.5 #pragma once #include<iostream> using namespace std; class vectorInt { friend void output(vectorInt&v); public: vectorInt(int n); vectorInt(int
2022-11-03T09:48:00Z
2022-11-03T09:48:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】实验4.5 #pragma once #include<iostream> using namespace std; class vectorInt { friend void output(vectorInt&v); public: vectorInt(int n); vectorInt(int <a href="https://www.cnblogs.com/xdt2/p/16855165.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/16807920.html
实验三 - 都说了没有名字
实验3.5 #pragma once #include<iostream> #include<iomanip> using namespace std; class Info { public: Info() {}; Info(string nickname0, string contact0, s
2022-10-19T13:41:00Z
2022-10-19T13:41:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】实验3.5 #pragma once #include<iostream> #include<iomanip> using namespace std; class Info { public: Info() {}; Info(string nickname0, string contact0, s <a href="https://www.cnblogs.com/xdt2/p/16807920.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/16794903.html
实验二 类与对象 - 都说了没有名字
实验2.1 #include <iostream> #include <complex> int main() { using namespace std; complex<double> c1{ 3, 4 }, c2{ 4.5 }; const complex<double> c3{ c2 };
2022-10-15T12:01:00Z
2022-10-15T12:01:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】实验2.1 #include <iostream> #include <complex> int main() { using namespace std; complex<double> c1{ 3, 4 }, c2{ 4.5 }; const complex<double> c3{ c2 }; <a href="https://www.cnblogs.com/xdt2/p/16794903.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/16738608.html
实验1 类和对象 - 都说了没有名字
#include<iostream> using std::cout; using std::endl; class Point{ public: Point(int x0=0,int y0=0); Point(const Point& p); ~Point()=default; int get_x
2022-09-28T10:47:00Z
2022-09-28T10:47:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】#include<iostream> using std::cout; using std::endl; class Point{ public: Point(int x0=0,int y0=0); Point(const Point& p); ~Point()=default; int get_x <a href="https://www.cnblogs.com/xdt2/p/16738608.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/15747676.html
实验7 - 都说了没有名字
#include <stdio.h> #define N 5 // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int score; } STU; // 函数声明 void inp
2021-12-30T02:16:00Z
2021-12-30T02:16:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】#include <stdio.h> #define N 5 // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int score; } STU; // 函数声明 void inp <a href="https://www.cnblogs.com/xdt2/p/15747676.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/15692482.html
实验6 - 都说了没有名字
实验1 #include <stdio.h> #define N 5 int binarySearch(int* x, int n, int item); int main() { int a[N] = { 2, 7, 19, 45, 66 }; int i, index, key; printf(
2021-12-15T05:58:00Z
2021-12-15T05:58:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】实验1 #include <stdio.h> #define N 5 int binarySearch(int* x, int n, int item); int main() { int a[N] = { 2, 7, 19, 45, 66 }; int i, index, key; printf( <a href="https://www.cnblogs.com/xdt2/p/15692482.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/15668622.html
实验5 - 都说了没有名字
实验1.1 #include<stdio.h> #define N 5 void output(int x[],int n) { int i; for (i = 0; i < n; i++) printf("%d ", x[i]); printf("\n"); } int main() { int
2021-12-09T13:04:00Z
2021-12-09T13:04:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】实验1.1 #include<stdio.h> #define N 5 void output(int x[],int n) { int i; for (i = 0; i < n; i++) printf("%d ", x[i]); printf("\n"); } int main() { int <a href="https://www.cnblogs.com/xdt2/p/15668622.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/15631366.html
实验4 - 都说了没有名字
实验1.1 #include<stdio.h> const int N=4; int main() { int a[N] = { 2,0,2,1 }; char b[N] = { '2','0','2','1' }; int i; printf("sizeof(int)=%d\n", sizeof(
2021-12-02T09:10:00Z
2021-12-02T09:10:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】实验1.1 #include<stdio.h> const int N=4; int main() { int a[N] = { 2,0,2,1 }; char b[N] = { '2','0','2','1' }; int i; printf("sizeof(int)=%d\n", sizeof( <a href="https://www.cnblogs.com/xdt2/p/15631366.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/15602268.html
实验3 - 都说了没有名字
任务1.1 #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("%d!=%lld\
2021-11-25T11:04:00Z
2021-11-25T11:04:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】任务1.1 #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("%d!=%lld\ <a href="https://www.cnblogs.com/xdt2/p/15602268.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/15535246.html
实验2 C语言分支语句、循环语句、 应用编程 - 都说了没有名字
#include<stdio.h> int main() { int num; scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num); printf("2049%04d\n",num); scanf("%d", &num);
2021-11-13T09:00:00Z
2021-11-13T09:00:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】#include<stdio.h> int main() { int num; scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num); printf("2049%04d\n",num); scanf("%d", &num); <a href="https://www.cnblogs.com/xdt2/p/15535246.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/xdt2/p/15470107.html
实验1 C语言开发环境使用和数据类型、运算符、表达式 - 都说了没有名字
#include<stdio.h> int main() { printf(" 0 \n"); printf("<H>\n"); printf("I I\n"); printf("\n"); printf(" 0 \n"); printf("<H>\n"); printf("I I\n"); ret
2021-10-28T07:34:00Z
2021-10-28T07:34:00Z
都说了没有名字
https://www.cnblogs.com/xdt2/
【摘要】#include<stdio.h> int main() { printf(" 0 \n"); printf("<H>\n"); printf("I I\n"); printf("\n"); printf(" 0 \n"); printf("<H>\n"); printf("I I\n"); ret <a href="https://www.cnblogs.com/xdt2/p/15470107.html" target="_blank">阅读全文</a>