搜索资源列表
Wrox.Beginning.Algorithms.Nov.2005.eBook-LinG
- Developers use algorithms and data structures every day of their working lives. Having a good under-standing of these algorithms and knowledge of when to apply them is essential to producing softwarethat not only works correctly, but also performs ef
CLangue
- 数值计算方法在C语言中的应用 介绍了数值计算方法与计算机程序语言相结合的重要性,在给出牛顿迭代公式之后,阐述了牛顿迭代法在do-while循环中的应用,然后通过实例基于曲线梯形面积求解方法,论述了矩形法和梯形法在for循环中的应用.最后指出:用正确的数值计算方法编写高效的计算机程序解决复杂的实际问题应成为当代理工科大学生必备的基础与技能-numerical calculation method in the C language to the application of numerical
Inside The C++ Object Model
- Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"-virtual functions
顺序表的应用
- 顺序表的应用 (1) 已知长度为n的线性表A采用顺序存储结构,请写一时间复杂度为0(n)、空间复杂度为0(1)的算法,该算法删除线性表中所有值为item的数据元素。要求:线性表元素个数n很大,而值为item的数据元素个数很少,要求移动元素个数尽量少;删除后的数组元素与原数组元素不必保持顺序一致。 (2)编写一个函数将一个顺序表A(有n个元素,且任何元素均不为0)分拆成两个顺序表,使A中大于0的元素存放在B中,小于0的元素存放在C中。 (3)假设一个算术表达式中包含圆括号,方括号
C++
- 编写一个程序,在屏幕上出现一个圆心沿正弦曲线轨迹移动的实心圆,要求每隔4分之一周期,圆的填充色和圆的周边颜色都发生变化(颜色自己选取),同时圆的半径在四分之一周期内由正弦曲线幅值的0.2倍至0.6倍的线性增长。-The preparation of a procedure on the screen there is a center of a circle along the sinusoid trajectory mobile solid round, one request every 4
Inside_theC++_Object_Model
- Inside the C++ Object Model Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals
high_efficiency_ut
- 《以最高效率推进单元测试》目标设定为不影响研发进度,同时实施基础的C/C++覆盖率测试。-" To promote the most efficient unit test" target set does not affect the progress of research and development, while the implementation of the basis of C/C++ test coverage.
1
- 1.编写一个简单的程序,输出“Welcome you”,并给程序加一行注释“First C++ program”。 2.编写一个完整的包含输入和输出的简单C++程序。 3.编写内置函数求解2X2+4X+5的值,X为整数,并用主函数调用该函数。 4.利用函数重载,重载上面的函数,X为浮点数。 5.编写一个程序,对一个整数数组求和,求和的结果使用全局变量sum存储,同时对整数中的奇数求和,结果使用局部变量sum存储,在主程序将两个结果输出。 6.编写一个程序动态分配一个浮点空间,
BooktoCplusplusExpert
- 如果你想成为高手,那么你可以按本文循序渐进地学习,同时在实际项目中反复思考,相信有朝一日你会成为C++高手。-If you want to become a master, then you can learn step by step according to this article, while the actual project repeatedly thinking, I believe that one day you will become a C++ expert.
lyapunov2
- Sample software that implements this procedure while searching for chaotic solutions in general 2-D quadratic maps is available in (DOS) BASIC source and executable code. Sample software that calculates the Lyapunov exponent (-0.5 to 0.5) for the Hén
program
- 实现c语言的词法分析器,用文件读取,要求能识别整数、自定义标识符及以下关键字: + - * / < <= == != > >= & && || = ( ) [ ] { } : , void int float char if else while do ! main -Achieve c language lexical analyzer, using file read, the request can identify integers, custom id
LABVIEW
- ,LabVIEW 作为国际上首推的编译型图形化编程语言,已经得到广泛地应用。本文正是阐述了在虚拟仪器LabVIEW 平台 上使用TCP/IP 协议进行远程视频监控的工作方法,即利用平台为用户提供的强大网络通信功能和现场无线网络等条件,并结合客户机/ 服务器(C/S)运行原理机制,实现了不同PC 机间的一对一、多对一及一对多的远程视频监控,同时具有视频图像的保存和缩放功能。-, LabVIEW on the devaluation of the compilation as an inte
01259361tubianlideyanshi
- 图的遍历的演示(c 语言 数据结构课程设计题) /*定义图*/ typedef struct{ int V[M] int R[M][M] int vexnum }Graph /*创建图*/ void creatgraph(Graph *g,int n) { int i,j,r1,r2 g->vexnum=n /*顶点用i表示*/ for(i=1 i<=n i++) { g->V[i]=i } /*初始化R*/ for(i=1 i<=n i++) for(j=1 j<
ttye
- To improve network spect ral efficiency , a network coding2aware met rics for wireless routing expected coding2aware t ransmission count ( ECTX) is proposed. In general , there are two steps in cod2 ing2aware routing communication : one is findin
111
- 最长公共子序列求解 一个给定序列的子序列是在该序列中删去若干元素后得到的序列。给定两个序列X和Y,当另一序列Z既是X的子序列又是Y的子序列时,称Z是序列X和Y的公共子序列。最长公共子序列就是求给定两个序列的一个最长公共子序列。动态规划可以有效的解决此问题。由最长公共子序列问题的子序列的最优子结构性质,可以建立子问题最优的递归关系。用c[i][j]记录序列Xi和Yi的最长公共子序列的长度-Solving the longest common subsequence for a given se
CUDA-Programming-2.0
- CUDA 是一种并行编程模型和软件环境,用于应对这种挑战,同时保证熟悉 C 语言等标准编程语言的程序员能够迅速掌握 CUDA-CUDA is a parallel programming model and software environment for the response to this challenge, while ensuring that familiar with standard programming languages such as C language progr
perpetual-calendar
- 自己编写的简单C++万年历程序,里面包含三个程序,另外该程序还可以判断某一年是否为闰年。- have written a simple C++ calendar program, which includes three programs, while the program can determine whether a particular year a leap year.
Solve_erro2199873162011
- Your project can’t find some library files (.lib) Open project properties (Project > Properties[Alt + F7]) Navigate to: Configuration Properties > Linker > General Add additional library Directories. These are the director
Matlab&C
- Matlab和C混合编程,概念性介绍Matlab和C混合编程中的语法与函数,同时具体讲解混合编程的原理,便于Matlab和C混合编程的入门(Matlab and C mixed programming, conceptual presentation of Matlab and C mixed programming syntax and function, while explaining the principles of mixed programming, easy to Matlab
C语言成像与光线追踪程序设计 .pdf
- 计算机图形在越来越多的领域得到了广泛的应用,而大多数个人计算机用户却因 缺乏基本的编程工具而不能在便宜的PC机上生成精美的计算机图形,本书旨在帮助 这些用户挖掘PC机潜在的图形设计能力,制做逼真的高质量计算机图形。 本书介绍了计算机图形学要求的向量和矩阵算术工具,讨论了光线追踪程序的生 成和使用,并给出了实际的C代码。此外,本书还对三维建模工具、提高图像质量的方 法及图形显示设备等做了介绍。(Computer graphics have been widely used in more and