在C中解析CSV文件 [英] Parse CSV file in C

查看:181
本文介绍了在C中解析CSV文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个库,我可以用来解析CSV文件在C.我在一个Linux系统。我知道这个,但它是在C + +,我需要在C的东西。不想要经历调试和测试的痛苦,如果有人已经做到了。

Is there a library I can use to parse CSV files in C. I am on a Linux system. I know about this but it is in C++ and I need something in C. Don't want to go through the pain of debugging and testing if someone has already done it.

推荐答案

查看 libcs​​v ,它是一个用ANSI C89编写的CSV库。

Take a look at libcsv, which is a CSV library written in ANSI C89.

这篇关于在C中解析CSV文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆