Skip to Content
C语言核心技术(原书第2版)
book

C语言核心技术(原书第2版)

by Peter Prinz, Tony Crawford
August 2017
Intermediate to advanced
798 pages
17h 44m
Chinese
China Machine Press
Content preview from C语言核心技术(原书第2版)
使用
IDE
|
773
使用
IDE
要打开该对话框,在项目中右击,并在右键菜单中选择
Properties
命令。(或在
Project
菜
单中选择
Properties
,或按
<Alt + Enter>
键。)
要改变编译器或链接器的命令行选项,在
Properties
对话框的左边面板中单击
C/C++
Build
→
Settings
。
•
然后,单击
Tool Settings
选项卡,在工具列表中选择“
...Compiler
”。在右边的文
本区域中会显示
gcc
命令以及
gcc
用来调用与生成程序的所有命令行选项。在“
...
Compiler
”下列举的项目是编译器选项的特定类别。例如,如果要为
C11
设置选项,
那么在列表中选择
Dialect
,并在下拉列表中“
Language standard
”中选择选项“
ISO
C11
(
-std = C11
)”
。
•
如果在
Tool Settings
页面的工具列表中展开节点“
...Linker
”,然后点击
Libraries
,
则可以为程序指定所需链接的库名(例如,为例
19-1
中的程序链接名为
ncurses
的
库),以及指定额外的搜索库的路径。
22.4 使用Eclipse调试一个C程序
对于软件的高效开发,使用集成了图形用户界面的调试器是一个
IDE
最显著的特征。
Eclipse CDT
调试透视图是针对
GDB
调试器的图形前端。通过不同视图,分别为以下内容
提供了相关显示,如程序源代码、变量和
CPU
寄存器的值、内存区域,以及控制台
I/O
。
第
21
章详细描述了
GDB
调试器。例
21-1
中的程序在函数 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

算法精讲视频课程:24篇系列讲座

算法精讲视频课程:24篇系列讲座

罗伯特·塞奇威克, 凯文·韦恩(Kevin Wayne)

Publisher Resources

ISBN: 9787111562207