当前位置:网站首页>C library function int fprintf (file *stream, const char *format,...) Send formatted output to stream
C library function int fprintf (file *stream, const char *format,...) Send formatted output to stream
2022-07-04 00:57:00 【luoganttcc】
#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE * fp;
fp = fopen ("file.txt", "w+");
fprintf(fp, "%s %s %s %d", "We", "are", "in", 2014);
fclose(fp);
return(0);
}
边栏推荐
- Oracle database knowledge points (I)
- “疫”起坚守 保障数据中台服务“不打烊”
- 2-redis architecture design to use scenarios - four deployment and operation modes (Part 2)
- Eight year test old bird, some suggestions for 1-3 year programmers
- Understanding of Radix
- 数据库表外键的设计
- The frost peel off the purple dragon scale, and the xiariba people will talk about database SQL optimization and the principle of indexing (primary / secondary / clustered / non clustered)
- A-Frame虚拟现实开发入门
- On covariance of array and wildcard of generic type
- AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
猜你喜欢
Employees' turnover intention is under the control of the company. After the dispute, the monitoring system developer quietly removed the relevant services
Cloud dial test helps Weidong cloud education to comprehensively improve the global user experience
GUI 应用:socket 网络聊天室
I don't care about you. OKR or KPI, PPT is easy for you
Software testers, how can you quickly improve your testing skills? Ten minutes to teach you
Technical practice online fault analysis and solutions (Part 1)
@EnableAsync @Async
Beijing invites reporters and media
1-Redis架构设计到使用场景-四种部署运行模式(上)
STM32 key light
随机推荐
[complimentary ppt] kubemeet Chengdu review: make the delivery and management of cloud native applications easier!
Swagger2 quick start and use
功能:将主函数中输入的字符串反序存放。例如:输入字符串“abcdefg”,则应输出“gfedcba”。
技术实践|线上故障分析及解决方法(上)
Function: store the strings entered in the main function in reverse order. For example, if you input the string "ABCDEFG", you should output "gfedcba".
MPLS experiment
Technical practice online fault analysis and solutions (Part 1)
Mobile asynchronous sending SMS verification code solution -efficiency+redis
From functools import reduce -- see the use of reduce function from typical examples
Arc 135 supplementary report
国元证券开户是真的安全可靠吗
AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
机器学习基础:用 Lasso 做特征选择
STM32 key light
Employees' turnover intention is under the control of the company. After the dispute, the monitoring system developer quietly removed the relevant services
关于 uintptr_t和intptr_t 类型
How to trade spot gold safely?
In the process of seeking human intelligent AI, meta bet on self supervised learning
GUI application: socket network chat room
Anomalies seen during the interview