搜索资源列表
client_serveur
- client socket include <sys/types.h> include <sys/socket.h> include <stdio.h> include <netinet/in.h> include <arpa/inet.h> include <unistd.h> int main() { int sockfd int len struct so
chaofan
- #include<iostream> using namespace std int s[100005] int main() { int i,j,k,sum,n while(scanf(" d",&n)!=EOF) { for(i=0 i<n i++) scanf(" d",&s[i]) sort(s,s+n) for(i=sum=0 i<n i++) { sum += s[i] * (n - i)
uCos2_S3C2440_V2.83
- 基于S3C2440移植的uC/OS-II最新源码(V2.83),以及Flash、LCD、Nand Flash驱动和Printf库。 使用ADS开发环境。-Based on S3C2440 transplant uC/OS-II the latest source code (V2.83), as well as Flash, LCD, Nand Flash drive and Printf library. The use of ADS development environment.
STM32P103VBT6_with_stdio
- STM32 "kickstart" program with newlib/stdio like sprintf&printf
pr1
- #include<stdio.h> void main(void) {int n,k,derivata,a[10],i printf("n=") scanf(" d",&n) for(i=0 i<=n i++) { printf("a[ d]=",i) scanf(" d",&a[i]) } printf("k=") scanf(" d",&k) for(derivata=1 derivata<=k derivata++
001
- 飞虫有用的 地基基础 数电 解决 女款 看看加密那下次uhugcmjgfdcjfdok 了法律看博客简介 减肥 fsb -char buffer[BUFFERSIZE] printf("***********************************\n") printf("* Welcome to use our counter *\n") printf("* Input two integers in one line*\n") printf(
supergetopt2_src
- SuperGetOpt: Code for handling commandline arguments with an extremely easy printf-style API.
c
- 经典c程序100例 【程序1】 题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去 掉不满足条件的排列。 2.程序源代码: main() { int i,j,k printf("\n") for(i=1 i<5 i++) /*以下为三重循环*/ for(j=1 j<5 j++) for (
aj
- 本例中,定义了结构stu,定义了stu类型指针变量ps。然后分配一块stu大内存区,并把首地址赋予ps,使ps指向该区域。再以ps为指向结构的指针变量对各成员赋值,并用printf输出各成员值。最后用free函数释放ps指向的内存空间。整个程序包含了申请内存空间、使用内存空间、释放内存空间三个步骤,实现存储空间的动态分配。-This case, the definition of the structure of stu, the definition of a pointer variable
123
- 本例中四次输出了a,b的值,但由于格式控制串不同,输出的结果也不相同。第四行的输出语句格式控制串中,两格式串 d 之间加了一个空格(非格式字符),所以输出的a,b值之间有一个空格。第五行的printf语句格式控制串中加入的是非格式字符逗号, 因此输出 的a,b值之间加了一个逗号。第六行的格式串要求按字符型输出 a,b值。第七行中为了提示输出结果又增加了非格式字符串。 -In this case four times the output of a, b values, but becau
2sd
- 本例中用一个循环语句给a数组各元素送入奇数值,然后用第二个循环语句输出各个奇数。在第一个 for语句中,表达式3省略了。在下标变量中使用了表达式i++,用以修改循环变量。当然第二个for语句也可以这样作,C语言允许用表达式表示下标。 程序中最后一个printf语句输出了两次a[5]的值,可以看出当下标不为整数时将自动取整。-In this case with a loop to a surprising array of values into the elements, and then th
puke
- 编号为1-52张牌,正面向上,从第2张开始,以2为基数,是2的倍数的牌翻一次,直到最后一张牌;然后,从第3张开始,以3为基数,是3的倍数的牌翻一次,直到最后一张牌;然后…从第4张开始,以4为基数,是4的倍数的牌翻一次, 直到最后一张牌;...再依次5的倍数的牌翻一次,6的,7的 直到 以52为基数的 翻过,输出:这时正面向上的牌有哪些?-#include "stdio.h" void main() {/*采用数组存储,循环嵌套实现*/ int i,j in
PL0LANGUAGEWORDANALYSING.RAR
- 实现PL0语言的词法分析功能 输入:PL0语言的源代码 输出:源代码中的关键字以及其代号 备注:内附PL0语言文法及PL0语言简介-stage one in the PL0 language compiler word analysis module input:code of pl0 language output:two element group on the screen (implememnted by function "printf") key wo
C8051F020
- C8051F020窜口直接使用用的是printf系列的语句,精简提炼,直接编入程序直接使用即可作为串口输出-C8051F020
C_functions
- c所有函数速查日记,对于新手来说是一份很好的学习资料-#include <stdio.h> #include <stdlib.h> int main(void) { printf("Calling abort()\n") abort() return 0 /* This is never reached*/ }
chuankou
- 串口使用输出。如果其他会员下载一次您上传的源码,您的可用下载数就会增加1次。-printf
keil
- KEIL 的使用 , 很好的资料哦, 在用KEIL 的,这个很好用哦。-very good!
ARM_EINT_uart
- 在LPC2106上实现并测试过的代码,用串口收到的数据回显到串口(通过环行缓存实现)并将串口发送的接口写成了printf的形式 -To achieve the LPC2106 and tested code, serial data received echo to the serial port (via the ring buffer to achieve) and serial interface to send written in the form of a printf
cdecl
- cdecl函数调用,了解printf这样的函数调用,对比stdcall会更清楚。-cdecl function call, to understand such a function call printf, compared stdcall will be clearer.
booking_system
- 链表的输出,如何使用链表,让链表中的数据能够正确的输出!-linklist s printf