Redian新闻
>
给用C++面试的同胞提个醒
avatar
给用C++面试的同胞提个醒# JobHunting - 待字闺中
H*s
1
用C++面试就一定要精通,不要写出的还是C style 的代码,如果那样还不入直接说用C
面试。另外现在已经13年了,尽量写出C++11的代码,否则会被人认为不够与时俱进。
用C++面试的好处就是遇到的烙印比较少,这点java 就没有优势了。
avatar
h*g
2
面试代码一般就一个函数,c++和c能差别在什么地方?
avatar
S*I
3
STL

【在 h********g 的大作中提到】
: 面试代码一般就一个函数,c++和c能差别在什么地方?
avatar
u*o
4
iterators,
functors
containers...

【在 h********g 的大作中提到】
: 面试代码一般就一个函数,c++和c能差别在什么地方?
avatar
r*n
5
问题是用C++ 11写个代码还要解释一下auto,range for-loop
avatar
n*o
6
......

【在 h********g 的大作中提到】
: 面试代码一般就一个函数,c++和c能差别在什么地方?
avatar
n*e
7
谢谢搂住提醒,我以前就这么干过,coding的时候也顾不上想那么多,就直接用C写了.汗.
...
avatar
e*d
8
using C++ to coding can only reflect basic STL. C++ semantics and design
pattern interviews are complete different from using C++ to do leetcode.
C++11 is still in the early stage and being experimentally supported by GCC.
No large scale project as far as i know is picking up C++11 anytime soon.
the standard is not final yet. no need to worry too much.
avatar
H*s
9
That is already outdated, it was called C++0x before the standard was
finalized.
Now nearly every major C++ compiler supports C++11, leetcode also supports C
++11 now.

GCC.

【在 e****d 的大作中提到】
: using C++ to coding can only reflect basic STL. C++ semantics and design
: pattern interviews are complete different from using C++ to do leetcode.
: C++11 is still in the early stage and being experimentally supported by GCC.
: No large scale project as far as i know is picking up C++11 anytime soon.
: the standard is not final yet. no need to worry too much.

avatar
H*r
10
好像还没有一个compiler支持所有C++11 的feature的

C
★ 发自iPhone App: ChineseWeb 7.8

【在 H****s 的大作中提到】
: That is already outdated, it was called C++0x before the standard was
: finalized.
: Now nearly every major C++ compiler supports C++11, leetcode also supports C
: ++11 now.
:
: GCC.

avatar
g*e
11
感觉好难啊
avatar
H*s
12
That's true! but we won't use those features during an interview.

【在 H****r 的大作中提到】
: 好像还没有一个compiler支持所有C++11 的feature的
:
: C
: ★ 发自iPhone App: ChineseWeb 7.8

avatar
e*d
13
把时髦的技术挂在嘴边,不如把过时的技术记住心理
Given limited preparation time, i would suggest every one who is
interviewing a c++ position focusing on the most fundmentals, review most
populator c++ books like efffective series, thinking in cpp, cppl.
Although it is always good to know new features/enhancement in the language
you use daily, there is no hurry for new hires to know new features in
advance. Most existing large scale software, especially infrastructure
stuffs will take a long cycle to upgrade, including compilers, libs,
backward compatbility, etc. Most interviewers don't care so much if you know
c++11 or not.
a few years from now, when using c++11 is a common practice, then to pick up
won't cost you more than a few days.

【在 H****s 的大作中提到】
: That's true! but we won't use those features during an interview.
avatar
e*t
14
the interviewer at facebook likes C++11
he said at least his group switched to C++11
he even asked me why I was not using auto

GCC.

【在 e****d 的大作中提到】
: using C++ to coding can only reflect basic STL. C++ semantics and design
: pattern interviews are complete different from using C++ to do leetcode.
: C++11 is still in the early stage and being experimentally supported by GCC.
: No large scale project as far as i know is picking up C++11 anytime soon.
: the standard is not final yet. no need to worry too much.

avatar
f*4
15
GCC 4.8.1 is the first C++11 feature-complete compiler, released on 2013-05-
31

【在 H****r 的大作中提到】
: 好像还没有一个compiler支持所有C++11 的feature的
:
: C
: ★ 发自iPhone App: ChineseWeb 7.8

avatar
f*4
16
That's not true. Check gcc4.8.1

【在 H****s 的大作中提到】
: That's true! but we won't use those features during an interview.
avatar
f*4
17
花时间了解一下新标准改进的地方,还是很有用的。
比如新标准里面静态对象多线程的初始化是安全的。新标准规定了该静态对象只会由一
个线程初始化,其它访问该对象的线程会被block住,直到初始化完成。
老标准就没有这个要求。

language
know

【在 e****d 的大作中提到】
: 把时髦的技术挂在嘴边,不如把过时的技术记住心理
: Given limited preparation time, i would suggest every one who is
: interviewing a c++ position focusing on the most fundmentals, review most
: populator c++ books like efffective series, thinking in cpp, cppl.
: Although it is always good to know new features/enhancement in the language
: you use daily, there is no hurry for new hires to know new features in
: advance. Most existing large scale software, especially infrastructure
: stuffs will take a long cycle to upgrade, including compilers, libs,
: backward compatbility, etc. Most interviewers don't care so much if you know
: c++11 or not.

avatar
r*n
18
the last time I checked, GCC does not support regex in C++ 11,
http://gcc.gnu.org/gcc-4.8/cxx0x_status.html

05-

【在 f****4 的大作中提到】
: GCC 4.8.1 is the first C++11 feature-complete compiler, released on 2013-05-
: 31

avatar
f*p
19

用visual c++会很遗憾呀,连C都支持到C90,连C99都不是。

【在 r*********n 的大作中提到】
: the last time I checked, GCC does not support regex in C++ 11,
: http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
:
: 05-

avatar
r*n
20
visual c++反而支持C++ 11 regular expression
不过这些都不是最重要的,重要的是会用unordered_map/set,特别是面算法题的时候

【在 f****p 的大作中提到】
:
: 用visual c++会很遗憾呀,连C都支持到C90,连C99都不是。

avatar
e*d
21
exactly, that's what i mean. if a new hire knows what is "static", what is
thread, block, what's under the hood of a constructor call, then the guy is
able to figure out the new C++11 features without a problem. Then why bother
to ask C++11 during an interview?
on the other hand, it is always important to keep oneself uptodate, be
familiar with c++ 11 is definitely a plus. However, given a limited amount
of preparation time for most fresh grads, better off know the basics well.

【在 f****4 的大作中提到】
: 花时间了解一下新标准改进的地方,还是很有用的。
: 比如新标准里面静态对象多线程的初始化是安全的。新标准规定了该静态对象只会由一
: 个线程初始化,其它访问该对象的线程会被block住,直到初始化完成。
: 老标准就没有这个要求。
:
: language
: know

avatar
S*I
22
C不是C++,不需要那些奇技淫巧,C90就够用了。

【在 f****p 的大作中提到】
:
: 用visual c++会很遗憾呀,连C都支持到C90,连C99都不是。

avatar
s*e
23
C99有些特性还是不错的,比如变长数组。
avatar
u*o
24
奇技淫巧....
哈哈哈哈。。

【在 S**I 的大作中提到】
: C不是C++,不需要那些奇技淫巧,C90就够用了。
avatar
r*t
25
这句话好像似曾相识,呵呵

【在 S**I 的大作中提到】
: C不是C++,不需要那些奇技淫巧,C90就够用了。
avatar
n*u
26
哪些公司用C加加呀,最好是东岸的?

用C

【在 H****s 的大作中提到】
: 用C++面试就一定要精通,不要写出的还是C style 的代码,如果那样还不入直接说用C
: 面试。另外现在已经13年了,尽量写出C++11的代码,否则会被人认为不够与时俱进。
: 用C++面试的好处就是遇到的烙印比较少,这点java 就没有优势了。

avatar
x*w
27

language
know
"把时髦的技术挂在嘴边,不如把过时的技术记住心理"
Looks so familiar.... Remeber the old times ....
I'm old... T__T

【在 e****d 的大作中提到】
: 把时髦的技术挂在嘴边,不如把过时的技术记住心理
: Given limited preparation time, i would suggest every one who is
: interviewing a c++ position focusing on the most fundmentals, review most
: populator c++ books like efffective series, thinking in cpp, cppl.
: Although it is always good to know new features/enhancement in the language
: you use daily, there is no hurry for new hires to know new features in
: advance. Most existing large scale software, especially infrastructure
: stuffs will take a long cycle to upgrade, including compilers, libs,
: backward compatbility, etc. Most interviewers don't care so much if you know
: c++11 or not.

avatar
x*w
28

奇淫技巧 ...
Wo xie e le

【在 u*****o 的大作中提到】
: 奇技淫巧....
: 哈哈哈哈。。

avatar
t*t
29
金融相关比较多

【在 n*****u 的大作中提到】
: 哪些公司用C加加呀,最好是东岸的?
:
: 用C

avatar
l*o
30
You are too outdated. GCC-4.8 almost completely supports C++11 features,
except a few such as GC support. Tech companies like FB or Google already
start to use a bunch of C++11 features and will approve more features into
their code base.

using C++ to coding can only reflect basic STL. C++ semantics and design
pattern interviews are complete different from using C++ to do leetcode.
C++11 is still in the early stage and being experimentally supported by GCC.
No large scale project as far as i know is picking up C++11 anytime soon.
the standard is not final yet. no need to worry too much.

【在 e****d 的大作中提到】
: using C++ to coding can only reflect basic STL. C++ semantics and design
: pattern interviews are complete different from using C++ to do leetcode.
: C++11 is still in the early stage and being experimentally supported by GCC.
: No large scale project as far as i know is picking up C++11 anytime soon.
: the standard is not final yet. no need to worry too much.

avatar
h*g
31
好吧,不过用STL不是缺省项么?用纯西写不是要写死了。

【在 S**I 的大作中提到】
: STL
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。