码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
g++功能还是很强大的
#include?<iostream> using?namespace?std; int?fuc(char?*a) { ????cout?<<?a?<<?endl; } int?main() { ????fuc("hello"); } inux? 环境下当 GCC 版本比较高时,编译代码可能出现的问题 问题...
分类:其他好文   时间:2015-09-01 17:10:17    阅读次数:163
用结构体指针作为函数参数
// //??main.cpp //??结构体指针作为形参 // //??Created?by?geek?on?15/9/1. //??Copyright?(c)?2015年?geek.?All?rights?reserved. // #include?<iostream> using?namespace?std; struct...
分类:其他好文   时间:2015-09-01 17:08:34    阅读次数:160
[华为oj]称砝码
算法本身效率很低,但感觉比较简洁,所以自己记录了下。华为的测试用例才一个,通过是通过了,但觉得根本没法检查这段程序的正确性,个人觉得逻辑上没错。 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int fama(i...
分类:其他好文   时间:2015-09-01 16:55:54    阅读次数:1045
c#日志
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.IO;namespace SuningTool{ ...
分类:Windows程序   时间:2015-09-01 16:31:50    阅读次数:278
Using Bootchart on Android 在开机测量中的应用
Bootchart is a system designed to show a graphical display of the activity of a system during boot. 。。。 省略官方简介,下面是相关连接: http://www.elinux.org/Using_Bootchart_on_Android; http://w...
分类:移动开发   时间:2015-09-01 15:21:30    阅读次数:239
C#------封装文件拷贝方法
class Program { static void Main(string[] args) { //FileStream 拷贝方法封装 using(Stream fs = new FileStream(@"C:\Us...
分类:Windows程序   时间:2015-09-01 13:48:57    阅读次数:176
int64_t 显示
if using C++ on Linux, be sure to?#define __STDC_FORMAT_MACROS?before including?inttypes.h. For?int64_t?type: int64_t?t;printf("%"?PRId64?"\n",?t); for?uint64_t?type: uint64_t?t;printf(...
分类:其他好文   时间:2015-09-01 12:42:22    阅读次数:182
Using an LPC-Link2 as an LPC4370 evaluation board
https://www.lpcware.com/content/faq/lpcxpresso/using-lpclink2-as-lpc4370-evalAs well as being a standalone debug probe, theLPC-Link2can also be used a...
分类:其他好文   时间:2015-09-01 12:38:56    阅读次数:322
c#JS调用
using MSScriptControl;using System;using System.Collections.Generic;using System.Reflection;using System.Text;using v8sharp;namespace Js调用{ class P...
分类:Windows程序   时间:2015-09-01 12:15:07    阅读次数:255
折半查找
//?折半查找.cpp?:?定义控制台应用程序的入口点。 // #include?"stdafx.h" #include<iostream> using?namespace?std; int?binarySearch(int?a[],int?length,int?k) { ?int?left=0;int?right=length-...
分类:其他好文   时间:2015-09-01 10:56:20    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!