搜索资源列表
IOstream
- C++Iostream打开文件关闭文件和操作文件-C convention open files and shut down operation of paper documents
quanpaixu
- 冒泡排序 直接选择排序 Shell排序 快速排序 归并排序 堆排序 直接插入排序基本算法 #include<iostream.h> #include<stdlib.h> #include<time.h> const int n=100000 typedef struct{ int key }RedType typedef struct{ RedType *r //r[n+1
c++123
- #include<iostream> using namespace std class ABC { private: double i,j public: ABC(int x,int y):i(x),j(y) {} ABC() {} double add() { return i+j } double jian() { return i-j } double cheng() { ret
libexecstream-0.3.tar
- fopen在c++已经由有iostream来取代,对于popen呢? libexecstream正是这样一个库,它能够把运行的一个外部程序的输入、输出、错误当做一个iostream一样的对象来处理。
dongtaishuzu
- 动态申请一维数组 #include\"iostream.h\" void main() { int n,*array cin>>n array=new int[n] delete []array }
dongtai2wei
- #include\"iostream.h\" void main() { int n,**array cin>>n array=new int *[n] for(int i=0 i<n i++) { array[i]=new int[n] } array[n-1][n-1]=3 cout<<array[n-1][n-1]<<endl }
C++程序设计语言实验三
- 实验三:C++编程入门 一、实验内容 1. 类模版。 2. 运算符重载。 3. 友元。 4. 继承。 二、实验题目 1, 设计一个类SavingsAccount,定义一个静态数据成员记录存款的年利率(rate),该类的每个成员都包含一个私有的数据成员balance,表示该成员当前的存款数额。提供一个成员函数CalMonthlyInterest(),用以计算月利息(用balance乘以rate再除以12),并将这个月利息加入balance中。提供一个静态成员函数ModifyRate(
debugmalloc
- #include <stdlib.h> #include <string.h> #include <stdio.h> //#include <iostream> #include "debugmalloc.h" #include "dmhelper.h" /*Define the macro */ #define ALIGN 8 #define FENCE 0xDEADBEEF #define HE
normaldistribution
- #include <stdlib.h> #include <stdio.h> #include <time.h> #include <fstream> #include <iostream> using namespace std struct Code { float a char s } Code cc[8]={{0.25, a },{0.3,
Hanoi(gray)
- //使用gray code的解法 #include <iostream> #include <cmath> using namespace std #define ZERO 0 #define ONE 1 #define ODD 1 #define EVEN 0 #define RIGHT 1 #define LEFT 0 #define MAX 10-//Gray code to use the method#
Primer
- C++ Primer的随书源代码,拉 基 源 码 -#include <iostream.h> #include <fstream.h> #include <string>
triangle
- Small program for beginners demonstrating the use of loops and iostream + iomanip libraries.-Small program for beginners demonstrating the use of loops and iostream+ iomanip libraries.
iostreamdemo
- iostream demo 输入(Input)和输出(Output)-iostream demo
chaofan
- #include<iostream> using namespace std int s[100005] int main() { int i,j,k,sum,n while(scanf(" d",&n)!=EOF) { for(i=0 i<n i++) scanf(" d",&s[i]) sort(s,s+n) for(i=sum=0 i<n i++) { sum += s[i] * (n - i)
samlple
- 简单路径,#include "stdafx.h" #include <iostream> #include <fstream> #include <queue> #include <stack> using namespace std struct ArcNode { int adjvex ArcNode *nextarc } typedef char VertexType
C++_INPUT_OUTPUT[iostream]
- C++ INPUT_OUTPUT using iostream in console application
edatest
- 一个在MFC中使用IOStream IO实现高效文件流操作的小例子-a sample of highly efficient document IO access in MFC
IOStream
- 本代码主要用于实现数据流传输,本人能力有限代码不好。
iostream.h
- 本文主要介绍iostream.h对应头文件的功能介绍和使用方法。 -This paper introduces the iostream.h header file corresponding to the function of introduction and use.
c-P-P-lexical-analysis
- c++词法分析很简单的代码#include<iostream.h> #include<fstream.h> #include<stdlib.h> #include<stdio.h> #include<string.h> #include<conio.h> #include<process.h> /*头文件*/ -c++ lexical analysis is very simple c