搜索资源列表
DebugView
- 微软官方的调试工具,DebugView,用于检测驱动Debug版本中的调试信息,如果用于VC,也可以查看TRACE信息,相当于查看printf内容,调试好助手-Microsoft s official debugging tools, DebugView, for detecting driving Debug version debugging information, if used for VC, you can view the TRACE information, equivalent
868123
- #include <stdio.h> #include <stdlib.h> //输入十进制数N和转化的进制数M void trans(int n,int m) { char str[100] int i for(i=0 n>0 i++) {if (n m<10) {str[i]=n m+ 0 } else {str[i]=n m-10+ A } n=n/m } for(n=i
qiuhe
- 问题描述 求1+2+3+...+n的值。 输入格式 输入包括一个整数n。 输出格式 输出一行,包括一个整数,表示1+2+3+...+n的值。 样例输入 4 样例输出 10 样例输入 100 说明:有一些试题会给出多组样例输入输出以帮助你更好的做题。 一般在提交之前所有这些样例都需要测试通过才行,但这不代表这几组样例数据都正确了你的程序就是完全正
f
- 我修改的是“工资管理”。这个程序的程序相当的复杂,最初看了几便还是看不懂上什么意思,因为里面出现了许多的我所未知的特殊的标示符。例如:printf,scanf不过这些还可以,我在书上还可以找到,但是还有的例如:FILE *file curpos,fseek,ftell,fclose and so on.我就不知道是什么意思了,而且出上也找不到,且此程序通遍是这样的语句,我更本没有办法看懂,所以在看了课程设计此题的要求之后,我就按照自己所会完成这个程序,此题的课程设计要求如下: 1.用类的形式
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
2014053082053
- 程序1】 题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月 后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 1.程序分析: 兔子的规律为数列1,1,2,3,5,8,13,21.... 2.程序源代码: main() { long f1,f2 int i f1=f2=1
new
- #include<stdio.h> main() { int a[3] int i,pass,hoad printf("shu ru san ge shuzi:") scanf(" 2d 2d 2d",&a[0],&a[1],&a[2]) for(i=0 i<=2 i++) printf(" 4d",a[i]) printf("\n") for(pass=1 pass<=2 pass++)
HelloWorld
- 最简单的C++代码,控制台输出Hello,World!-Simplest program,printf "Hello,World "
frequency.pl
- Write a Perl scr ipt frequency.pl which prints the frequency with each poet uses a word specified as argument. So if Robert Frost uses the word snow 30 times in the 21699 words of his poetry you are given, then its frequency is 30/21699 = 0.001382552
mst703-at070tn92
- MST703源代码 MST703源代码- void Init_Device(void) void StartConfig(void) void SyncModeHandler(void) BOOL TV_SearchHandle(void) void VD_DSP_Processor(void) #if(RM_EEPROM_TYPE==RM_TYPE_PMC010) void msSPI_CheckWriteProtect(void) #e
my_printf
- my_printf.c使用可变参数实现一个简单的printf()函数。-my_printf.c use of variable parameters to achieve a simple printf () function.
comparefour
- 随意输入四个数,并将输入的数字按数值从小到大进行输出。-scanf four numbers,printf them little to bige.
about-indias-temple
- 用于计算印度神庙的柱子问题,怎样子才能以最快速的方式算出其最优顺序。-#include stdio.h #include stdlib.h void move(char getone,char putone) { printf( c-> c\n ,getone,putone) } void hanoi(int n,char one,char two,char three) { if(n==1) move(one,thre
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
printf
- 关于截屏打印功能,有详细备注,但为做路径处理,写了固定保存地址。-About vc++ screen printing function
yuandaima
- 学生成绩管理文件结构 (1)先用记事本编辑文件stu1.dat存储一个班学习成绩。然后在C环境下,建立一个学生信息的结构体,用r方式打开上述文件,再用fscanf读入、用printf在屏幕上显示文件内容。 (2)利用循环使每个学生的三门功课的成绩相加,然后再把和除以三就得到了平均成绩。接着用冒泡法利用平均分的高低排出名次。最后用fprintf将每个学生的信息写入到stu2.dat文件。 -Student performance management file structure (1
printf
- C++小程序,实现将计算结果打印在程序界面中的功能-print the result in the program Window
InitServer
- if ( bind( nServerFd, (struct sockaddr *)&addr, sizeof(addr) ) <0 ) { printf( bind error\n ) exit(-1) } if ( listen( nServerFd, 128 ) < 0 ) { printf( listen error\n ) exit(-1) } - if ( bind( nServerFd, (str
compress_left.c
- Converts the unsigned integer k to binary character form with a blank after every fourth digit. Result is in string s of length 39. Caution: If you want to save the string, you must move it. This is intended for use with printf, and you can hav