question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
621616
C++: What is the size of an object of an empty class?
2368064
How to protect your software code?
109997
How do you protect your software from illegal distribution?
2326958
Why would someone use C instead of C++?
649789
What would be C++ limitations compared C language?
1320088
How do I retrieve a textbox value using JQuery?
463506
How do I get the value of a textbox using jQuery?
1366237
How to find out all possible values of an enum?
1367316
#include <> and #include ""
21593
What is the difference between #include <filename> and #include "filename"?
2259775
What do you call the &: operator in Ruby?
1217088
What does map(&:name) mean in Ruby?
2260124
how to capture result from system() in C/C++
4716513
Ruby Regular expression to match a url
1141848
Regex to match URL
4848086
How do I dismiss a UITextView using the Done keyboard button?
703754
How to dismiss keyboard for UITextView with return key?
4801146
C++ hex string to unsigned int
1070497
C++ convert hex string to signed integer
3796841
getting the difference between date in days in java
3491679
how to calculate difference between two dates using java
3825126
javascript framework for relationship visualization
4298149
C# using own font without install it
727053
How do I Embed a font with my C# application? (using Visual Studio 2005)
4594744
Cast a bool in JavaScript
263965
How can I convert a string to boolean in JavaScript?
3910221
What is NHibernate and why should I use it?
959270
What is NHibernate?
4433915
Why is sorting a string O(n log n)?
4449493
How do I check the version of the .NET Framework that a DLL file was compiled against?
2310701
Determine framework (CLR) version of assembly
3839780
Switch statement with multiple constant-expression in c#. Is it possible?
68578
Multiple cases in switch statement
3264732
Java Map<K,V> : Why get(object) not get(K)?
1455138
Java Generics: Why Does Map.get() Ignore Type?
3284452
get nth weekday of month in C#
288513
How do I determine if a given date is the Nth weekday of the month?
4856689
What is this called in php: ->
1580757
What is the official name of C++'s arrow (->) operator?
2588149
What is the "->" PHP operator called?
4861803
How do I make Java ignore the number of spaces in a string when splitting?
225337
How to split a string with any whitespace chars as delimiters
3851326
Get current time
566265
Retrieving current local time on iPhone?
3316407
Benefits and uses of a functional programming language
36504
Why functional languages?
4477552
MySQL - What is the difference between GROUP BY and DISTINCT?
164319
Is there any difference between GROUP BY and DISTINCT
4486261
Does c# string have a length limit
140468
What is the maximum possible length of a .NET string?
4490454
How to take a screenshot in Java?
58305
Is there a way to take a screenshot using Java and save it to some sort of image?
3362335
difference between encapsulation and abstraction concepts
24626
Abstraction VS Information Hiding VS Encapsulation
4313823
How to mail in C# with the Gmail SMTP server?
704636
Sending email through Gmail SMTP server with C#
4321320
Move Rows up and down in html table
617274
Swapping rows in JQuery
4357007
What does "slug" mean
4230846
What is the etymology of 'slug'?
4611106
What's the fastest algorithm to divide an integer by 3 without using a division instruction?
171301
What's the fastest way to divide an integer by 3?
4639718
finding middle element of an array
251781
How to find the kth largest element in an unsorted array of length n in O(n)?
3312914
Setting up a pc bluetooth server for android
3397071
Service discovery failed exception using Bluetooth on Android
4396583
Java Swing: repaint() vs invalidate
1097366
Java Swing revalidate() vs repaint()
4734161
Datagrid vs Gridview
4230
The Difference Between a DataGrid and a GridView in ASP.NET?
4736867
How can I force browsers to reload cached CSS files when using Asp.Net Themes?
4517281
CSS in App_Theme folder gets Cached in Browser
3946121
t-sql get all dates between 2 dates
271595
Getting Dates between a range of dates
3949980
What programming languages can one use to develop Android applications?
4512631
Difference between "endl" and "\n"
213907
"std::endl" vs "\n"
4678333
n & (n-1) what does this expression do?
3265942
What does this function do?
2450866
Why doesn't the conditional operator correctly allow the use of "null" for assignment to nullable types?
75746
Conditional operator assignment with Nullable<value> types?
858080
Nullable types and the ternary operator: why is `? 10 : null` forbidden?
4871065
What is faster in PHP, single or double quotes?
482202
Is there a performance benefit single quote vs double quote in php?
3897249
How to avoid multiple if null checks
3468250
C# elegant way to check if a property's property is null
3426979
Javascript: Checking if an object has no properties or if a map/associative-array is empty
679915
How do I test for an empty JavaScript object?
3431064
what is "?? "operator in c#?
4921150
When to use static member function?
2315166
Where would you use a friend function vs. a static member function?
4723143
Static member functions
3975098
Is there any difference between <b> tag and <strong> tag in html
271743
What's the difference between <b> and <strong>, <i> and <em>?
4781621
C# Difference between factory pattern and IoC
557742
Dependency Injection vs Factory Pattern
4782332
How can my code tell if it's running on Google's server or my local development server?
1916579
In Python, how can I test if I'm in Google App Engine SDK?
4791883
C++ - struct vs. class
2750270
C/C++ Struct vs Class
4794700
Box and UnBox what does it means?
13055
What is boxing and unboxing and what are the trade offs?
4936862
'?' versus '#!' in URLs
3009380
What's the shebang/hashbang (#!) in Facebook and new Twitter URLs for?
4945418
How to delete a file that exists
1248292
How to delete a file from SD card?
4843925
Do Design patterns in Object Oriented Programming signal systemic problems of the paradigm of OO?
1579162
Are design patterns really language weaknesses?
4706584
what does this mean in c int a:16;?
2498494
Android, Transparent sub-GLSurfaceView in layout?
2034822
Android OpenGL ES Transparent Background
4480788
C/C++ switch case with string
4165131
C/C++: switch for non-integers
4485259
Inversion of Control (IoC / Dependency Injection) for Dummies
3058
What is Inversion of Control?
4488969
Split a string by capital letters
1097901
Regular expression, split string by capital letter but ignore TLA
3981579
Java: Type safety : A generic array of A is created for a varargs parameter
1445233
Is it possible to solve the "A generic array of T is created for a varargs parameter" compiler warning?
4867229
Code for printf function in C
1127328
source code of c/c++ functions
4503443
original variable name passed to function?
255312
How to get a variable name as a string in PHP?
4511240
PHP : Difference between '&&' and 'AND'
4502092
PHP - and / or keywords
3898021
Regarding 'main(int argc, char *argv[])'
3024197
What does int argc, char *argv[] mean?
4521727
Is GET method is faster than POST?
1211881
Why is the GET method faster than POST in HTTP?
4569272
finding all minimal spanning trees
2935754
All minimum spanning trees implementation
3491721
LINQ to Entities - Where IN clause in query
857973
Linq to Entities - SQL "IN" clause
2973755
How to implement SQL "in" in Entity framework 4.0
4732706
What's the difference between equal and identical comparison operators in PHP?
80646
How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ?
4746249
get user timezone
13
Determine a user's timezone
4004431
text with unicode escape sequences to unicode in python
2828284
Conversion of strings like \\uXXXX in python
4034397
benefits of a static class
576853
What is the use of a static class
4576607
What does static mean in ANSI-C
572547
What does "static" mean in C?
4579330
Is there any trick to put rounded corners on a Google map?
6894439
Transparent rounded corners on Google Map
2571831
can a function return more than one value?
321068
Returning multiple values from a C++ function
4055736
What is a smoke test?
745192
What is a smoke testing and what will it do for me?
4055733
What is a sanity test/check
4079135
Splitting a string with uppercase
3216085
Split a PascalCase string into separate words
4796482
Invalid Binary Itunes Connect
47941
Invalid iPhone Application Binary
4869787
UINavigationController custom animation
1406037
Custom Animation for Pushing a UIViewController
3480124
Performance cost of a try/catch block
867017
Performance Cost Of 'try' in C#
3517666
How can I iterate over an object while modifying it in Java?
1675037
Removing items from a collection in java while iterating over it
4102717
How do you clear the R console in OS X (or Ubuntu)
4647050
Collect every pair of elements from a list into tuples in Python
4628290
Pairs from single list
4652532
SSL certificate issue when trying to clone Git repository within Cygwin
3777075
SSL certificate rejected trying to access GitHub over HTTPS behind firewall
4909527
Is it bad practice to add non standard attributes to DOM elements? - HTML/Javascript
2117933
Is it considered bad practice to use non-standard HTML attributes?
4910313
What is the purpose of a double negative in macro definition, like (!!(expr))?
248693
Double Negation in C++
4151418
Why use @ before variable in PHP?
1032161
What is the use of the @ symbol in PHP?
4103667
Python ternary operator
394809
Does Python have a ternary conditional operator?
4103685
Adding custom attributes in html tags
992115
Custom attributes - Yea or nay?
4820571
IoC container - singleton or passed around instance?
2386487
Is it better to create a singleton to access unity container or pass it through the application?
4822954
Do we really need @Override and so on when code Java?
94361
When do you use Java's @Override annotation and why?
4685705
Good CSV Writer for C#?
1684667
Writing a CSV file in .net
2643993
How to display a route between two geocoords in google maps?
2023669
J2ME/Android/BlackBerry - driving directions, route between two locations
3565031
Get the 'name' of a variable in Javascript
3404057
Determine original name of variable after its passed to a function
4050535
Using var or not using var
356846
Will using 'var' affect performance?
4924690
C: Why is casting from void pointer to function pointer undefined?
12358843
Why are function pointers and data pointers incompatible in C/C++?
4926362
Easier way to populate a list with integers in .NET
49214
Populating a list of integers in .NET
4170002
Splitting a line in C/C++ using whitespace as delimiter
53849
How do I tokenize a string in C++?
4086703
Convert Raphael SVG to image (png etc) client side
3975499
Convert SVG to image (JPEG, PNG, etc.) in the browser
4589813
Amazon Book API for Python or Ruby?
48884
Amazon API library for Python?
4957446
load external css file in body tag
1642212
What's the difference if I put css file inside <head> or <body>?