如何通过C程序创建excel文件 [英] How to create an excel file through a C program

查看:70
本文介绍了如何通过C程序创建excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过C程序创建一个excel文件然后填充

it.How可以这样做吗?

解决方案

jeniffer写道:

我需要通过C程序创建一个excel文件然后填充
它。怎么可以这样做?


向微软询问文件格式,然后编写代码来生成文件。


-

Ian Collins。


jeniffer认为:

我需要通过C程序创建一个excel文件然后填充它。怎么办?




通过了解Excel文件格式(如果M


允许你),这是

在这里偏离主题。一旦你做了,你有一些C代码可以给你带来麻烦,请随时回到这里寻求帮助。


在最基本的层面上,你需要`fopen()`,`fwrite()`和朋友

来自< stdio.h> ;.


- <每一块石头潜伏着一位政治家。

- Aristophanes


< http://clc-wiki.net/wiki /Introduction_to_comp.lang.c>


I need to create an excel file through a C program and then to populate
it.How can it be done?

解决方案

jeniffer wrote:

I need to create an excel file through a C program and then to populate
it.How can it be done?


Ask microsoft for the file format, then write the code to produce the file.

--
Ian Collins.


jeniffer opined:

I need to create an excel file through a C program and then to
populate it.How can it be done?



By learning about Excel file format (if M


lets you), which is
off-topic here. Once you do, and you have some C code that gives you
troubles, feel free to come back here for help.

On the most basic level, you''d need `fopen()`, `fwrite()`, and friends
from <stdio.h>.

--
Under every stone lurks a politician.
-- Aristophanes

<http://clc-wiki.net/wiki/Introduction_to_comp.lang.c>


这篇关于如何通过C程序创建excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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