码迷,mamicode.com
首页 >  
搜索关键字:using temporary    ( 54256个结果
c#: 颜色选择控件之实现
参考ColorComboBox做修改,并对颜色名做些修正,用于CR MVMixer产品中,聊作备忘~ 效果图: 代码: //颜色拾取框 using System; using System.ComponentModel; using System.Drawing; using System.Wind ...
分类:Windows程序   时间:2021-04-20 14:48:30    阅读次数:0
c++面向对象实验五
定义一个学生类,包含学号、姓名、成绩等属性。(1)使用重载函数定义多个构造函数。(2)使用默认参数定义构造函数。 #include<iostream> #include<string> using namespace std; class Student { public: Student(){ n ...
分类:编程语言   时间:2021-04-20 14:48:10    阅读次数:0
Profile your program using GNU gprof
Profiling is an indispensable measure for analyzing and optimizing the performance of your program. A typical profiler like GNU gprof will complete th ...
分类:其他好文   时间:2021-04-20 14:35:11    阅读次数:0
(第二课)c++语句
#include <iostream> //预处理器编译指令#include int main(void) //函数头 { //函数体开始{ using namespace std; //编译指令 int apple; //声明整数变量 apple = 25; //赋值变量 cout << "我有" ...
分类:编程语言   时间:2021-04-20 14:29:02    阅读次数:0
十进制转十六进制
代码: #include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int ma ...
分类:其他好文   时间:2021-04-20 14:10:46    阅读次数:0
2017省赛A第4题
参考文章 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 int X[] = {0, -1, 1, 0, 0}; 5 int Y[] = {0, 0, 0, -1, 1}; 6 7 bool vis[10][10]; 8 int res = ...
分类:其他好文   时间:2021-04-20 14:10:10    阅读次数:0
「图论」第2章 最小生成树课堂过关
「图论」第2章 最小生成树课堂过关 A. 【例题1】繁忙都市 题目 代码 prim #include <iostream> #include <cstdio> #include <cstring> using namespace std; #define N 310 #define M 200010 ...
分类:其他好文   时间:2021-04-19 16:02:22    阅读次数:0
算法面试题汇总-模拟面试-两整数之和
两整数之和 不使用运算符 + 和 - ???????,计算两整数 ???????a 、b ???????之和。 示例 1: 输入: a = 1, b = 2 输出: 3 示例 2: 输入: a = -2, b = 3 输出: 1 思路: 两个整数进行异或运算,可以获得不带进位的和 两个整数进行与运算 ...
分类:编程语言   时间:2021-04-19 16:00:45    阅读次数:0
vector容器 单端数组、动态数组
1 #include<iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 using namespace std; 6 7 void test01() 8 { 9 vector<int> v; 10 for( ...
分类:编程语言   时间:2021-04-19 15:55:39    阅读次数:0
DP-最大上升序列
进入题目 思路(代码主体) sum[i]=max(sum[i],sum[j]+m[i]) 代码 #include <iostream> #include <cstdio> #include <vector> using namespace std; int main() { int n,Max=0; ...
分类:其他好文   时间:2021-04-19 15:26:22    阅读次数:0
54256条   上一页 1 ... 21 22 23 24 25 ... 5426 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!