- 博客(7)
- 资源 (3)
- 收藏
- 关注
原创 vs2013中使用matlab2014b引擎实现c++和matlab混合编程
在Visual C++ 2013 工程中使用 Matlab2014b 提供的图形引擎进行绘图的详细过程。 在编程过程中有时候会遇到在c++中调用matlab,由于matlab强大的图像处理能力和科学计算能力,在c++中适当的调用matlab能够极大的提高编程效率,尤其是在处理图像和科学计算的时候。 最近两天研究这方面的配置花了好长时间,终于在使用多种方法之后得到了解决,下面将自己的配置过程以及遇
2016-11-18 20:03:32 4620 1
原创 数据交换
要求:实现两个数据的交换。#include<iostream> using namespace std; void swap1(int a,int b); void swap2(int &a,int &b); void swap3(int *a,int *b); void swap4(int &a,int &b); int main(){ int a=10,b=20; cout<<"
2016-10-19 14:07:42 323
原创 操作符重载_复数运算
题目: 要求实现复数的显示,两个复数的加减,比较:#include<iostream> using namespace std; class Ccomplex{ double real,imag; public: Ccomplex(){real=0;imag=0;} //定义构造函数 Ccomplex(double r,double i){real=r;imag=i;}
2016-10-19 13:50:50 372
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人