我一般用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?
【在 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;
};