搜索结果
找到约 126 项符合
printf 的查询结果
按分类筛选
- 全部分类
- 技术资料 (20)
- 单片机开发 (16)
- 源码 (15)
- Linux/Unix编程 (10)
- 嵌入式/单片机编程 (5)
- 微处理器开发 (5)
- VC书籍 (5)
- 其他嵌入式/单片机内容 (5)
- 数学计算 (4)
- VIP专区 (4)
- 其他 (3)
- 编译器/解释器 (3)
- 数据结构 (3)
- 中间件编程 (3)
- 单片机编程 (2)
- C/C++语言编程 (2)
- Internet/网络编程 (2)
- 磁盘编程 (2)
- uCOS (2)
- 嵌入式Linux (2)
- 软件设计/软件工程 (2)
- 软件 (1)
- Linux/uClinux/Unix编程 (1)
- 操作系统开发 (1)
- 教材/考试/认证 (1)
- *行业应用 (1)
- 文件格式 (1)
- 汇编语言 (1)
- 人工智能/神经网络 (1)
- 文章/文档 (1)
- 家庭/个人应用 (1)
- 系统设计方案 (1)
其他 学会对文件的记录锁定
学会对文件的记录锁定,及解锁。#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
int main()
{
int fd
int i
struct {
char name[20]
uint ID
int age
} myrec
fd =open("name", O_RDWR|O_CREAT, 0755)
if (fd == -1) return -1
printf("Input your name:") scanf("%s", myrec.name)
...
技术资料 使用MDK5建立的STM32F10单片机工程模板
使用MDK5建立的STM32F10单片机工程模板,已经实现了在不使用MicroLIB库的前提下重定向printf和scanf函数到USART,可直接使用串口助手调试
源码 二叉树子系统
#include<stdio.h>
#define TREEMAX 100
typedef struct&nbsp; BT
{
char data;
BT *lchild;
BT *rchild;
}BT;
BT *CreateTree();
void Preorder(BT *T);
void Postorder(BT *T);
void Inorder(BT *T);
void Leafnum(BT *T);
void Nodenum(BT *T);
int TreeDepth(BT *T);
int count=0;
void main()
{
BT *T=NULL;
char ...
技术资料 stm32串口通讯历程
本文件实现串口发送功能(通过重构putchar函数,调用printf;或者USART_SendData()
* 这里是一个用串口实现大量数据传输的例子,使用了DMA模块进行内存到USART的传输
源码 数组子系统
#include <stdio.h>
#include <stdlib.h>
#define SMAX 100
typedef struct SPNode
{
int i,j,v;
}SPNode;
struct sparmatrix
{
int rows,cols,terms;
SPNode data [SMAX];
};
sparmatrix CreateSparmatrix()
{
sparmatrix A;
printf("\n\t\t请输入稀疏矩阵的行数,列数和非零元素个数(用逗号隔开):");
scanf("%d, ...
嵌入式/单片机编程 "printpp"是帮助用户调试的一个工具
"printpp"是帮助用户调试的一个工具,它相当于C提供的printf函数,但它的输出设备是串口。提供的codeworrior编程范例,旨在通过给出的范例使用户对codeworrior的使用有所了解。
VC书籍 详细介绍了C语言库函数sprintf的用法
详细介绍了C语言库函数sprintf的用法,以及他和printf的区别。sprintf提供了强大的格式功能,将结果输出到一个字符串中,对C语言开发人员很有用。
Linux/Unix编程 //获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_ha
//获得当前的模式
oldmode = vga_getcurrentmode[]
//初始化
vga_init[]
//判断是否支持该模式
if[vga_hasmode[mode]]
vga_setmode[mode]
else {
printf["No such mode\n"]
exit[1]
}
//获得当前的模式
mode = vga_getcurrentmode[]
info = vga_getmodeinfo[mode] ...
单片机开发 S3C2410开发实验源代码及实验指导;内容包括: LED_ON LED_ON_C IO_ports arm-linux-ld memory_controller Nand Flash contro
S3C2410开发实验源代码及实验指导;内容包括:
LED_ON LED_ON_C IO_ports arm-linux-ld memory_controller Nand Flash controller uart printf,scanf interrupt controller timer mmu clock vivi等;
主要讲述了单片机s3c2410的使用。
单片机开发 UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory alloc
UART I/O and Memory Allocation Example for GNU
The project GNU_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the GNU toolchain.
The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module.
The ...