当前位置:网站首页>Cout.write learning
Cout.write learning
2022-07-28 18:22:00 【L Qi Tian】
#include<iostream>
using namespace std;
int main() {
const char* str = "Hello World \n yes you\0 hia";
// To \0 Cut off calculation at
int len = strlen(str);
for (int i = 0; i < len; i++) {
// encounter \n The newline symbol does not stop , Instead, it reads a specified number of characters or encounters \0 stop it
// Incoming address , Output i Characters
cout.write(str, i);
cout << endl;
}
return 0;
}
边栏推荐
- Video number from 2-3 games per week to 3 games per day
- Openmv (VI) -- STM32 realizes object recognition and handwritten digit recognition
- Uniapp local packaging permission configuration problem
- Compilation principle learning notes 3 (top-down syntax analysis)
- syntax error: non-declaration statement outside function bodygo 和 syntax error: unexpected {, expect
- 矢量网络分析仪(矢网)的校准
- Tips -- tips in SCI thesis writing
- 如何简简单单地自己动手磨刀
- 这么多开源框架,该用哪个好?
- 业绩增长强劲!闻泰科技上半年净利17亿元,同比暴增767.19%!
猜你喜欢

微信公众号授权登录后报redirect_uri参数错误的问题

矢量网络分析仪(矢网)组成和原理简介

DC-DC开关电源

硬件工程师成长之路(0)----认识元件

Tensorflow2.0 (XII) -- realize simple RNN and LSTM networks

Tensorflow2.0 (XI) -- understanding LSTM network
![[dry goods] how to establish a close relationship between support and products?](/img/ec/bc36beb0935968fec3791910e2cb0a.png)
[dry goods] how to establish a close relationship between support and products?

信号源原理简介

天线的原理、分类及要求

Digital filter (VI) -- design FIR filter
随机推荐
Yu Chengdong: Huawei is trying to cope with the US chip ban
Busybox latest version (busybox APK)
Characteristics required for making a good video Number
The growth path of hardware engineers (0) -- Understanding components
Changjiang storage launched its own storage brand "Zhiti", and the first SSD product was exposed
Food safety | will the salt content of bread exceed the standard? A few tips to teach you to eat bread correctly!
天线的原理、分类及要求
VMware virtual machine networking settings (win10 comes with virtual machine installation win7)
蛰伏两年!瓴盛科技首款AIoT芯片发布:三星11nm工艺,集成NPU内核!
Tips -- understanding of the physical meaning of convolution
【干货】如何建立支持和产品之间的密切关系?
频谱仪原理简介一
视频关联商品销量提升88%
Introduction to USB type-C PD fast charging
业绩增长强劲!闻泰科技上半年净利17亿元,同比暴增767.19%!
Association between enterprise wechat and video Number
“3·8女王节”限时大促竟让场观、视频号销量翻倍?
计算机组成原理核心知识点总结&面试笔试要点[通俗易懂]
How to sharpen a knife simply by yourself
syntax error: non-declaration statement outside function bodygo 和 syntax error: unexpected {, expect