- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 C语言中关于数组和结构体
C语言字符串数组在使用的过程中的注意事项:1. 字符串数组范围的选择在C语言中使用数组的时候要时刻注意数组的范围以及在程序运行过程中是否会出现数组越界的情况,本篇说明根据在编写PAT乙级1004题目的代码时所犯下的错误进行理解数组。 题中需要定义学号和姓名的数组且学号和姓名不超过10个字符,我的错误定义数组范围为:char name[10];char course[10];
2016-11-15 22:03:14 423
gdb调试工具
README for GNU development tools
This directory contains various GNU compilers, assemblers, linkers,
debuggers, etc., plus their support routines, definitions, and documentation.
If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README; if with a libg++ release,
see libg++/README, etc. That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.
It is now possible to automatically configure and build a variety of
tools with one command. To build all of the tools contained herein,
run the ``configure'' script here, e.g.:
./configure
make
To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
make install
(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''. You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)
If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make. For example (assuming sh/bash/ksh):
CC=gcc ./configure
make
A similar example using csh:
setenv CC gcc
./configure
make
Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc. See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.
REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.
2013-05-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人