搜索资源列表
Answer C2
- 实现标准库函数strstr的功能:在str1中查找str2,若找到,返回指向str1中第一次出现str2的位置; int A ( const char * str1, const char * str2 ); 没有的话,返回-1 有则返回所在位置(从0开始) 写出函数,对编写函数main完成对strstr的功能的验证。 -achieve the standard library functions strstr function : the search for str
b64
- base64 decoder to decode the original char from base64 encoded string-base64 decoder
Console
- 控制台传参数的例子,在program argument 填入参数,用char *av[]来解析。-Console example of passing parameters, fill in parameters in the program argument, with the char* av [] to resolve.
Hex_coder
- Hex convert char. Command string
Palindrom
- This a recursive function, without loops titled: int is_palindrom (char arr [], int len) Accepts an array of characters and length. The function return 1 if the array contains a palindrome (a series of characters that particular cry from the b
example
- 用c语言,不用windows api 拷贝一个50M以上的文件,每次拷贝1kb, unsigned char buffer[1024] 直到文件拷贝结束 -C language without windows api Copy more than a 50M file, every copy 1kb the end of an unsigned char buffer [1024] until the file copy
int
- 输入一个数字int转换成字符char,程序短小,适合练习!-int to char
saoleibeta
- 扫雷小游戏 要求: 用VS2010控制台程序完成,键盘输入要点开的格子和要排的雷的格子。 拥有普通游戏的控制流程:开始游戏、重新开始、退出游戏、死亡成功后的提示及操作等;拥有游戏最基本的一些文字提示,拥有基本的一些错误判断。 要求整个工程全部用C++代码完成,不允许出现C风格代码(如用string代替char*、用容器代替数组、类等)。-Minesweeping game requirements: VS2010 console program completed, keyboa
BANK
- 银行卡管理系统开户、存款、取款、修改密码、重置密码、销户 c-#include<iostream> #include<cstring> using namespace std class count { public: friend class ATM count (char Name[],char Num[],float Money,char Password[]) //初始化
ReadFile_And_WriteFile-Demo(VS2013)
- 对上次本人用dev c写的读写文件的程序进行改写,这次是用VS2013写的,将读文件与写文件分别封装成两个独立的函数放到两个独立的文件.cpp(.h)中,便于以后根据自己的需要对函数功能进行相应的扩展。读文件操作制将某一文件的二进制流读出写到一个txt文件中,写文件指将事先写好的数组中的数据一二进制流的形式写成一个新的文件。 两个函数原型: void ReadFile(char* readfilename, char* writefilename) void WriteFile(c