网站首页 站内搜索

搜索结果

查询Tags标签: cout,共有 1241条记录
  • 实验1 C++类与对象

    #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> #include <cmath> using namespace std; class Complex{public:Complex(){}~Complex(){}Complex(double x):real(x){}Complex(double x, double y):real(x),imag(y){}Complex(const Complex &a…

    2021/10/23 17:09:48 人评论 次浏览
  • 实验1 C++类与对象

    #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> #include <cmath> using namespace std; class Complex{public:Complex(){}~Complex(){}Complex(double x):real(x){}Complex(double x, double y):real(x),imag(y){}Complex(const Complex &a…

    2021/10/23 17:09:48 人评论 次浏览
  • 【C++】原神角色管理系统——基于vs的系统开发

    首先成果展示给大家放上链接: B站:【原神】原神系统演示_原神 以下是代码部分(有点长): #include <iostream> #include <fstream> #include <string> #include <conio.h> #include<cstring> #include<iomanip> #include<wind…

    2021/10/23 14:11:32 人评论 次浏览
  • 【C++】原神角色管理系统——基于vs的系统开发

    首先成果展示给大家放上链接: B站:【原神】原神系统演示_原神 以下是代码部分(有点长): #include <iostream> #include <fstream> #include <string> #include <conio.h> #include<cstring> #include<iomanip> #include<wind…

    2021/10/23 14:11:32 人评论 次浏览
  • 程序设计与算法(三)C++面向对象程序设计 第七周 相关笔记

    1、cerr freopen cout输出到文件内时,cerr能输出到控制台显示 2、cin.getline() defalut -> \n#define IOS ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); #include<bits/stdc++.h> using namespace std; int main(){//IOS;//freopen("a.txt&q…

    2021/10/23 11:10:15 人评论 次浏览
  • 程序设计与算法(三)C++面向对象程序设计 第七周 相关笔记

    1、cerr freopen cout输出到文件内时,cerr能输出到控制台显示 2、cin.getline() defalut -> \n#define IOS ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); #include<bits/stdc++.h> using namespace std; int main(){//IOS;//freopen("a.txt&q…

    2021/10/23 11:10:15 人评论 次浏览
  • 程序设计与算法(三)C++面向对象程序设计 第七周 相关笔记

    1、cerr freopen cout输出到文件内时,cerr能输出到控制台显示 2、cin.getline() defalut -> \n#define IOS ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); #include<bits/stdc++.h> using namespace std; int main(){//IOS;//freopen("a.txt&q…

    2021/10/23 9:39:48 人评论 次浏览
  • 程序设计与算法(三)C++面向对象程序设计 第七周 相关笔记

    1、cerr freopen cout输出到文件内时,cerr能输出到控制台显示 2、cin.getline() defalut -> \n#define IOS ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); #include<bits/stdc++.h> using namespace std; int main(){//IOS;//freopen("a.txt&q…

    2021/10/23 9:39:48 人评论 次浏览
  • 实验一

    task3 //Complex.hpp#ifndef COMPLEX_HPP #define COMPLEX_HPP#include <iostream> #include <cmath>using namespace std;class Complex { public:Complex(double real0 = 0,double imag0 = 0):real{real0},imag{imag0}{};Complex(const Complex &c):rea…

    2021/10/23 6:11:20 人评论 次浏览
  • 实验一

    task3 //Complex.hpp#ifndef COMPLEX_HPP #define COMPLEX_HPP#include <iostream> #include <cmath>using namespace std;class Complex { public:Complex(double real0 = 0,double imag0 = 0):real{real0},imag{imag0}{};Complex(const Complex &c):rea…

    2021/10/23 6:11:20 人评论 次浏览
  • 实验1 类与对象

    实验结论: 实验任务3: Complex.h源码#ifndef COMPLEX_HPP #define COMPLEX_HPP#include<cmath> #include<iostream> using namespace std; class Complex { public:Complex() {};Complex(double x, double y = 0) :real{ x }, imag{ y }{};Complex(const Co…

    2021/10/22 23:42:40 人评论 次浏览
  • 实验1 类与对象

    实验结论: 实验任务3: Complex.h源码#ifndef COMPLEX_HPP #define COMPLEX_HPP#include<cmath> #include<iostream> using namespace std; class Complex { public:Complex() {};Complex(double x, double y = 0) :real{ x }, imag{ y }{};Complex(const Co…

    2021/10/22 23:42:40 人评论 次浏览
  • C++ 的自动类型auto类型推断decltype空指针nullptr 快速遍历for in

    目录 auto 自动类型decltype 推断表达式的类型nullptr 空指针,专门针对指针做的符号for in快速遍历 ,语法格式是for (:)C++ 11以后的一下新语法常用的如下:auto 自动类型 这个相当于swift里面的var ,自动通过右边表达式推断出类型. 示例代码如下: auto a = 5;//自动把a推断…

    2021/10/22 17:09:46 人评论 次浏览
  • C++ 的自动类型auto类型推断decltype空指针nullptr 快速遍历for in

    目录 auto 自动类型decltype 推断表达式的类型nullptr 空指针,专门针对指针做的符号for in快速遍历 ,语法格式是for (:)C++ 11以后的一下新语法常用的如下:auto 自动类型 这个相当于swift里面的var ,自动通过右边表达式推断出类型. 示例代码如下: auto a = 5;//自动把a推断…

    2021/10/22 17:09:46 人评论 次浏览
  • P5717 【深基3.习8】三角形分类

    题目描述 给出三条线段 a,b,c 的长度,均是不大于 10000 的整数。打算把这三条线段拼成一个三角形,它可以是什么三角形呢? 输出要求: 如果三条线段不能组成一个三角形,输出Not triangle; 如果是直角三角形,输出Right triangle; 如果是锐角三角形,输出Acute triang…

    2021/10/21 23:42:00 人评论 次浏览
扫一扫关注最新编程教程