TC和VC编译器下典型“不兼容”C程序分析  

Discussion of Typical "Incompatible" C Programming on TC and VC

在线阅读下载全文

作  者:苑丽红[1] 孙爽滋[1] 

机构地区:[1]长春理工大学计算机学院,长春130022

出  处:《电脑编程技巧与维护》2012年第20期16-16,35,共2页Computer Programming Skills & Maintenance

摘  要:TC和VC是两种常见的C程序编译器。但有时相同的C源程序代码在TC和VC环境下却可能产生不同的运行结果。文中讨论了几类典型不"兼容"的C程序案例,如特殊字符输出、结构类型内存分配等,给出了程序在不同编译器下的运行情况,并分析其原因。Both TC and VC are common C program compiler. But sometimes the same source C code may get different result when run under TC and VC environment. This paper discusses typical "incompatible" C programming examples, in- cluding the put of special character sequences and the variable size of struct, gives the output of them under different com- piler, and analyzes the reason.

关 键 词:C程序 编译器 TC VC 

分 类 号:TP312.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象