大约有 48,000 项符合查询结果(耗时:0.0682秒) [XML]
How to trace the path in a Breadth-First Search?
How do you trace the path of a Breadth-First Search, such that in the following example:
5 Answers
...
How to remove the lines which appear on file B from another file A?
I have a large file A (consisting of emails), one line for each mail. I also have another file B that contains another set of mails.
...
What is a Context Free Grammar?
Can someone explain to me what a context free grammar is? After looking at the Wikipedia entry and then the Wikipedia entry on formal grammar, I am left utterly and totally befuddled. Would someone be so kind as to explain what these things are?
...
Return positions of a regex match() in Javascript?
Is there a way to retrieve the (starting) character positions inside a string of the results of a regex match() in Javascript?
...
Get all column names of a DataTable into string array using (LINQ/Predicate)
I know we can easily do this by a simple loop, but I want to persue this LINQ/Predicate?
4 Answers
...
How to convert std::string to LPCSTR?
How can I convert a std::string to LPCSTR ? Also, how can I convert a std::string to LPWSTR ?
9 Answers
...
How to check if two arrays are equal with JavaScript? [duplicate]
...
16 Answers
16
Active
...
Determining complexity for recursive functions (Big O notation)
I have a Computer Science Midterm tomorrow and I need help determining the complexity of these recursive functions. I know how to solve simple cases, but I am still trying to learn how to solve these harder cases. These were just a few of the example problems that I could not figure out. Any help wo...
'printf' vs. 'cout' in C++
What is the difference between printf() and cout in C++?
16 Answers
16
...
Why is the gets function so dangerous that it should not be used?
When I try to compile C code that uses the gets() function with GCC, I get this warning:
11 Answers
...
