Posts
 
Reputation
Joined
Last Seen
Ranked #158
Strength to Increase Rep
+12
Strength to Decrease Rep
-3
97% Quality Score
Upvotes Received
173
Posts with Upvotes
152
Upvoting Members
127
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
5
49 Commented Posts
16 Endorsements
Ranked #90
Ranked #130
~380.12K People Reached
About Me

Software developer

Favorite Tags
c++ x 206
c x 118
java x 79
c# x 51
Member Avatar for samaru
Member Avatar for rahulrajcse

[QUOTE=griswolf;1510553]The first step in solving that problem is to know what the problem is. I know of at least three different problems that mention a monkey and a banana.[/QUOTE] [QUOTE=rahulrajcse;1513494]No one knows the solution? I want detailed information about the complexity & heuristic function which we have to choose for …

Member Avatar for Adarsh_4
0
6K
Member Avatar for pseudorandom21

[QUOTE=pseudorandom21;1703254]Anyone know of a way to obtain an MD5 checksum of a file (through HTTP) before downloading it through HTTP?[/QUOTE] Only one way that I'm aware of: Request the file using a [URL="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods"][ICODE]HEAD[/ICODE][/URL] request instead of [ICODE]GET[/ICODE]--the server should only return the HTTP headers for the file. One of the …

Member Avatar for Reinhard_1
0
6K
Member Avatar for coroll

I think the question is actually "how do I [generate permutations](http://en.wikipedia.org/wiki/Permutation#Algorithms_to_generate_permutations)?"

Member Avatar for JamesCherrill
0
2K
Member Avatar for Charlton21

The first step in optimizing is to ask yourself, "do I really need to optimize this?" I see "Kernels to be optimized for the CS:APP Performance Lab" in your comments, so I'm assuming the answer here is "yes." :) In the wild, though, the answer is just as likely to …

Member Avatar for lernik
0
733
Member Avatar for daniel955

You probably want a [URL="http://en.wikipedia.org/wiki/Breadth-first_search"]breadth-first search[/URL], with the tiles as nodes and edges between adjacent tiles in each of the four cardinal directions. If you only have one fuel source in the game, that's your root node. If you have multiple fuel sources, just mark each of them as 'visited' …

Member Avatar for Nisa_1
0
520
Member Avatar for Teddy112

You mean like the first paragraph of https://en.wikipedia.org/wiki/Database_index ?

Member Avatar for Teddy112
0
159
Member Avatar for srikanth112

Try to do this yourself, and post code with specific questions if you have a problem.

Member Avatar for Ali_52
0
639
Member Avatar for lewashby

> I get two erros, 'const class Fraction' has no member named 'n' & 'const class Fraction' has no member named 'd' Well, look at the offending line in `Fract.h`: Fraction(const Fraction &src) { set(src.n, src.d); } Where are `n` and `d` defined in `Fraction`? Nowhere; this is why the …

Member Avatar for マーズ maazu
0
561
Member Avatar for ScottieF

> I was thinking about having an employee table, a job table, and then a employee_job table that has a foreign key to an employee and a job. This is a pretty standard way of doing a many-to-many relationship in a relational database; it should work for you. > In …

Member Avatar for JOSheaIV
0
234
Member Avatar for Zerk

We won't write it for you - show us what you've done so far, and it helps to indicate a specific question or problem you're having.

Member Avatar for David W
0
261
Member Avatar for Doogledude123

> I'm looking for what exactly is a Vector3 (or any Vector for that matter) and also what a Quaternion is in code? What are the variables types? Should you have multiple classes for each type? Depends on the language you're using, and even then, there are multiple ways to …

Member Avatar for ddanbe
0
242
Member Avatar for pritaeas

I don't know NAudio, but it looks useful at a first glance. Do you have language/platform restrictions? If you have the time and inclination for portable DIY, you might look at [PortAudio](http://www.portaudio.com/) for output (I can speak to this one a bit) and something to decode whatever formats you want …

Member Avatar for qingshan05
0
431
Member Avatar for Mayo_1
Member Avatar for Shiladittya_1

Start with the two circles which contain the arcs. Where do they intersect? If they do, then see if the point(s) is(are) on one of the arcs.

Member Avatar for gusano79
0
120
Member Avatar for Ritesh_4

> make it shared across my LAN with others so that they can pull a copy on their own PC and work on it, and push their changes to the project, and thus make it available to all devs concerned. You want some sort of [version control system](https://en.wikipedia.org/wiki/Version_control) to avoid …

Member Avatar for gusano79
0
1K
Member Avatar for Labdabeta

If you want to be cross-platform, [GLFW](http://www.glfw.org/) is an excellent lightweight library that handles creating OpenGL contexts, basic window management, and user input. Then it gets out of your way.

Member Avatar for gusano79
0
2K
Member Avatar for Caperski
Member Avatar for Caperski
0
203
Member Avatar for joshl_1995
Member Avatar for rubberman
0
396
Member Avatar for negru

Same as you'd add *n* numbers: Initialize a "sum" matrix to all zeros, then add matrices 1..*n* to the sum.

Member Avatar for gusano79
0
199
Member Avatar for shrikeps

The file you're trying to load is UTF-8 encoded. Try using [UTF8Encoding](https://msdn.microsoft.com/en-us/library/system.text.utf8encoding(v=vs.110).aspx) instead.

Member Avatar for gusano79
0
135
Member Avatar for surayanbo

We don't do assignments for you. Show us your work so far, tell us what you're having trouble with, and then we'll be able to help.

Member Avatar for gusano79
0
115
Member Avatar for kkvk

What do you have for `WriteMemoryCallback`? It should at least start like this: size_t WriteMemoryCallback(char *ptr, size_t size, size_t nmemb, void *userdata) Everything you need to know is here: * [CURLOPT_WRITEFUNCTION](http://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html) * [CURLOPT_WRITEDATA](http://curl.haxx.se/libcurl/c/CURLOPT_WRITEDATA.html)

Member Avatar for gusano79
0
181
Member Avatar for asholpurush1991

Show us what you've tried so far, tell us what you're having trouble with, and then we can help.

Member Avatar for gusano79
0
199
Member Avatar for hazelkahn

Show your work so far, tell us what you're having trouble with, and then we can start to help.

Member Avatar for gusano79
-2
224
Member Avatar for hazelkahn

Show your work so far, tell us what you're having trouble with, and then we can start to help.

Member Avatar for gusano79
-3
173
Member Avatar for COKEDUDE

You can't tell from return value from `atoi` alone. If it returns `0`, it's easy enough to check if the string itself is actually `"0"` (*i.e.*, `'0'` followed by `'\0'`).

Member Avatar for deceptikon
0
132
Member Avatar for COKEDUDE

Are you looking for a digit in the first position here? Because if you are, the characters `'0'` through `'9'` don't have values `0` through `9`.

Member Avatar for JamesCherrill
0
1K
Member Avatar for anupamverma
Member Avatar for EarhawkPH

Another approach: 1. Shuffle your list of questions (make a copy if the original order is important) 2. Present them in the new order

Member Avatar for Stefce
0
265