记得当初从C语言学习开始就使用scanf,关于scanf的用法也略知一二,对使用scanf出现的问题并未进行深刻探究,故笔者打算对scanf实现进行探究。
如何找到scanf源码
关于VC中的CRT代码在 VS目录下的\VC\crt\src中,我们就先把scanf.c扒出来。
int __cdecl scanf (
const char *format,...
分类:
其他好文 时间:
2015-06-17 09:48:39
阅读次数:
166
light_oj 1356 素数独立集,二分图最大独立集B -Prime IndependenceTime Limit:3000MSMemory Limit:32768KB64bit IO Format:%lld & %lluSubmitStatusPracticeLightOJ 1356Descr...
分类:
其他好文 时间:
2015-06-17 00:38:56
阅读次数:
605
set linesize 120set pagesize 20column file_name format a8v$nls_parameters 数据字典中的一个表关于null的注意:1:包含null的表达式结果为空2:判断一个值是否等于null是用 is 不等于用is not 。记住(null!...
分类:
数据库 时间:
2015-06-16 22:35:09
阅读次数:
130
因为牵扯到这个不是自己开发的,因为版权的问题,就不贴代码了,大概理解下,这个类继承了XMLFormatter类,需要重写三个方法,format(报告的主内容),getHead(报告的头部),getTail(报告的尾部)。大概的样式如下:public class FormatterTest exten...
分类:
编程语言 时间:
2015-06-16 18:51:18
阅读次数:
142
1、string转CStringstring a=”abc”;CString str=CString(a.c_str());或str.format("%s",a.c_str())2、int转CStringInt a;CString Cstr;Cstr.Format(_T("%d"),a);3、cha...
分类:
其他好文 时间:
2015-06-16 18:26:31
阅读次数:
86
package com.joyce.pinyin4j;
import net.sourceforge.pinyin4j.PinyinHelper;
import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
im...
分类:
编程语言 时间:
2015-06-16 13:07:31
阅读次数:
178
新建.erlang文件:io:format("consulting .erlang in ~p~n",[element(2, file:get_cwd())]).c:cd("C:/erl5.7.2/work"). %注意是符号“/”,而不是“\”。目录根据各人需要自行修改io:format("Now...
1.前言相信接触过OC的对NSLog都很熟悉,细心查看NSLog的原始定义,会发现,他的原型如下:FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2);路径在:OS X version/Framewor...
分类:
其他好文 时间:
2015-06-16 01:20:12
阅读次数:
140
Text JustificationGiven an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right) just...
分类:
编程语言 时间:
2015-06-16 01:19:04
阅读次数:
271
13.1. csv — CSV File Reading and Writing ?????? The so-called CSV (Comma Separated Values) format is the most common import and export format for spreadsheets and databases. ?There is no “...
分类:
编程语言 时间:
2015-06-15 22:22:19
阅读次数:
231