Search Results

Showing results 1 to 40 of 84
Search took 0.03 seconds.
Search: Posts Made By: phalaris_trip
Forum: Windows NT / 2000 / XP Jul 24th, 2009
Replies: 6
Views: 561
Posted By phalaris_trip
I have no idea how that works. Will look into it, thanks for the reply.
Forum: Windows NT / 2000 / XP Jul 24th, 2009
Replies: 6
Views: 561
Posted By phalaris_trip
Woo, I figured it out. :)

Works perfectly (in XP anyway).

It really is this simple:


using Microsoft.Win32;
namespace ShowHideExtensions
{
Forum: Windows NT / 2000 / XP Jul 24th, 2009
Replies: 6
Views: 561
Posted By phalaris_trip
Thanks for fast reply!



Yes, but it is is even easier to have a once click app in my taskbar. :)
Also, for files on the desktop, folder options are not immediately accessible.
Also, I like...
Forum: Windows NT / 2000 / XP Jul 24th, 2009
Replies: 6
Views: 561
Posted By phalaris_trip
Hi,
This seems like a really simple question.
Most of the time I choose to show extensions for known file types, but sometimes (most notably when renaming files by hand) it is convenient to hide...
Forum: C# Apr 29th, 2009
Replies: 0
Views: 480
Posted By phalaris_trip
I have a method that creates a sorted dictionary of things


SortedDictionary<string, MyClass> sortedStuff = new SortedDictionary<string, MyClass>();

// add some items to sortedStuff



now...
Forum: Java Nov 2nd, 2008
Replies: 4
Views: 648
Posted By phalaris_trip
Forum: Java Nov 2nd, 2008
Replies: 4
Views: 648
Posted By phalaris_trip
I'm new to java (like a few weeks new), but coming from a C++ background..

This is going to sound retarded, but... can someone explain to me how I can make a BigInteger object to make it have the...
Forum: Windows NT / 2000 / XP Aug 14th, 2008
Replies: 3
Views: 508
Posted By phalaris_trip
Thank you for your response,

Maybe I was not clear enough. The name and organization fields are the fields you see when you press Help -> About in the program. These are fields that you are...
Forum: Windows NT / 2000 / XP Aug 13th, 2008
Replies: 16
Views: 2,232
Posted By phalaris_trip
If you're sure there's no password set, then try to set one first from user options. I have no idea why this would work, but windows is peculiar so it might.

Otherwise, there are tools available...
Forum: Windows NT / 2000 / XP Aug 13th, 2008
Replies: 3
Views: 508
Posted By phalaris_trip
I recently got a copy of ReCycle 2.1 from a friend and when we installed it at the time I put in random gibberish for the name and organization fields. When I tried to reinstall it later these fields...
Forum: C++ Jun 23rd, 2008
Replies: 3
Views: 432
Posted By phalaris_trip
#include <ctime>

...

clock_t startTime = clock();

// your test loop goes here
for (int i=0; i<100000; i++)
;
Forum: C++ Jun 20th, 2008
Replies: 8
Views: 711
Posted By phalaris_trip
Why is it base 26?
Forum: C++ Jun 18th, 2008
Replies: 8
Views: 711
Posted By phalaris_trip
Well first you determine what your symbols represent. In your system it seems that A = 1 ... Z = 27
So you're talking about a base 28 system.

Therefore a string like "ABCD" will mean A * 28^3 +...
Forum: C++ Jun 16th, 2008
Replies: 9
Views: 1,336
Posted By phalaris_trip
Forum: C++ Jun 15th, 2008
Replies: 9
Views: 1,336
Posted By phalaris_trip
Thanks for the reply,

Yeah we use CVS. Also I don't think it's possible to port it to Windows, at least not with ease. There are lots of unix specific headers. But like I said the IDE is just a...
Forum: C++ Jun 14th, 2008
Replies: 9
Views: 1,336
Posted By phalaris_trip
This is a long post with no specific questions as such. I'm just looking for any advice from people with real-life experience in the software development arena.

----------

Intro:
I've just...
Forum: C++ May 29th, 2008
Replies: 21
Views: 3,694
Posted By phalaris_trip
In the spirit of reviving old threads, I may as well mention that I talked to my lecturer (and others) about it since then. He said that in a switch statement the case: labels are identical to a...
Forum: C May 14th, 2008
Replies: 2
Views: 1,566
Posted By phalaris_trip
I was trying to revise my linked list and implement it in C to check if there is a difference in performance... just as a sort of weird hobby..

In the absence of templates I'm trying to figure out...
Forum: C++ May 4th, 2008
Replies: 4
Views: 547
Posted By phalaris_trip
Why not generalise the linked list and then create one with a

struct
{
int ip;
int uri;
};

or something like this?
Forum: C++ May 2nd, 2008
Replies: 4
Views: 1,554
Posted By phalaris_trip
So try replacing the second condition in the while loop from "guessWord != secretWord" to "!isWordCompleted"

where isWordCompleted is a bool evaluated using my previous suggestion.
Forum: C++ May 2nd, 2008
Replies: 3
Views: 7,014
Posted By phalaris_trip
Forum: C++ May 1st, 2008
Replies: 4
Views: 1,554
Posted By phalaris_trip
You can use isalpha() to check if it's a letter, or explicitly check for a non-space character. Provided you already have a system for checking guessed letters in general, this will be easy to...
Forum: C++ May 1st, 2008
Replies: 2
Views: 416
Posted By phalaris_trip
Hey, you have all the difficult bits already figured out!

There are only two problems in your code:

Firstly, when you derive a class that has a non-default constructor it does not automatically...
Forum: C++ Apr 17th, 2008
Replies: 2
Views: 970
Posted By phalaris_trip
thank you, exactly what I was looking for! :)
Forum: C++ Apr 17th, 2008
Replies: 2
Views: 970
Posted By phalaris_trip
I would like to create a specialisation of..
template <typename CEnemy_Ty> class CEnemyManager {};
..for a class called CTank which is a CEnemy

But by defining..
template <> class...
Forum: C++ Apr 12th, 2008
Replies: 21
Views: 3,694
Posted By phalaris_trip
alright thanks for the advice
Forum: C++ Apr 12th, 2008
Replies: 21
Views: 3,694
Posted By phalaris_trip
I'm finishinh up my game for submission. Right now I'm doing the menus, and it's highly procedural, nasty long-winded chunks of code, as you can imagine..

And I'm trying to implement the following...
Forum: C++ Jan 20th, 2008
Replies: 0
Views: 2,684
Posted By phalaris_trip
I've searched for linked lists quite a lot (and read some books), but I've yet to find one that suits my needs. I wanted one that is: templated, provides only the bare bones of what's needed and easy...
Forum: C++ Jan 14th, 2008
Replies: 3
Views: 921
Posted By phalaris_trip
Big thanks for the replies. Will definitely simplify the destructor, and also I noticed my operator+ should be returning a value and not a reference. That's a big mistake..

I should have...
Forum: C++ Jan 13th, 2008
Replies: 3
Views: 921
Posted By phalaris_trip
This is a past exam question that I'm doing for revision. I didn't think this was going to be as tricky as it turned out.

I would just appreciate some advice on how I can make it more...
Forum: C++ Jan 7th, 2008
Replies: 12
Views: 2,739
Posted By phalaris_trip
You need to get familiar with event-driven programming.

SDL is a good place to start.

Running two functions at once is possible by using multi-threading as was pointed out but it is generally...
Forum: C++ Jan 6th, 2008
Replies: 8
Views: 744
Posted By phalaris_trip
TC++PL is also floating around on pdf, but you didn't hear it from me..
Forum: C++ Jan 6th, 2008
Replies: 2
Views: 742
Posted By phalaris_trip
I ran into a similar situation as yours, so I'll tell you what difficulties I encountered and how I chose to deal with them. I'm still learning though, same as yourself, so you're better off asking...
Forum: C++ Jan 5th, 2008
Replies: 6
Views: 862
Posted By phalaris_trip
Yep, that did the trick. I didn't know you could do that...

Thanks a bunch everyone..
Forum: C++ Jan 5th, 2008
Replies: 6
Views: 862
Posted By phalaris_trip
I think I see what you mean, but I don't know what additional functionality the child classes might have.. it's always going to be something that Animal does not have though. I might not even know...
Forum: C++ Jan 5th, 2008
Replies: 9
Views: 780
Posted By phalaris_trip
It must be in your definition, yes.
It just has to return something (something valid) regardless of what logical path the function takes.

Hope I didn't confuse you even more.. :/
Forum: C++ Jan 5th, 2008
Replies: 9
Views: 780
Posted By phalaris_trip
I ran it just now for balance = 100
They're not addresses, they're numbers in scientific notation.

Basically, not all paths in your functions return values. So for some values (e.g. 100) your...
Forum: C++ Jan 5th, 2008
Replies: 6
Views: 862
Posted By phalaris_trip
Let's say I'm sure that one of my base classes will never be instantiated, so I decide to make it abstract. But at the same time all of its functions have definitions because they're common to all...
Forum: C++ Jan 2nd, 2008
Replies: 1
Views: 4,846
Posted By phalaris_trip
I've been reading a lot of info, but templates are really too new for me at the moment, and I can't find any examples similar to what I'm trying to do.

Basically I have a template container...
Forum: Geeks' Lounge Jan 1st, 2008
Replies: 0
Views: 385
Posted By phalaris_trip
Thanks for all the help I've received in 2007, mainly the C++ forum. You guys are great, and I hope you all have a nice year.
Showing results 1 to 40 of 84

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC