由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - C++ and threading interview questions
相关主题
debug你们用哪个软件?cpp指针地址是virtual memory address还是physical address?
《Inside Windows Debugging》英文文字版/EPUB[PDF]大骆驼要出新版了 (转载)
Cannot debug into c# dll until i reboot ?CPP 大拿看看这段代码写的咋样
这样的deadlock如何debug?问道面试体(software)
请问 c++ vs 有啥好的debug工具或者方法吗?请问Win8.1怎么同时使用Local account和MS account
编程语言选择问题一个几百个文件的程序有memory leak,如何debug
please recommend an easy windows C debugger for a beginner如何速成windbg?
windows 7 下面大家都用什么C编程软件?Help: windows debugging question: "new" caused access violation
相关话题的讨论汇总
话题: c++话题: threading话题: compiling话题: questions话题: interview
进入Programming版参与讨论
1 (共1页)
d*********1
发帖数: 25
1
a few interview questions:
1) is the c++ template parameters decided by the compiling time or running
time?
2) how do you know that a C++ template parameter are decided at the
compiling or running time?
3) what is the initial size of a vector?
4) Can the vector reaches maximum size be changed and how to change it?
5) what kind of tools are you using for debuging multiple threading?
6) how would you know a process is in deadlock? eg in debug mode.
My answers:
1) compiling time?
2) donot know....
a****l
发帖数: 8211
2
3)and4)check manual.
6)you know it when you see it.

【在 d*********1 的大作中提到】
: a few interview questions:
: 1) is the c++ template parameters decided by the compiling time or running
: time?
: 2) how do you know that a C++ template parameter are decided at the
: compiling or running time?
: 3) what is the initial size of a vector?
: 4) Can the vector reaches maximum size be changed and how to change it?
: 5) what kind of tools are you using for debuging multiple threading?
: 6) how would you know a process is in deadlock? eg in debug mode.
: My answers:

f********y
发帖数: 156
3
6) use Windbg.
If you see each of the two threads are waiting for a sync premitive used by
the other, you know it is deadlock
1 (共1页)
进入Programming版参与讨论
相关主题
Help: windows debugging question: "new" caused access violation请问 c++ vs 有啥好的debug工具或者方法吗?
如何处理蓝屏编程语言选择问题
Windows XP 下Firefox为什么启动非常慢?please recommend an easy windows C debugger for a beginner
请教VC++/C++两个interview questionswindows 7 下面大家都用什么C编程软件?
debug你们用哪个软件?cpp指针地址是virtual memory address还是physical address?
《Inside Windows Debugging》英文文字版/EPUB[PDF]大骆驼要出新版了 (转载)
Cannot debug into c# dll until i reboot ?CPP 大拿看看这段代码写的咋样
这样的deadlock如何debug?问道面试体(software)
相关话题的讨论汇总
话题: c++话题: threading话题: compiling话题: questions话题: interview