项目组织用C的最佳实践 [英] Project Organization in C Best Practices

查看:99
本文介绍了项目组织用C的最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道什么是最好的做法是组织一个大型C项目有。这是一个专业的项目,而不是开源的,可能被存储在一个Git仓库。应该如何的事情进行排序?结构应该去哪里?当一个人应该用连接到结构与该采取的结构作为参数的函数的功能呢?

I am wondering what the best practices are for organizing a large C project are. It is a professional project, not an open source one, likely to be stored in a Git repository. How should things be sorted? Where should structures go? When should one use functions attached to structures versus functions that take a structure as a parameter?

在项目布局的文件来看,应该​​如何的事情走到一起呢?什么命名约定是最合适的?

In terms of laying out the files in the project, how should things come together? What naming conventions are most appropriate?

推荐答案

您可能感兴趣的答案<一个href=\"http://stackoverflow.com/questions/661307/recommendations-for-structuring-complex-applications-in-c\">this问题。

这篇关于项目组织用C的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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