由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 请教如何自己C++编程牛逼些
相关主题
请教一个boost::bind的问题一个小问题
C++多线程的选择容器里边放指针怎么办?
C++ templatesc++里的STL和Boost 是什么关系?
用C++的写的numerical or optimization solver libraryZT:C++未来断想
lambda 什么时候进入 c++的?C++中如何处理日期时间?
boost::function 的 syntax 问题boost::variant 的问题
Undefined symbols for architecture x86_64: 求助which Regular Expression lib in C++ do you prefer?
请教boost::any compile错误。小白一问:vista下面用什么C编译器?
相关话题的讨论汇总
话题: c++话题: digraph话题: int话题: adj话题: node
进入Programming版参与讨论
1 (共1页)
C*O
发帖数: 389
1
我一般用Python
不过C++好找工作,自己看了C++ Primer, effective c++ 也看了点
还是不熟悉
怎么才能再提高c++编程能力呢
D*******a
发帖数: 3688
2
you need to work on actual projects to gain experience

【在 C*O 的大作中提到】
: 我一般用Python
: 不过C++好找工作,自己看了C++ Primer, effective c++ 也看了点
: 还是不熟悉
: 怎么才能再提高c++编程能力呢

X****r
发帖数: 3557
3
Assuming you already know the basics.
In the following order:
1. Write code.
2. Read other's good code. Compare to your own code.
Try to understand why they do things differently.
3. Write more code, in better quality.
4. Only at this point start to read books. If you don't
immediately understand what the book says, that's
too earlier for you.
If you have a chance, work together with an experienced
programmer so you can observe their work and let them
check yours. Getting through code reviews from them, or
pairing with them, would be even better.

【在 C*O 的大作中提到】
: 我一般用Python
: 不过C++好找工作,自己看了C++ Primer, effective c++ 也看了点
: 还是不熟悉
: 怎么才能再提高c++编程能力呢

X****r
发帖数: 3557
4
But frankly, if your ultimate target is to land a good
job, spending time on interview questions would be more
cost-effective than learning to write better code.

【在 C*O 的大作中提到】
: 我一般用Python
: 不过C++好找工作,自己看了C++ Primer, effective c++ 也看了点
: 还是不熟悉
: 怎么才能再提高c++编程能力呢

C*O
发帖数: 389
5
多谢回复啊
现在没机会做project
有没有推荐的联系册呢

【在 X****r 的大作中提到】
: Assuming you already know the basics.
: In the following order:
: 1. Write code.
: 2. Read other's good code. Compare to your own code.
: Try to understand why they do things differently.
: 3. Write more code, in better quality.
: 4. Only at this point start to read books. If you don't
: immediately understand what the book says, that's
: too earlier for you.
: If you have a chance, work together with an experienced

a****l
发帖数: 8211
6
我觉得高级的编程技巧其实没什么用,还是好的系统设计更重要.

【在 X****r 的大作中提到】
: But frankly, if your ultimate target is to land a good
: job, spending time on interview questions would be more
: cost-effective than learning to write better code.

C*O
发帖数: 389
7
设计模式
?

【在 a****l 的大作中提到】
: 我觉得高级的编程技巧其实没什么用,还是好的系统设计更重要.
D*******a
发帖数: 3688
8
unfortunately design skills come from experience

【在 a****l 的大作中提到】
: 我觉得高级的编程技巧其实没什么用,还是好的系统设计更重要.
g*********s
发帖数: 1782
9

how to find others' good code?

【在 X****r 的大作中提到】
: Assuming you already know the basics.
: In the following order:
: 1. Write code.
: 2. Read other's good code. Compare to your own code.
: Try to understand why they do things differently.
: 3. Write more code, in better quality.
: 4. Only at this point start to read books. If you don't
: immediately understand what the book says, that's
: too earlier for you.
: If you have a chance, work together with an experienced

g**w
发帖数: 969
10
STL, or BOOST library.:)

【在 g*********s 的大作中提到】
:
: how to find others' good code?

相关主题
boost::function 的 syntax 问题一个小问题
Undefined symbols for architecture x86_64: 求助容器里边放指针怎么办?
请教boost::any compile错误。c++里的STL和Boost 是什么关系?
进入Programming版参与讨论
g**w
发帖数: 969
11
你C熟不熟?
C不熟,学C++就比较头痛

【在 C*O 的大作中提到】
: 我一般用Python
: 不过C++好找工作,自己看了C++ Primer, effective c++ 也看了点
: 还是不熟悉
: 怎么才能再提高c++编程能力呢

g*********s
发帖数: 1782
12
that's too advanced.
i mean sample codes of those small algorithms.

【在 g**w 的大作中提到】
: STL, or BOOST library.:)
g*********s
发帖数: 1782
13
how about this one?
http://www.amazon.com/Bundle-Algorithms-Parts-1-5-
Fundamentals/dp/020172684X/ref=sr_1_1?ie=UTF8&qid=1302307836&sr=8-1

【在 g*********s 的大作中提到】
: that's too advanced.
: i mean sample codes of those small algorithms.

p***o
发帖数: 1252
14
Here is some code from the book. You can decide if you want to
read it ... I would spend my time on STL and Boost, at least
they are shown to be WORKING.
class SparseMultiGRAPH
{ int Vcnt, Ecnt; bool digraph;
struct node
{ int v; node* next;
node(int x, node* t) { v = x; next = t; }
};
typedef node* link;
vector adj;
public:
SparseMultiGRAPH(int V, bool digraph = false) :
adj(V), Vcnt(V), Ecnt(0), digraph(digraph)
{ adj.assign(V, 0); }
int V() const { return Vcnt; }
int E() const { return Ecnt; }
bool directed() const { return digraph; }
void insert(Edge e)
{ int v = e.v, w = e.w;
adj[v] = new node(w, adj[v]);
if (!digraph) adj[w] = new node(v, adj[w]);
Ecnt++;
}
void remove(Edge e);
bool edge(int v, int w) const;
class adjIterator;
friend class adjIterator;
};

【在 g*********s 的大作中提到】
: how about this one?
: http://www.amazon.com/Bundle-Algorithms-Parts-1-5-
: Fundamentals/dp/020172684X/ref=sr_1_1?ie=UTF8&qid=1302307836&sr=8-1

d****p
发帖数: 685
15
second this.
Do more actual coding first before touching this high level stuff. better
design comes from lessons learnt after painful coding.

【在 D*******a 的大作中提到】
: unfortunately design skills come from experience
c**b
发帖数: 2999
16
c++ 好找工作? 谁说的? 那java人士不要笑了?

【在 C*O 的大作中提到】
: 我一般用Python
: 不过C++好找工作,自己看了C++ Primer, effective c++ 也看了点
: 还是不熟悉
: 怎么才能再提高c++编程能力呢

M**u
发帖数: 10158
17
读代码

【在 C*O 的大作中提到】
: 我一般用Python
: 不过C++好找工作,自己看了C++ Primer, effective c++ 也看了点
: 还是不熟悉
: 怎么才能再提高c++编程能力呢

x*******i
发帖数: 777
18
JAVA都被有经验的阿三占坑了,门槛高着呢
我觉得C++\php\python\c\c#更好

【在 c**b 的大作中提到】
: c++ 好找工作? 谁说的? 那java人士不要笑了?
1 (共1页)
进入Programming版参与讨论
相关主题
小白一问:vista下面用什么C编译器?lambda 什么时候进入 c++的?
请推荐好的c++下的matrix库boost::function 的 syntax 问题
请教C++ thread libraryUndefined symbols for architecture x86_64: 求助
statistical programming请教boost::any compile错误。
请教一个boost::bind的问题一个小问题
C++多线程的选择容器里边放指针怎么办?
C++ templatesc++里的STL和Boost 是什么关系?
用C++的写的numerical or optimization solver libraryZT:C++未来断想
相关话题的讨论汇总
话题: c++话题: digraph话题: int话题: adj话题: node