Showing results 1 to 40 of 500
Search took 0.06 seconds; generated 1 minute(s) ago.
Posts Made By: Rashakil Fol
Forum: C++ 3 Hours Ago
Replies: 6
Views: 69
Posted By Rashakil Fol
Re: How to generate an uniqe number always?

int getUnique() {
static int n = 0;
return ++n;
}

This function is not multithreading safe.
Forum: C++ 20 Hours Ago
Replies: 4
Views: 90
Posted By Rashakil Fol
Re: hpp?

It seems that the boost libraries use .hpp.
Forum: C# 1 Day Ago
Replies: 1
Views: 57
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: Find something wrong on a Theorem

Not unless you explain what "H" or "HD" or "WSO" or "[;g(n-1)]" are supposed to me.
Forum: C# 2 Days Ago
Replies: 2
Views: 67
Posted By Rashakil Fol
Forum: IT Professionals' Lounge 2 Days Ago
Replies: 1
Views: 61
Posted By Rashakil Fol
Re: Website offline browser software

Not software development.
Forum: C++ 2 Days Ago
Replies: 12
Views: 165
Posted By Rashakil Fol
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
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: Idea for Final Year Project

People here get really grumpy when folks ask about final project ideas, because it happens so often.
Forum: IT Professionals' Lounge 3 Days Ago
Replies: 5
Views: 176
Posted By Rashakil Fol
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
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: setting up an array

Get a better compiler. And post a real code example.
Forum: C++ 3 Days Ago
Replies: 4
Views: 79
Posted By Rashakil Fol
Re: Question regarding base class and derived class

No no no no no don't do that, then you have no hope of disabling RTTI :D. There are other, more serious downsides, like the fact that if you ever change your code to include another subclass, all...
Forum: C++ 3 Days Ago
Replies: 18
Views: 241
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: How do I bring a class into a function??

Don't follow Ancient Dragon's advice; it's horrible design.

What do you mean exactly by "single instance class"? Why don't you pass the instance by reference?
Forum: C++ 3 Days Ago
Replies: 2
Views: 50
Posted By Rashakil Fol
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
Posted By Rashakil Fol
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
Posted By Rashakil Fol
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
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: Need homework help

You don't need to quote the entire message.
Forum: C++ 3 Days Ago
Replies: 18
Views: 241
Posted By Rashakil Fol
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: Computer Science and Software Design 5 Days Ago
Replies: 4
Views: 102
Posted By Rashakil Fol
Forum: C++ 5 Days Ago
Replies: 2
Views: 79
Posted By Rashakil Fol
Re: How to chain with hash_map

Why would you want to limit the number of buckets?
Forum: Computer Science and Software Design 5 Days Ago
Replies: 8
Views: 182
Posted By Rashakil Fol
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
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: killing PIDs from a file

awk '{ system("kill " $2) }'
Forum: DaniWeb Community Feedback 6 Days Ago
Replies: 10
Views: 291
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: Laid off :(

Nobody cares.
Forum: IT Professionals' Lounge 7 Days Ago
Replies: 9
Views: 163
Posted By Rashakil Fol
Re: Help w basic question

You're acting completely ignorantly of the people who could answer your question.
Forum: Computer Science and Software Design 8 Days Ago
Replies: 2
Views: 153
Posted By Rashakil Fol
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
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: Would an xml parser be able to parse HTML?

There's nothing insane about writing a parser.
Forum: Legacy and Other Languages 10 Days Ago
Replies: 1
Views: 158
Posted By Rashakil Fol
Re: ASP , ASP .NET , CLR , Runtime.

Why don't you read Wikipedia? It has clear answers.

What does this even mean?
Forum: IT Professionals' Lounge 11 Days Ago
Replies: 6
Views: 239
Posted By Rashakil Fol
Re: Please, HELP! I need to interview a Software Developer for degree course work.

1. What is your title?
"Software Engineer"
2. What are your responsibilities?
Anything that has to do with writing code, designing code, fixing code, and figuring out bugs exhibited at customers,...
Forum: C++ 14 Days Ago
Replies: 1
Views: 192
Posted By Rashakil Fol
Re: opengl circle drowing

Look up the way GL_LINE_LOOP is supposed to work and then look at your code.
Forum: Computer Science and Software Design 14 Days Ago
Replies: 5
Views: 251
Posted By Rashakil Fol
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
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: What is the cleanest way to share variables and functions between classes???

For a complete answer, you need to provide a better description of what you're trying to do. What do you mean by "share"? If you just want a function to be visible, make it public. If you want...
Forum: C++ 14 Days Ago
Replies: 4
Views: 152
Posted By Rashakil Fol
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
Posted By Rashakil Fol
Re: cpu and instructions cycle

1. The hardware design.
2. The hardware design.
3. It's the reciprocal of #2.
Showing results 1 to 40 of 500

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:48 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC