Forum: C++ 3 Hours Ago |
| Replies: 6 Views: 69 |
Forum: C++ 20 Hours Ago |
| Replies: 4 Views: 90 Re: hpp? It seems that the boost libraries use .hpp. |
Forum: C# 1 Day Ago |
| Replies: 1 Views: 57 Re: array You can use the Distinct extension method.
public string[] GetUniqueStrings(string[] input) {
return input.Distinct().ToArray();
}
You can do the same for a List<string>, only use ToList()... |
Forum: Computer Science and Software Design 1 Day Ago |
| Replies: 4 Views: 85 |
Forum: C# 2 Days Ago |
| Replies: 2 Views: 67 |
Forum: IT Professionals' Lounge 2 Days Ago |
| Replies: 1 Views: 61 |
Forum: C++ 2 Days Ago |
| Replies: 12 Views: 165 Re: isdigit ç à è Your second method is broken -- you forgot isdigit. Your third method is not radical.
Negative values will fail when a lookup table is used to implement the function -- they point in memory outside... |
Forum: C++ 2 Days Ago |
| Replies: 2 Views: 71 Re: Problem Saving Pieces Movement. Ya think? Looking at your code, how could you expect it to do anything different? I don't see any attempt to maintain a board's state, and your program does not even deserve to be called an attempt... |
Forum: Computer Science and Software Design 2 Days Ago |
| Replies: 12 Views: 628 |
Forum: IT Professionals' Lounge 3 Days Ago |
| Replies: 5 Views: 176 Re: Career change advice I have never heard of "SAP," other than as the name of a company whose U.S. headquarters are in Newtown Square, PA, so I would just ignore whatever punjabivirsa3 is trying to say. |
Forum: C++ 3 Days Ago |
| Replies: 18 Views: 241 Re: Need homework help But that wouldn't give the right result. It would give 0.50 if the number of days was 25. But on the 25th day, the person would earn 167772.16. |
Forum: C++ 3 Days Ago |
| Replies: 3 Views: 81 |
Forum: C++ 3 Days Ago |
| Replies: 4 Views: 79 |
Forum: C++ 3 Days Ago |
| Replies: 18 Views: 241 Re: Need homework help If you think your code produces the correct results on the inputs you've tried, maybe you could say what your code does to us, step by step. We could then see where you have a mistaken understanding. |
Forum: C++ 3 Days Ago |
| Replies: 2 Views: 59 |
Forum: C++ 3 Days Ago |
| Replies: 2 Views: 50 Re: array numbers This is a stupid question. You should write small sample programs to verify your understanding of things like this. |
Forum: C++ 3 Days Ago |
| Replies: 18 Views: 241 Re: Need homework help How about you go through your code by hand with some sample inputs and follow what it is doing. Then you'll see why your code doesn't work. |
Forum: C++ 3 Days Ago |
| Replies: 2 Views: 57 Re: running time It's hard to understand what you mean, due to your difficulties with English. Could you try rewording this sentence? That might make your desire more clear. |
Forum: C++ 3 Days Ago |
| Replies: 1 Views: 101 Re: Multi Client server Are you having a problem with this homework assignment? I recommend figuring out what information you need to help yourself and then operating on that. |
Forum: C++ 3 Days Ago |
| Replies: 18 Views: 241 |
Forum: C++ 3 Days Ago |
| Replies: 18 Views: 241 Re: Need homework help Initialize the salary at 1 and, each time through some look that runs 'days' times, double it.
Or you could just use 1 << (n - 1) to compute the amount paid on the nth day, or (1 << n) - 1 will give... |
Forum: C++ 5 Days Ago |
| Replies: 2 Views: 79 |
Forum: Computer Science and Software Design 5 Days Ago |
| Replies: 8 Views: 182 Re: flowchart It looks like a zip file; why don't you just post the flow chart? |
Forum: C# 5 Days Ago |
| Replies: 5 Views: 127 Re: VC# compile problem csc is not in your path. Add the directory in which csc lives to your PATH environment variable. |
Forum: Legacy and Other Languages 6 Days Ago |
| Replies: 2 Views: 178 |
Forum: DaniWeb Community Feedback 6 Days Ago |
| Replies: 10 Views: 291 Re: DaniWeb Blogs If you're going to make a blog, why would you make one on Daniweb, as opposed to some other blogsite or your own site?
There is no reason for people to do this. I would focus more towards tutorials... |
Forum: Geeks' Lounge 6 Days Ago |
| Replies: 14 Views: 394 |
Forum: IT Professionals' Lounge 7 Days Ago |
| Replies: 9 Views: 163 |
Forum: Computer Science and Software Design 8 Days Ago |
| Replies: 2 Views: 153 Re: C++ and Java C++ is higher-level than Java, in that it has a more flexible type system and can make abstractions that Java cannot. On the other hand, Java has garbage collection.
The truth is, Java sucks,... |
Forum: C# 9 Days Ago |
| Replies: 4 Views: 137 Re: Reflection Pass in to the function in class A a delegate or object that constructs class B.
abstract class A {
public static void INeedToConstructSomeSubclass(Func<A> subclassDelegate, ...) {
A blah =... |
Forum: IT Professionals' Lounge 10 Days Ago |
| Replies: 8 Views: 258 |
Forum: Legacy and Other Languages 10 Days Ago |
| Replies: 1 Views: 158 |
Forum: IT Professionals' Lounge 11 Days Ago |
| Replies: 6 Views: 239 |
Forum: C++ 14 Days Ago |
| Replies: 1 Views: 192 |
Forum: Computer Science and Software Design 14 Days Ago |
| Replies: 5 Views: 251 Re: Recursive Heapify I don't know what makes you think there's a "proper" way to think recursively.
But as the other poster said, thinking recursively means reasoning based on an assumption about the net effects of your... |
Forum: Computer Science and Software Design 14 Days Ago |
| Replies: 1 Views: 147 Re: research poster You're talking about the most boring part of science ever, scientific research posters. There's no hope for student engagement.
Really you should just do them a favor and make the presentation as... |
Forum: C++ 14 Days Ago |
| Replies: 4 Views: 143 |
Forum: C++ 14 Days Ago |
| Replies: 4 Views: 152 Re: Code sharing ? Decompile it? Yes. Into something useful? No, unless they just want to figure out how it works. |
Forum: Computer Science and Software Design Aug 21st, 2008 |
| Replies: 1 Views: 395 |