如何将这些嵌入到代码中? [英] How can I embed these to codes?

查看:79
本文介绍了如何将这些嵌入到代码中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C中写了两段代码。我想把第一段代码包含在我说的第二段内。



我怎么能不用得到错误?





....问题解决了。

I have two pieces of code I wrote in C. I want to ember the 1st code inside the second where I said.

How can I do it without get errors?


....Problem solved.

推荐答案

只需将 main 函数从1 st 代码复制到2 nd 代码,重命名,例如, check_file 然后使用它。
Just copy the main function from 1stcode to 2ndcode, rename it, for instance, check_file and then use it.


这篇关于如何将这些嵌入到代码中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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