搜索资源列表
my_printf
- my_printf.c使用可变参数实现一个简单的printf()函数。-my_printf.c use of variable parameters to achieve a simple printf () function.
cppformat-master
- C++ Format is an open-source formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams.
APB_Problem
- POJ试题 A+B Q: Where are the input and the output? A: Your program shall always read input stdin (Standard Input) and write output to stdout (Standard Output). For example, you can use scanf in C or cin in C++ to read stdin, and use printf in C
yaolog
- 就C++而言,不少程序员只是简单地用printf来输出日志,或者临时写个日志类,log4cpp等比较“重型”的日志库的使用率反而并不怎么高(至少从我经历的项目而言)。也许是不想为不需要的功能付出额外的学习成本,但无论如何,对于通用类别的工具采取临时手写的方式来应付,从长远考虑,在功能性和健壮性方面是得不偿失的。写这个日志类(yaolog)的最初的想法只是为了实现“输出到文件的带有时间信息的printf”,后来历经不同项目需求的“拷问”,借鉴和引用了很多开源代码(在此对那些作者表示感谢),就成了现
project4
- 本例程移实现SD卡虚拟U盘功能。本例程的源代码主要来自于ST的USB固件库中的范例。 程序功能有: (1) 输入字符1,软件移除U盘设备。 (2) 输入字符2,软件重新使能U盘设备。 在工程配置中,需要添加2个固件库中用到的预编译宏:USE_USB_OTG_FS,USE_EMBEDDED_PHY 如果需要跟踪USB通信过程,可以修改2行宏定义 : (a) usbd_usr.c 文件开头 //#define usb_printf pri
BNUTBDJNBOOFR
- 【程序29】 题目:给一个不多于5位的正整数,要求:一、求它是几位数,二、逆序打印出各位数字。 1. 程序分析:学会分解出每一位数,如下解释:(这里是一种简单的算法,师专数002班赵鑫提供) 2.程序源代码: 复制代码 代码如下: #include stdio.h #include conio.h main( ) { long a,b,c,d,e,x scanf( ld ,&x) a=x/10000 分解出万位 b=x 10000
yuandaima
- 学生成绩管理文件结构 (1)先用记事本编辑文件stu1.dat存储一个班学习成绩。然后在C环境下,建立一个学生信息的结构体,用r方式打开上述文件,再用fscanf读入、用printf在屏幕上显示文件内容。 (2)利用循环使每个学生的三门功课的成绩相加,然后再把和除以三就得到了平均成绩。接着用冒泡法利用平均分的高低排出名次。最后用fprintf将每个学生的信息写入到stu2.dat文件。 -Student performance management file structure (1
stringprintf
- Printf variants that place their output in a C++ string.Lower-level routine that takes a va_list and appends to a specified string. All other routines are just convenience wrappers around it.
wiless
- 实验器材: 战舰STM32F103开发板V3版本 实验目的: 学习NRF24L01 2.4G无线模块的使用. 硬件资源: 1,DS0(连接在PB5) 2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A10接RS) 4,KEY0按键(连接在PE4)/KEY1按键(连接在PE3)
IIC
- 实验目的: 学习STM32模拟IIC的使用,驱动24C02实现EEPROM数据读写. 硬件资源: 1,DS0(连接在PB5) 2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A10接RS) 4,按键KEY0(PE4)/KEY1(PE3) 5,24C02(IIC连接在PB6/PB7上面)
linked_list
- 链表的基本输入输出操作。谭浩强《C程序设计(第四版)》-linded list s basic scanf and printf.
ATSAMA5D3X-EK_uCOS-III
- ATsama5D3X上的uC/OS-III操作系统的移植版本,使用IAR编译器,更改printf()货直接屏蔽就可以使用。-关闭翻译英语中文德语检测语言 中文(简体)英语日语 翻译文字或网页 ATsama5D3X上的uC/OS-III操作系统的移植版本,使用IAR编译器,更改printf()货直接屏蔽就可以使用。 请键入文字或网站地址,或者上传文档。 取消 ATsama5D3X shàng de uC/OS-III cāozuò xìtǒng de yízhí bǎ
c105
- 变温度为华氏摄氏度 然后让你知道温度为多少华氏摄氏度-#include < stdio.h> void main(){ double f,c printf( 请输入华氏温度: ) scanf( lf ,&f) c=5.0/9.0*(f-32) printf( 与华氏温度 .2lf对应的摄氏温度是: .2lf\n ,f,c) }
xueshengchengji
- C语言学生成绩管理 printf( 第一门课程\t第二门课程\t第三门课程\n .2f\t .2f\t .2f\n ,n1/i,n2/i,n3/i) -C language student achievement management
MiniCRT
- 小型C语言运行库实现(printf,exit)-Small C language runtime implementation (printf, exit)
Part2_Exercieses
- it is example for how to printf array in c code
Part2_Exercieses
- this example of how to printf array in c code-this is example of how to printf array in c code
xunhuan
- 包含三个程序,两个是关于冒牌排序和多重循环的算法研究,另一个是实现在terminal中显示字符的程序,即实现c语言中的库函数printf-It contains three programs, two of which are on counterfeit sorting algorithm and multi-loop, and the other is to achieve terminal to display characters in the program, namely, the
write_printf_yourself
- C语言变参_实现自己的printf,详细讲解变参在堆栈中的存放和读取,讲解如何实现一个变参函数,最终给出实现一个printf的参考,对于不能支持printf的系统非常有帮助,建议使用标准头文件stdarg.h。-C language parameters _ to achieve their own printf, explain in detail on the stack in the storage and read, explain how to achieve a variable f
AEWLOV770
- 源程序要正确地运行,必须要有什么函数 printf函数 自定义的函数 C-Source program to run properly, must want to have what function printf functions custom C