#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
算法本身效率很低,但感觉比较简洁,所以自己记录了下。华为的测试用例才一个,通过是通过了,但觉得根本没法检查这段程序的正确性,个人觉得逻辑上没错。 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int fama(i...
分类:
其他好文 时间:
2015-09-01 16:55:54
阅读次数:
1045
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.IO;namespace SuningTool{ ...
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
class Program { static void Main(string[] args) { //FileStream 拷贝方法封装 using(Stream fs = new FileStream(@"C:\Us...
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
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
using MSScriptControl;using System;using System.Collections.Generic;using System.Reflection;using System.Text;using v8sharp;namespace Js调用{ class P...
//?折半查找.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