随笔分类 -  库函数-C

摘要:二者都属于c的库函数 包含在<string.h>函数中 不同的是 : strchr是查找单个字符在串中出现的位置 strstr查找的是字符串在串中出现的位置 看代码: 阅读全文
posted @ 2019-02-02 19:24 执||念 阅读(2033) 评论(0) 推荐(1)
摘要:学习博客:https://blog.csdn.net/yanyanwenmeng/article/details/82753014 具体看代码: 阅读全文
posted @ 2019-02-02 19:10 执||念 阅读(1651) 评论(0) 推荐(0)
摘要:#include #include #include #define pi 3.14159265 using namespace std; int main() { char format[10]={0}; int t; cin>>t; while(t--) { long long n,x; scanf("%lld%lld",&n,&x);//求n的Pi次方,并且输出小数点后x... 阅读全文
posted @ 2018-05-06 17:13 执||念 阅读(867) 评论(0) 推荐(0)