大约有 42,000 项符合查询结果(耗时:0.0523秒) [XML]
How to check if the user can go back in browser history or not
I want using JavaScript to see if there is history or not, I mean if the back button is available on the browser or not.
18...
What is the difference between MOV and LEA?
I would like to know what the difference between these instructions is:
12 Answers
12
...
How to tell whether a point is to the right or left side of a line
I have a set of points. I want to separate them into 2 distinct sets. To do this, I choose two points ( a and b ) and draw an imaginary line between them. Now I want to have all points that are left from this line in one set and those that are right from this line in the other set.
...
map vs. hash_map in C++
I have a question with hash_map and map in C++. I understand that map is in STL, but hash_map is not a standard. What's the difference between the two?
...
What does immutable mean?
If a string is immutable, does that mean that....
(let's assume JavaScript)
9 Answers
...
How to generate string of a certain length to insert into a file to meet a file size criteria?
I have a requirement to test some load issues with regards to file size. I have a windows application written in C# which will automatically generate the files. I know the size of each file, ex. 100KB, and how many files to generate. What I need help with is how to generate a string less than or ...
Method Resolution Order (MRO) in new-style classes?
In the book Python in a Nutshell (2nd Edition) there is an example which uses
old style classes to demonstrate how methods are resolved in classic resolution order and
how is it different with the new order.
...
How to format a java.sql Timestamp for displaying?
How do I formate a java.sql Timestamp to my liking ? ( to a string, for display purposes)
7 Answers
...
Check whether an input string contains a number in javascript
My end goal is to validate an input field. The input may be either alphabetic or numeric.
12 Answers
...
How does one get started with procedural generation?
Procedural generation has been brought into the spotlight recently (by Spore, MMOs, etc), and it seems like an interesting/powerful programming technique.
My questions are these:
...
