yuikns / nlpbamboo

Automatically exported from code.google.com/p/nlpbamboo
GNU General Public License v3.0
0 stars 0 forks source link

"snprintf" need "<cstdio>" in source/bamboo.cxx of v1.1.1 #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In source/bamboo.cxx of v1.1.1:

snprintf is not in the scope.

Original issue reported on code.google.com by winte...@gmail.com on 18 Jun 2009 at 7:25

GoogleCodeExporter commented 9 years ago
应该用的是gcc 4.4吧,把stdio加上就可以了。

Index: source/libbamboo.cxx
===================================================================
--- source/libbamboo.cxx        (revision 514)
+++ source/libbamboo.cxx        (working copy)
@@ -3,6 +3,7 @@
 #include <iostream>
 #include <vector>
 #include <stdexcept>
+#include <stdio.h>

 #include "bamboo.hxx"

Original comment by jay.shure@gmail.com on 14 Jul 2009 at 8:39

GoogleCodeExporter commented 9 years ago
fixed by laser henry. thanks very much

Original comment by jianingy...@gmail.com on 24 Mar 2010 at 7:59