11 2018 档案

摘要:可达性矩阵算法~ 直接上代码 c++ include include using namespace std; define n 5 void print(int a[n][n]); void print1(int a[n][n]); void multiply(int a[n][n],int b[ 阅读全文
posted @ 2018-11-06 21:15 return_false 阅读(515) 评论(0) 推荐(0)
摘要:[TOC] 字符与数字的转换:sprintf和sscanf 简单介绍 sprintf和sscanf都是stdio.h头文件中的函数,请大家放心使用~ 其中,sprintf可以将任意数字包括小数点(.)和负号( )转换成字符串(这里指的char数组) 而sscanf则负责将字符串转化为任意类型的数字。 阅读全文
posted @ 2018-11-02 17:28 return_false 阅读(987) 评论(0) 推荐(0)