摘要: Trying to code a program to find PRIMES in a complex way: #include <iostream> #include <cmath> using namespace std; int prime(int x) {//if a is prime, 阅读全文
posted @ 2020-11-25 18:58 VVEN2014 阅读(52) 评论(0) 推荐(0)
摘要: #include<iostream> #include<string> #include<vector> #include<deque> #include<algorithm> #include<ctime> using namespace std; class Person { public: P 阅读全文
posted @ 2021-02-19 19:30 VVEN2014 阅读(60) 评论(0) 推荐(0)
摘要: DEC to BIN, HEX, OCT #include<iostream> #include<vector> #include<algorithm> using namespace std; void convert_1(int a, int b); void convert_2(int a, 阅读全文
posted @ 2020-12-03 01:49 VVEN2014 阅读(112) 评论(0) 推荐(0)
摘要: Easier said than done. #include <iostream> #include <string> using namespace std; int main(void) { /* //You can get the size as you like, the fisrt ed 阅读全文
posted @ 2020-12-02 19:34 VVEN2014 阅读(84) 评论(0) 推荐(0)
摘要: /* It's not easily readable or some-what explicitly 'cause comments are lack, goal is not clear Prctice is the sole criterion of truth so just read th 阅读全文
posted @ 2020-12-01 18:48 VVEN2014 阅读(73) 评论(0) 推荐(0)
摘要: 实践出真知啊 #include <iostream> #include <string> #include <fstream> #include <cstdlib>// offer the exit() double average(double sum, int num_of_items); in 阅读全文
posted @ 2020-12-01 00:32 VVEN2014 阅读(35) 评论(1) 推荐(0)
摘要: We want to convert the lower case to upper case, and upper case to lower case,and then store the content we typed as a file named filename.txt #includ 阅读全文
posted @ 2020-11-30 23:10 VVEN2014 阅读(59) 评论(0) 推荐(0)
摘要: I make lots of mistakes while conding. #include<iostream> using namespace std; struct bef{ double x;double y; }; struct aft{ double s;double t; }; aft 阅读全文
posted @ 2020-11-26 17:35 VVEN2014 阅读(36) 评论(0) 推荐(0)