请高手执教
补充:
比如下面positions是一个int数组,text是一个wstring类型
(gdb) p positions
$8 = {
by cc007cc - C/C++ - 2009-11-22 21:55:39 阅读(36978) 回复(16)
print "The aswer is ",5*7,"\n"; $foo = "The aswer is ".5*7."\n"; print $foo; 刚看perl. 运行的时候老提示第2个有错误. String found where operator expected at test line 5, near "7."\n"" (Missing operator before "\n"?) why???
代码比较简单如下:
。。。。。。
int main()
{
vector
代码中 int tmp[10]; //没有初始化 调试时 (gdb) print tmp $1 = {1, 0, 1107383425, 134513318, 1108545272, 1108544020, -1073749672, 134513221, 1108544020, 1073792608} 请问可以看到这些值的16进制的显示值吗? 谢谢了。。。 [ 本帖最后由 wooin 于 2006-8-10 08:34 编辑 ]
file a.out list 在使用gdb调试程序时想要列出源代码但报错: 1 ../sysdeps/i386/elf/start.S:没有那个目录或文件 in ../sysdeps/i386/elf/start.S 不知是什么原因
请问:vector中是否能够修改其中的第i个元素的值。
比如:vector
/** * @author wzt * @param selectPanel * @version 1.01.2006.0518 */ public static vector selectPanel(Connection conn) throws SQLException { vector vc = new vector(); Statement stmt = null; ResultSet rs = null; try { stmt = conn.createStatement(); String strSql = "select record_id,classname,description,resource_record_id,querysql " + " from t_fim_manage_cost_class " ...
#include