#include #ifdef __cplusplusextern "C"
{#endif#include #include //#include #ifdef _MSC_VERint strcasecmp(const char
*s1, const char *s2){ while ((*s...
分类:
其他好文 时间:
2014-05-05 11:09:37
阅读次数:
382
elsevier 投稿时,将 .tex
文件上传到EES,总是不能够正确生成正文部分,而是一堆乱码,经过研究发现那些并非乱码,而是latex编译输出的信息。于是详细分析编译输出信息,发现提示错误“Latex
error:picins.sty not found”,于是上传“picins.sty” 包...
分类:
其他好文 时间:
2014-05-04 20:15:42
阅读次数:
360
#include
#include
int main()
{
double k,m;
int T;
scanf("%d",&T);
while(T--)
{
scanf("%lf%lf",&k,&m);
int a=pow(10,log10(m)/k);
while(pow(a+1,k)<=m)
++a;
printf("%d\n",a);
}
return 0;
}...
分类:
其他好文 时间:
2014-05-04 18:44:58
阅读次数:
296
vs2010出现fatal error LNK1123 转换到 COFF 期间失败...
分类:
其他好文 时间:
2014-05-04 18:16:49
阅读次数:
275
严重: Exception loading sessions from persistent storage
java.io.EOFException
删除Tomcat里面的work/Catalina/localhost下的内容即可解决
Tomcat在启动时出现如下异常问题:
严重: IOException while loading persisted sessions...
分类:
其他好文 时间:
2014-05-04 17:58:54
阅读次数:
313
awk程序中允许调用Shell指令,并提供管道解决awk与系统间数据传递的问题。所以awk很容易使用系统资源,读者可利用这个特点来编写某些适用的系统工具。范例:写一个awk程序来打印出线上人数。
将下列程序建文件,命名为 count.awk BEGIN { while ( "w...
分类:
其他好文 时间:
2014-05-04 11:45:51
阅读次数:
281
Actions 是由下列指令(statement)所组成: 1 表达式 (
函数调用,赋值...) 2 print 表达式列表 3 printf( 格式化字符串, 表达式列表) 4 if( 表达式 ) 语句 [else 语句] 5
while( 表达式 ) 语句 6 do 语句 while( 表.....
分类:
其他好文 时间:
2014-05-04 11:26:31
阅读次数:
486
异常(Exception)是程序在执行过程中所产生的问题。导致异常的原因有很多,例如:用户输入无效的数据、找不到一个需要打开的文件、在通讯过程中网络中断、JVM内部内存溢出等等。
有些异常是由用户操作所导致的、有些是程序员的错误导致的,有些则是硬件的故障导致的。所以异常分为错误(error)、...
分类:
编程语言 时间:
2014-05-04 10:17:24
阅读次数:
312
So many days passed since the last C tutorial about the flowchart, this chapter we will go on the flowchart and while loops...
分类:
其他好文 时间:
2014-05-04 09:01:20
阅读次数:
307