码迷,mamicode.com
首页 >  
搜索关键字:ctime    ( 1022个结果
c++程序—统计成绩
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //成绩统计 int scores[3][3] = { {100,100,100}, {90,50,100}, {60,70,8 ...
分类:编程语言   时间:2020-02-29 23:59:10    阅读次数:137
c++程序—乘法表
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //乘法口诀表 for (int j=1; j < 10; j++) { for (int i = 1; i <= j; i++ ...
分类:编程语言   时间:2020-02-29 14:54:18    阅读次数:65
c++程序—goto
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //goto语句 cout << "1.xxxxxx" << endl; cout << "2.xxxxxx" << endl; ...
分类:编程语言   时间:2020-02-29 14:42:00    阅读次数:68
c++程序—while猜数字游戏
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //添加随机数种子,作用利用当前系统时间生成随机数,防止每次随机数都一样 srand((unsigned int)time(NU ...
分类:编程语言   时间:2020-02-28 18:56:25    阅读次数:91
日期函数操作模板
1 #include<iostream> 2 #include<ctime> 3 #include<cstring> 4 using namespace std; 5 const char weekdiary[][6]={ 6 {""}, 7 {"Mon"}, 8 {"Tue"}, 9 {"Wed" ...
分类:其他好文   时间:2020-02-28 18:42:08    阅读次数:54
python time 模块
import os import time print(os.path.abspath('logger.log')) path = os.path.abspath('logger.log') print(time.ctime(os.path.getatime(path))) print(type(t ...
分类:编程语言   时间:2020-02-25 17:45:31    阅读次数:71
TextCNN实验
本论文是一篇介绍使用CNN对句子进行分类的论文。本文将介绍使用TensorFlow来实现整个论文的实验过程,一方面熟悉使用TensorFlow API,另一方面加深对CNN在NLP上的应用理解。 对于文本分类问题,常规方法就是抽取文本的特征,使用doc2evc或者LDA模型将文本转换成一个固定维度的 ...
分类:其他好文   时间:2020-02-24 13:04:57    阅读次数:77
linux四剑客常用命令汇总
**四剑客常用命令汇总**1.findfindpath-option[-print][-exec-okcommand]{}\(find查找路径-typef/d-name.....-size1k/M-mtime/atime/ctime+-9文件)find-type/-perm/-empty/find/tmp-typef-name"*.tmp"-execrm-rf‘{}‘\;find/-typef-n
分类:系统相关   时间:2020-02-24 00:49:29    阅读次数:97
38 时间和日期相关函数
1,编程中,经常会使用到日期相关的函数,比如,统计某段代码执行花费的时间等。头文件是<time.h> 1,获取当前时间 char *ctime( const time_t *timer) 返回一个表示当地时间的字符串,当地时间是给予参数 timer 2,编写一段代码来统计 函数 test 执行的时间 ...
分类:其他好文   时间:2020-02-23 16:13:15    阅读次数:63
MFC打印技术CPrintDlg
例如,打印超市小票 // 打印小票 void COnTheStageDlg::Print(CString sYje, CString sSje, CString sZl) { CTime time = CTime::GetCurrentTime(); CString sql, ph, xsph; / ...
分类:编程语言   时间:2020-02-21 22:25:16    阅读次数:133
1022条   上一页 1 ... 6 7 8 9 10 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!