游戏开发论坛

 找回密码
 立即注册
搜索
楼主: instemast

我改学C++,用C++开发游戏,是不是一个错?

[复制链接]

6

主题

213

帖子

213

积分

中级会员

Rank: 3Rank: 3

积分
213
发表于 2008-7-6 19:09:00 | 显示全部楼层

Re: Re: Re:我改学C++,用C++开发游戏,是不是一个错?

ricohcanon: Re: Re:我改学C++,用C++开发游戏,是不是一个错?


老潘不是改行学摄影了吗?怎么还天天上论坛啊?我听说摄影师去的地方经常是杳无人烟,穷山恶岭,鸟儿飞的进便飞不出的地方,难不成那里也有网吧? [em24] [em10]


他现在是养猪专业户! [em2]

89

主题

4036

帖子

4132

积分

论坛元老

Rank: 8Rank: 8

积分
4132
发表于 2008-7-6 22:18:00 | 显示全部楼层

Re: Re: Re:我改学C++,用C++开发游戏,是不是一个错?

学习学习ZOL: Re: Re:我改学C++,用C++开发游戏,是不是一个错?



听说你朋友生了个兔唇的孩子。还不快去拍照, [em2] [em2] [em2]


我喜欢拍你家那个没屁眼的孩子。

89

主题

4036

帖子

4132

积分

论坛元老

Rank: 8Rank: 8

积分
4132
发表于 2008-7-6 22:19:00 | 显示全部楼层

Re: Re: Re:我改学C++,用C++开发游戏,是不是一个错?

ricohcanon: Re: Re:我改学C++,用C++开发游戏,是不是一个错?


老潘不是改行学摄影了吗?怎么还天天上论坛啊?我听说摄影师去的地方经常是杳无人烟,穷山恶岭,鸟儿飞的进便飞不出的地方,难不成那里也有网吧? [em24] [em10]


我拍虫虫,公园郊区就可以了。

35

主题

1735

帖子

1739

积分

金牌会员

Rank: 6Rank: 6

积分
1739
QQ
发表于 2008-7-6 22:31:00 | 显示全部楼层

Re: Re: Re: Re:我改学C++,用C++开发游戏,是不是一个错?

xpertsoft: Re: Re: Re:我改学C++,用C++开发游戏,是不是一个错?



我拍虫虫,公园郊区就可以了。

怎么学上摄影了?难不成以后想混入美工界?做艺术总监? [em22]

89

主题

4036

帖子

4132

积分

论坛元老

Rank: 8Rank: 8

积分
4132
发表于 2008-7-6 22:46:00 | 显示全部楼层

Re:我改学C++,用C++开发游戏,是不是一个错?

嘿嘿。看教主也摄影,我是跟教主学的。

3

主题

11

帖子

11

积分

新手上路

Rank: 1

积分
11
发表于 2008-7-6 23:34:00 | 显示全部楼层

Re:我改学C++,用C++开发游戏,是不是一个错?

LZ这么爱卖弄自己的一些成果的话就不要发这种无聊的帖子
一山还有一山高,真正的高手从不爱多说什么的,相反那个肚子里没什么东西的就爱扯这扯那

怡笑大方了哦~哈哈

2

主题

30

帖子

34

积分

注册会员

Rank: 2

积分
34
发表于 2008-7-7 13:00:00 | 显示全部楼层

Re:我改学C++,用C++开发游戏,是不是一个错?

楼主说精通c++, 可能只是会语法, 怎么又突然跑vb区去了。

11

主题

1238

帖子

1782

积分

金牌会员

Rank: 6Rank: 6

积分
1782
发表于 2008-7-7 13:09:00 | 显示全部楼层

Re: Re: Re:我改学C++,用C++开发游戏,是不是一个错?

instemast: Re: Re:我改学C++,用C++开发游戏,是不是一个错?


我认为stl中iterator的 ++,--这个很好,而java只有一个next,这点很垃圾
比如处理 ui 或者精灵,绘制 和 鼠标处理 的遍历方向是相反的。


哈哈哈哈,又一个天大的笑话,遍历的方向是反的,不会用reverse_iterator吗?

这是 Standard C++ Library 的解释:
An iterator naturally imposes an order on an underlying container of values. For a vector or a map, the order is imposed by increasing index values; for a set, by the increasing order of the elements held in the container. For a list, the order is explicitly derived from the way values are inserted.
A reverse iterator yields values in exactly the reverse order of values given by the standard iterators. For a vector or a list, a reverse iterator generates the last element first, and the first element last. For a set it generates the largest element first, and the smallest element last. Strictly speaking, reverse iterators do not constitute a new category of iterator, but an adaptation of another iterator type. Consequently, we have reverse bidirectional iterators and reverse random access iterators. Any bidirectional or random access iterator can be adapted by the reverse_iterator template.

The list, set, and map datatypes provide a pair of member functions that produce reverse bidirectional iterators. The functions rbegin() and rend() generate iterators that cycle through the underlying container in reverse order. Increments to such iterators move backward, and decrements move forward through the sequence.
Similarly, the vector and deque datatypes provide functions, also named rbegin() and rend(), that produce reverse random access iterators. Subscript and addition operators, as well as increments to such iterators, move backward within the sequence.

11

主题

1238

帖子

1782

积分

金牌会员

Rank: 6Rank: 6

积分
1782
发表于 2008-7-7 13:11:00 | 显示全部楼层

Re:我改学C++,用C++开发游戏,是不是一个错?

我觉得LZ杂而不精,又是VB,又是JAVA,什么都学,一会说这个不好,拿那个来比,好像自己很博学多才似的,实际上只看到满天乱飞的牛!

362

主题

3023

帖子

3553

积分

论坛元老

Rank: 8Rank: 8

积分
3553
 楼主| 发表于 2008-7-7 19:04:00 | 显示全部楼层

Re: Re: Re: Re:我改学C++,用C++开发游戏,是不是一个错?

游戏阿家: Re: Re: Re:我改学C++,用C++开发游戏,是不是一个错?



哈哈哈哈,又一个天大的笑话,遍历的方向是反的,不会用reverse_iterator吗?

这是 Standard C++ Librar...


你真是文不对题. 要么就是你基本逻辑思维问题:

我说,java不好(无反向),C++好(即可++,又可--)

结果你粘贴一个C++ Standard出来,而我批评的是java啊.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-22 01:27

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表