搜索资源列表
printfscanf
- printf与scanf使用总结,c语言树上的往往内容很旧了,根据我两个月acm竞赛的经验,写下的使用总结-the experience of printf and scanf
exe
- 求三角形面积 判断三角形的种类以计算面积-#include<stdio.h> #include<math.h> main() { double a,b,c,p,S,i printf("Input a,b,c\n") scanf(" lf lf lf",&a,&b,&c) if(a+b>c&&a+c>b&&b+c>a){ p=(a+b+c)/2 S=sqrt((p-a)*(p-b)*(p-c)
triangular
- making triangular number with c++ using integer #include<stdio.h> int triangular(int a) main() { int x printf("menghitung triangular bilangan\n") printf("masukkan bilangan x= ") scanf(" d",&x) triangular(x)
xiangmu1
- 判断三边是否能构成三角形 如果是的话并求周长面积-#include <stdio.h> #include <math.h> void main() { int a,b,c double p,s printf("请输入三角形的三边长:") scanf(" d, d, d",&a,&b,&c) if ((a+b>c&&a-b<c)==1) { p=(a+b+c)/2 s=sqrt(p*(p-
MiniCRT
- 小型C语言运行库实现(printf,exit)-Small C language runtime implementation (printf, exit)
THERR
- hello world hello world, c++ automatic entry。printf 详细用法-hello world hello world, c++ automatic entry. printf detailed usage
004
- 用C语言里的printf函数,通过控制空格数的输出,来实现用printf画圆.-Using printf function in the C language , control the number of output spaces, to print circle with the printf function.
005
- 用C语言里的printf函数,通过控制空格数的输出,实现了用printf画正弦波。-Using printf function in the C language , control the number of output spaces, to print sinusoidal wave with the printf function.
MCS51_uCOC_II
- 1。在文件OS_CORE.C中OSMapTbl和OSUnMapTbl数组用于查表,所以应该放在code里。 增加code关键字。UCOS_II.H和OS_CORE.C。 2。OS_CFG.H堆栈大小MaxStkSize改为900。 3。OS_CPU_C.C的InitTimer0函数增加了关于开T0中断的解释。 允许T0中断,此时EA=0(51上电缺省值),中断还不会发生,满足在OSStart()前不产生中断的要求。 4。修改中断处理流程,以便严密监视中断
GYBADT
- ADT广义表数据结构的实现 printf("* ADT广义表实现 *\n") printf("****************************************************************\n") printf("* A.创建广义表 B.取表头 C.取表尾 *\n") printf("* D.求长度 E.求深度 F.求原子结点个数 *\n") printf("* G.复制广义表 H.原表插入 I.遍历广义表 *\n")
qiuhe
- 问题描述 求1+2+3+...+n的值。 输入格式 输入包括一个整数n。 输出格式 输出一行,包括一个整数,表示1+2+3+...+n的值。 样例输入 4 样例输出 10 样例输入 100 说明:有一些试题会给出多组样例输入输出以帮助你更好的做题。 一般在提交之前所有这些样例都需要测试通过才行,但这不代表这几组样例数据都正确了你的程序就是完全正
User
- STM32串口用C标准输出函数printf-STM32 serial output using standard C function printf
UART4_Printf_Scanf
- STM32F4串口程序,重定向C语言标准库函数pritnf和scanf到STM32F4的串口,这样程序中就可以使用printf和scnaf来做人机交互.-STM32F4 serial program, redirect C language standard library functions pritnf and scanf to STM32F4 serial, so the program can use printf and scnaf do human-computer interact
PrintppSources
- "printpp"是帮助用户调试的一个工具,它相当于C提供的printf函数,但它的输出设备是串口。提供的codeworrior编程范例,旨在通过给出的范例使用户对codeworrior的使用有所了解。--A debugging tool. It is equivalent to the "printf" in C, but its output device is serial port. The sample code is compiled in codewarrior. By using
3015_EX01
- Exercise 1: Programming Environment and Basic Input/Output 1. Write a program that prints “This is my first program!” on the screen. (a) Save this program onto your own disk with the name of e2-1a (b) Run this program without opening Turbo
flasharm
- s3c6410的裸机程序,实现了printf函数。lcd,uart等程序,初学者之至宝啊-the naked machine code in C language.for the initial code learner.
Desktop
- #include<stdio.h> #include<math.h> main() { int i,x scanf(" d",&x) for(i=2 i<=x-1 i++) if(x i==0) printf("NO\n") for(i=2 i<=x/2 i++) for(i=2 i<=sqrt(x) i++) } 第十行不加冒号时出错信息为: C:\Documents and Settings\w
HelloWorld
- 最简单的C++代码,控制台输出Hello,World!-Simplest program,printf "Hello,World "
A-simple-procedure
- #include<stdio.h> int main() { printf(“this is a c program.\n”) return 0 }-A simple procedure
periodString
- C语言编程题目:判断输入的字符串是否是周期性的,是则求最小正周期长度,printf打印出了整个过程。-C language programming topics: the string to determine whether the input is cyclical, that is seeking the smallest positive cycle length, printf to print out the whole process.