摘要:
// test_min_max.cpp : 定义控制台应用程序的入口点。
//实现字符串相同字符个数统计
//
//样例输入:ajkhhhk
//样例输出:a1j1k1hhh3k1 #include "stdafx.h"
#include #include using namespace std; char *letter_count(char *str)
{ char *p... 阅读全文
posted @ 2015-04-18 21:46
WQZ321123
阅读(969)
评论(0)
推荐(0)
摘要:
// test_min_max.cpp : 定义控制台应用程序的入口点。
// #include "stdafx.h"
#include using namespace std; int find_max(int a,int b)
{ return a>b?a:b;
} int find_min(int a,int b)
{ return a>b?b:a;
} in... 阅读全文
posted @ 2015-04-18 19:39
WQZ321123
阅读(148)
评论(0)
推荐(0)
摘要:
首先需要有个头文件,名字随便写 假设test.h //test.h
#ifndef _TEST_H
#define _TEST_H #ifdef TEST_EXPORTS //通过宏定义控制是输入还是输出
#define TEST_API __declspec(dllexport)
#else
#define TEST_API __declspec(dllimport)
#endi... 阅读全文
posted @ 2015-04-18 17:28
WQZ321123
阅读(191)
评论(0)
推荐(0)

浙公网安备 33010602011771号