Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Here's an extremely simplistic/mediocre way of doing it in C++, based on Aelfinn's posted.

Lets say you have array of strings A[40] with 40 cells, that looks sorta like the following?

A[0] = Question 1?
A[1] = Question 2?
A[2] = Question 3?

and, well, you get the idea. Now, basically create a second array, int B[40]. Also create a variable int so_far which will be an accumulator each time a question is asked.

So, lets say a random number 5 is chosen. First, look up A[5] and ask the question. Then, set B[0] equal to 5, and increment so_far by 1. Now, lets say a random number 8 is chosen. Look up A[8], ask the question, and set B[1] equal to 8, and increment so_far by 2. Each time a question is asked, do a linear search on B[0] through B[so_far - 1] to see if any of the values match up to 8. Make sense?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

TechTalkGal here (yes, the forum admin) ... as if the lil text to the left saying "Admin" under my name didn't give it away. As for where I've been, friggin' busy with school!

I show up though, honest I do ... yes, yes ... *I keep telling myself that*

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Personally, I never understood why Outlook always makes the name of the default profile "Default" instead of using the username of the person logged in.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Whew ... I've never heard that one before. First of all, compatibility mode is for software that's already been installed (for running it). It looks like you've got some sorta other problem lurking if your computer can't read your cd-rom drive. Is it all cdroms it can't read or only older ones or ...

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Aaargh - damn svchost.exe

PPL say it's Microsoft's spyware at it's best ...
anyone with any *helpful* suggestions?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

OK well sorry but I can't take this one on account of I've never heard of Java3D. I'm a C++ programmer who's only taken a few glimpses at Java.

I'm pretty sure inscissor answered your original question in his first reply. No? Back to inscissor ...

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

You do know, of course, that as global moderator you can easily move misplaced threads, inscissor *hint hint*

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yeap, Dan, ya never crawl out of the programming section do ya. Ooooh I remember Logo - my first language (well, before BASIC). When I was like 4 years old I would make those pretty line drawings in Logo with a lil sheet next to my computer with a list of available commands to type in and what they did. :) If lets say I wanted to make a line go right, I'd scroll down my list to find "make line go right x amount" and then I'd think of a number, and then type the command in!

But is it just me, or did that lil critter never really look a lot like a turtle?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hmm ... the only 3D programs I've ever used have been Amorphium, Bryce, and Poser. I don't think any of them are specifically targeted towards any Macromedia software however.

I live in Dreamweaver (and Photoshop, but that's besides the point) but when it comes to anything else by Macromedia, I'm clueless.

Inscissor is, however, attempting to get me involved in Flash this summer and for the most part it's working. Kudos for inscissor (in doing the impossible).

Inscissor may actually be able to help you ... send him a private message if you wish to get his attention because he rarely takes a look at anything outside the Programming boards. 8)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Oh how honored! TechTalk the homepage on your mac! I guess I didn't think ahead in creating a links board :( so I guess the coffee house is the best place ...

Of course, people are posting links all over. Incidently, do you think I should create a new links category? Suggest away.

P.S. I'm still sorta a lil confused as to your original post. You have a perl-related link you want to post ... or am I backwards?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

nope, that's definitely not normal - I open my browser and it says Hey, TechTalkGal ... I don't have to do anything.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

That's weeeeeiiird. It doesn't do that for me?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Everything is working great for me now. How about you?

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

aeinstein, I think you cursed me. I cleaned out my Internet cache and cookies this morning and I've been having the same problem ever since! I tried clearing them out a second time to no avail. ??? I'm going to look into this some more too ... it seems the only solution is to alter the names of the cookies themselves, but that would do more damage than it would be productive (especially if we're the only two members with this problem - as everyone would then have to re-login and it still might not work)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

That's really wacky. I had a bit of a similar problem previously. If I went into Profile and changed my password, it automatically logged me out but still showed me as logged on. (I guess it was getting confused b/c the cookie on my PC didn't match up with the password in the database?) I had to log out and then log back in to get it fixed, and it's been working since. Incidently ... passwords are stored encrypted, if that could be part of the problem? (I doubt so?)

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Just took a looksie at the MySQL database and everything looks good on my end. You're stored as just a single record in a table of members. Locally, you should have two cookies: one called techtalkuser and one called techtalkpasswd.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I think inscissor was having the same problem before and he cleared out his IE Temporary Internet Files (not cookies) and the problem seems to have been fixed? (I dunno!) Maybe he should come check this thread ... ;D

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Have you tried the S3 website at http://www.s3graphics.com/ and looked for drivers there?

According to the website, there is a download drivers section.

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Jason, thank you for replying with the solution. Hopefully this will help out others in the future. It's really great when people we help respond. Sometimes it feels like it's pointless giving people advice when you never know how it turns out. OK that's just me rambling! Certainly not aimed at you! Thanks again ... And good luck with all your computing!

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I think what Abbas Mirza means is that you should go to "msconfig" and try disabling svchost.exe from there so that it never loads at startup. This way, you aren't disabling it from inside Windows. Instead, you are not enabling it to begin with.

I'd like to make something clear though: svchost.exe is a native Windows process which really should be left on. Is it possible that a virus has attached itself to this file, and that is what is causing the huge cpu load? By nature the program eats a lot of cpu time, but not this much!

Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have 512MB of DDR ram in my XP box. I happen to have some extra laying around. Would it be a bad idea to just stick it in there? ;) *L*

anywayz .................
I probably only have an extra stick of ram or so. Does ddr ram on an AMD Athlon XP mobo need to be installed in pairs?