|
 
- 帖子
- 32
- 精华
- 0
- 青韶币
- 54
- 魅力
- 0
- 威望
- 0
- 性别
- 男
- 注册时间
- 2003-9-26
|
C++菜鸟问题?
? 怎么测试回车键, //太菜了!
/*Create a struct with a single int data member, and two global functions, each of which takes a pointer to that struct. The first function has a second int argument and sets the struct’s int to the argument value, the second displays the int from the struct. Test the functions. */ //没有中文版的题集
我知道vector可有数组的形势读取,但怎样改变一个先前已写入数据的容器的值.
例:vector v; v[0] = 0;//要实现类似这样的功能,虽然这句是错的.
一般的编译器(G++)怎么在内存中存放常量? (自从有了CONST之后常量的操作就不好把握了,像我这本书<> 用了一章讲常量.
有同路人正在攻C++的吗?和我联系罗:wefifa@yahoo.com |
|
左走右走,对每一个相逢的朋友都展开笑容
\ - - //
( @ @ )
┏━oOOo-(_)-oOOo━━━━━━━━━┓
一往无前 来自 网易北京 |
|