Patterns for Organizing Files in Modular C Programs

C. Preschern
{"title":"Patterns for Organizing Files in Modular C Programs","authors":"C. Preschern","doi":"10.1145/3424771.3424772","DOIUrl":null,"url":null,"abstract":"Implementing large and modular C programs is tricky, because there hardly is any support by the C programming language and hardly any guidance for implementing large C programs in a way that they become modular and thus maintainable. In order to implement modular C programs, as with any other programming language, the question arises how to split the code into different files and where to put these files. While there are conventions in other programming languages on how to do that (e.g. Java advices how to structure files for packages), there are no such specific conventions for C programs. To address this issue, this paper presents design patterns containing guidance on how to structure files for modular C programs.","PeriodicalId":216842,"journal":{"name":"Proceedings of the European Conference on Pattern Languages of Programs 2020","volume":"196 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the European Conference on Pattern Languages of Programs 2020","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3424771.3424772","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Implementing large and modular C programs is tricky, because there hardly is any support by the C programming language and hardly any guidance for implementing large C programs in a way that they become modular and thus maintainable. In order to implement modular C programs, as with any other programming language, the question arises how to split the code into different files and where to put these files. While there are conventions in other programming languages on how to do that (e.g. Java advices how to structure files for packages), there are no such specific conventions for C programs. To address this issue, this paper presents design patterns containing guidance on how to structure files for modular C programs.
模块化C程序中的文件组织模式
实现大型和模块化的C程序是棘手的,因为C编程语言几乎没有任何支持,也几乎没有任何指导来实现大型C程序,使它们变得模块化,从而具有可维护性。为了实现模块化的C程序,就像使用任何其他编程语言一样,出现了如何将代码分成不同的文件以及将这些文件放在哪里的问题。虽然在其他编程语言中有关于如何做到这一点的约定(例如,Java建议如何为包构建文件),但对于C程序没有这样的特定约定。为了解决这个问题,本文提出了包含如何为模块化C程序构建文件的指导的设计模式。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信