生活_百度空间
 
文章列表
 
2012-05-27 09:24

#include<iostream>

#include<stdarg.h>

 

constint N=5;

usingnamespace std;

 

 
2012-05-26 13:54

bug: dft_thread.cpp:153: error: ‘memset’ was not declared in this scope
Debug:  在 dft_thread.cpp 的头文件中加 #include<cstring> , 问题解决

bug: optest.cpp:795:  error: ‘numeric_limits’ is not a member of ‘std’

Debug: You need to include the header file <limits>, which is where std::numeric_limits is defined. Your Mac compiler was helping you out by automatically including that header file; however

 
2012-05-24 12:40

版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明

http://leyley.blogbus.com/logs/88557715.html

 

 

1.调试技术的几个准则

  • 惊喜准则:找
 
2012-05-24 12:34

http://news.newhua.com/news1/program_language/2008/825/0882515463380H5A43A555A4DHKH1022KGA933I066H31E1A2889IHF0.html

gdb用法比较多,功能很强大,平时用到的命令大概二十条,因为一些原因,好久没用了,都生疏了。

昨天花了半天总结一下,详细信息还是在gdb中用help看。有点乱,网上好像没有思维导图,等有时间
用freemind做个,如有错误,还请指正!
========================================================
基于命令行的GDB前端:gdb
 
2012-05-24 00:13

"定义源代码格式化  按F12 就自动将代码格式化(注意要安装astyle)
map <F12> :call FormartSrc()<CR>
"定义FormartSrc()
func FormartSrc()
    exec "w"
    if &filetype == 'c'
        exec "!astyle % –style=ansi –suffix=none %"
        exec "e! %"

 
2012-05-18 07:15

Hydrodynamic theory of an electron gas
I. Tokatly* and O. Pankratov
Lehrstuhl fu¨r Theoretische Festko¨rperphysik, Universita¨t Erlangen-Nu¨rnberg, Staudtstrasse 7/B2, 91054 Erlangen, Germany
~Received 15 June 1999!
The generalized hydrodynamic theory, which does not require assumption of a local equilibrium, is derived
in the long-wave limit of a kinetic equation. In contrast to the Bloch hydrodynamics, the theory is applicable

 
2012-05-16 10:56

#! /bin/bash

if test $# -ne 3; then
#三个参数,分别对应开始的数字,结束的数字,输出的terminal号
echo input 4 args: start_number end_number step_number tty_number

else


start=$1
end=$2
#step=$3
for ((i=${start};i<=${end};++i)); do
    rm -rf input1.txt
    if test -f input.txt; then
        let j=i/100

 
2012-04-29 00:57

用VIM 打开文件,然后 : set fileencoding=utf-8

保存即可。

 
2012-03-23 21:30

源自:http://www.linuxidc.com/Linux/2011-09/42895.htm

Ubuntu默认没有可以播放商业DVD电影的软件,即使软件源中也不存在。通常在无法播放DVD时会提示“ An error occurred: Could not read from resource”。以下方法可以使你在10.04之后的版本上轻松播放DVD。(Totem-gstreamer 默认可以播放DVD,但是存在一些bug)

1 安装libdvdread4

 
2011-12-14 23:08

孩子在三岁前没有怎么生过病,现在到了幼儿园,真是。。。

好多小孩子在咳嗽,你说想不被病毒或者病菌感染真是太难了。

我的孩子和打了流感疫苗,结果上呼吸道感染,就是流感的一种。

现在又是肺炎,要打点滴3-5天。北医三院的儿科注射室也太小了,

患者都满了,大多是肺炎,也有病毒性感冒和哮喘的。这医院

处理传染病(流行病)怎么没有任何隔离措施。

昨天点滴还算顺利,毕竟一针成功,今天五针才成功,天哪,三针的时候,

我看到孩

 
     
 
 
日历
 
     
 
最新评论
 
     
 
文章存档
 
     
 
订阅我的空间
 
已有人次访问本空间
 
订阅RSS  什么是RSS?

您也想拥有这样的空间?请点此申请。
     
 
文章分类
 
 
 
 
 
 
Tex(29)
 
 
 
 
 
 
c++(50)
 
 
 
 
 
数学(18)
 
 
 
 
 
 
 
 
教学(21)
 
 
 
 
 
 
     
 
我的搜藏
 
     

帮助中心  |  空间客服  |  投诉中心  |  空间协议
©2012 Baidu