摘要:
getchar()函数的输入方式在程序中使用getchar()读取字符、程序遇到的输入会先被放到一个输入缓冲队列中,直到程序读到了\n或EOF,程序才将\n或EOF前读到的字符赋值给变量。赋值是一个字符一个字符进行的,而getchar()是一个一个字符读取的,当输入缓冲队列中还有字符,getchar... 阅读全文
摘要:
1 void base1(int b,int n) 2 { 3 int i=0,a[10]; 4 memset(a,0,sizeof(a)); 5 assert(2=b) 7 { a[i++]=n%b; 8 n=n/b; 9 } 10 a[i]=n; 1... 阅读全文
摘要:
编译带数学库源程序 gcc xxx.c -o xxx -lm测试本机各种数据类型的位数printf("%d",sizeof(int))printf("%d",sizeof(char))printf("%d",sizeof(float))printf("%d",sizeof(double)) 输入正... 阅读全文
摘要:
#include #include "math.h"int main(){ float x,a,result; a=2; printf("inpute number\n"); scanf("%f",&x); result=log(x)/log(a); printf("l... 阅读全文
摘要:
Some operating systems include the command interpreter in the kernel. Others,such as Windows and UNIX, treat the command interpreter as a special prog... 阅读全文
摘要:
Follow the tip from elimd we need to those requriementJava Development Kit1.7 or greaterVim7.1 or greaterEclipse 4.4.x (Luna)Install jdkdownload jdkun... 阅读全文
摘要:
The virtual address is partitioned into k VPNs and a VPO. Each VPN i, 1 ≤ i ≤ k,is an index into a page table at level i. Each PTE in a level-j table,... 阅读全文
摘要:
话说起来无论上不上gae都能很快的浏览stackflow,但就是无法登录。在网上找来找去都是那个方法,在控制台查看那些地址被墙了,然后添加那些被墙的地址到proxy的Switch Rule。但是还是不能够登入,系统有错误提示:Sorry, your request could not be comp... 阅读全文
摘要:
0x00 shortcutcompilation : F4run program : /rrtoggle Tcomment : gctoggle netred : Ctrl+n0x01 set your own highlightview all highlight setting with syt... 阅读全文
摘要:
When the CPU is instructed by a load instruction to read a word from ad-dress A of main memory, it sends the address A to the cache. If the cache is h... 阅读全文