- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 如何完整打印float or double
我们常用的cout qDebug() 都是默认取的6位有效数字,并不能完整的显示所有的数据内容,因此对于Qt程序, 用QString::number (a, 'g',15); 来打印完整的double, c中应该也有类似的打印代码。
2012-08-09 13:23:58 4252
原创 找了一个C库读取shapefile
可以读取shapefile, 但是shapefile本身不含有topology,所以仍不能满足要求。http://shapelib.maptools.org/shp_api.htmlboolNServerData::initShapeFile(){ const char* shp = "shapefile/freeway_polyline.shp";
2012-08-03 12:38:12 1860 2
原创 c call mysql in linux process
step 1. 下载mysql的相关文件 启动mysql服务step 2. #include lmysqlclientstep 3. C API programming tutorialhttp://zetcode.com/tutorials/mysqlcapitutorial/
2012-08-02 17:18:52 543
Effective C++
2009-03-19
Programming Windows with MFC
2009-03-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人