热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_44740184
猥琐技术流
5 年前
trueweixin_44740184

$ 小学奥数
#include<stdio.h>
#include<iostream>
#include<unistd.h>
#include<string>
using namespace std;

int main()
{
string str = "\t\tjiajia\taidi\twe
ier\n";
cout << str << endl;
for(int i = 1; i < 66; i++)
{
if(i == 1)
cout << "1\tround" << "\t";
if(i % 2 == 0)
cout << i << "\t";
if(i % 6 == 0)
cout << endl << 1 + i++ / 6 <<"\t"
<<"round" << "\t";
}

usleep(900000);
cout << endl;
}
$

CSDN App 扫码分享
分享
评论
2
打赏
  • 复制链接
  • 举报
下一条:
fseek 函数原型:int fseek(FILE *stream,long offset,int framewhere) 作用:重定位文件内部的指针 fread 函数原型:size_t fread(void* buff,size_t size,size_t count,FILE* stream) 作用:从文件中读入数据到指定的地址中 fopen fopen函数是在当前目录下打开一个文件,其调用的一般形式为: 文件指针名=fopen(文件名,使用文件方式); fopen 读写字符串函数
立即登录