Computer Science
Subforums
3275 topics in this forum
-
-
I'm learning recursive functions in my AP computer science class (which is taught in JAVA) and my teacher gave this question to us as an extra. public static void Mystery (int n) { if (n < 0) return n; System.out.println(n); Mystery(n-1); System.out.println(n); } What I understand from it is that it takes the number (n) and reduces it until it gets to zero. It prints it before it subtracts 1 from it. So it would look like this (if I entered 4): 4 3 2 1 0 But, he said that that final product should look like this: 4321001234 What I don't understand is how it adds to 'n': I see that it prints 'n', then reduces it by 1, th…
-
0
Reputation Points
- 2 replies
- 1.3k views
-
-
Litereally, I cannot edit the current ones, add a new scheme, there are no currently set schemes, I cannot save as or anything... you can see I cannot edit the current settings for it and if I click 'save as' or 'delete' nothing happens. I have reinstalled windows since I first noticed this problem and it didn't go away which is strange, if I reinstalled XP home again it'd possibly sort the problem, but does anyone know what causes it? It's a strange problem... any ideas as to why this has happened?
-
0
Reputation Points
- 7 replies
- 1.8k views
-
-
My brother just bought a wireless router and we're trying to get it hooked up and working. However, whenever we use the router, the internet speed drops to like 1kb/s. Webpages start loading, but they never finish, which means that the speed is dropping to near 0 kb/s. Any ideas on where to start troubleshooting this? I have roadrunner cable. I checked the cables and they seem to be fine. It seems to be a problem between the router and the cable modem.
-
0
Reputation Points
- 15 replies
- 2.3k views
-
-
Ok, so my site doesn't have very good uptime. And especially recently and in the next couple days...it has been and will be down for hours at a time as i configure the same /mnt.../ to each OS, install some, fix gentoo, and reinstall FC3, FreeBSD. Get each OS to say Operating System: XXX at my site...lots of work on my computer. Anyway. Even when google indexes my site, it still puts me under a couple forums I post at. I know that when I had my domain, 1veedo.com, it was always the very first w/ "1veedo". Is it possible that having bad downtime effects how well google rates you? Or is it just because I have a secondary domain now? I dobt google would rate you o…
-
0
Reputation Points
- 3 replies
- 1.1k views
-
-
i cant seem to find the right class for it. does any1 know? (a link would be sufficient)
-
0
Reputation Points
- 1 reply
- 1.1k views
-
-
Hi! Do any of you know how to automatically number the names of output files when programming with C++? I mean, if I was using a loop, and wanted to output some text into a .txt file, how can I make it name the first one 1.txt. Then when it goes back into the loop, create a new file called 2.txt, and keep going until I'm done running the loop? Please let me know! Thanks! ~Clara
-
0
Reputation Points
- 12 replies
- 2k views
-
-
I dont see any difference between Open-Source JAVA interpreters and Sun's one.... Some say "Sun's reference implementation is still proprietary", but doesn't java provide the source code of the whole library in the folder where SDK is situated?? Unless I missunderstand the word "reference implementation"... Any help?? thx Albert
-
0
Reputation Points
- 0 replies
- 871 views
-
-
I should really be posting this on some computer help forum, but i am too lazy to sign up. Does anyone know how i can get Windows Media Player 9 to work on my Mozilla Firefox browser? It works on Internet Explorer, but when i try to watch videos in Firefox it says "Windows Media Player 9 not detected" or something about downloading a plugin. Its really annoying because Firefox is my only browser i can use, IE has too many popups even though i use Spybot Search&Destroy and Spyware Doctor.
-
0
Reputation Points
- 2 replies
- 1.1k views
-
-
I've got an interesting problem here which I can't seem to be able to solve myself. I have my laptop (xp) connected to my main desktop pc (xp) which uses cable internet connection which is also shared. Now I also enabled both display icons in the taskbar (when LAN is connected and Internet Gateway). The Internet Gateway icon works ok, shows activity only when I use internet, however, the LAN icon keeps reporting activity non-stop; sending and receiving packets all the time! I am having a suspicion as if it is also using Internet as well and therefore wasting my bandwidth into something I'm not aware of. I tried ending processes from the task bar and I noticed the …
-
0
Reputation Points
- 8 replies
- 1.6k views
-
-
Internet application developer Accoona Corp., in which a Chinese State information agency holds a stake, launched its new web and business search system recently at http://accoona.com. Is it similar to the facilities already present on the net or a step ahead of them?
-
I bassickly just want to plug my 56K modem into my phone jack and be able to dial numbers, answer, u=have an answering machine .etc. Is there software to do this or limited funcions like these??
-
http://s20.yousendit.com/d.aspx?id=3OE6EUUNOVNWL3752VSIRWF7YR Above is a link to a .max model I made.... the poblem is, why that file slows down the operating speed of the 3ds max? It is pretty unusual, because that file is just less than 1 meba byte, which is usually pretty fast for my computer to run The most obssessive part is that it takes like hours to do a quick rendering before I feel really anoyed and shut down the computer.... Can any one plz see my file and point out where is the problem?? thx a million for ANY help! ps. my computer is a p4 1.7 GHZ with 630 MB of RAM
-
0
Reputation Points
- 5 replies
- 1.6k views
-
-
i know ive used an online web tunnel in the past, where i type in an address, and can access 'blocked' sites. its all online, no apps, but i cant find one now, can anyone link me? thnks
-
0
Reputation Points
- 15 replies
- 2.7k views
-
-
90% of the world's home PCs, I think you probably mean? [edit] Split from this thread: http://www.scienceforums.net/forums/showthread.php?t=9547
-
0
Reputation Points
- 39 replies
- 4k views
-
-
I have 1.5 gig of ram in my box, and wanna make the most of it, if i were to create a 'ram disk' and move my pagefile (C:\windows\pagefile.sys) onto the ramdisk, would i see any significant increase in speed? also, whatother temp folders/files would i be able to put on it? and do i risk harming my comp? cos the contents gets erased everytime i power off.... thnx. d22k
-
0
Reputation Points
- 18 replies
- 2.9k views
-
-
I have a 3" x 3" computer fan which I thought I'd add to my computer, however my computer uses the standard 4-pin power leads and the fan just had a red and a black wire (postivite/negative)... I don't know for certain which way around to put the wires in, I asked a few people and no one knew, couldn't find it on the net, so I just took the red lead and put in into the 4-pin power socket into the hole which had a red lead going into it. Incidently the computer was on so I could see if the fan worked, so the HDDs where whirring and there was a CD going too... as I put the red lead into the 4-pin thing at first nothing happened, then SPARK.... power failure. OK, cra…
-
0
Reputation Points
- 7 replies
- 1.7k views
-
-
Ok, i have just tried to install a new harddrive in my pc, i currently have two. The bios will detect the HDD, it detects the model number and the size of the HDD BUT windows will not detect ot. I have recently installed an almost identical disk BTW. I spoke to my dad, he said if the bios detects it, but windows doesnt, its probably not formatted, so i should use Fdisk. HOW do i use it on XP? on previous operating systems i could just whip open a CMD promt, and run fdisk from there, but that doesnt seem to work on XP. So basically, can you suggest WHY the HDD doesnt show up in the operating system, but it does in the bios? And if it shows up…
-
0
Reputation Points
- 2 replies
- 1.4k views
-
-
I have a simple question, I have a wireless usb device, and the brand never designs a driver for it, but why it can still work under Linux os?? Is there something that Linux can actually "detect" the hardware and make a configuration for it?? Albert
-
0
Reputation Points
- 5 replies
- 1.2k views
-
-
if you go to jxos.org, you will se they actually make an OS out of Java... How could that be?? using java to create an os??? since Java does not allow the progammer to reach the memory, how is the above can be done??? by the way, how do they make drivers??? Albert
-
0
Reputation Points
- 4 replies
- 1.1k views
-
-
Does anyone know how to quickly open a huge .txt file? A text file that is over 100 GB?
-
0
Reputation Points
- 16 replies
- 5.3k views
-
-
When i select something it wont delete if i press backspace, but will if i press delete. However this wont work either for autotext which then i end up cutting it and not pasting. Any ideas?
-
0
Reputation Points
- 3 replies
- 1k views
-
-
-
Ok, sense i'm hosting my website from my linux box, and thus no longer have cpanel and all the cool statistics, I'm writting my own data collection script that'll go into my index.php <html><head></head><body>stats test <?php //log $p = "test"; //$p is used in index to load the specified page $browser = $_SERVER['HTTP_USER_AGENT']; $ip = $_SERVER['REMOTE_ADDR']; $lt = 1; //$lt = time() - $loaded;, time it took loading //global echo "1"; if(!($hits = implode('', file('hits')))) //load total hits, I'll get to monthly hits later $hits = 1; //in case this script has never been run else $hits++; if(!(implode('', file("time")))) //average laod time…
-
0
Reputation Points
- 0 replies
- 1.2k views
-
-
I've worked with both IBM's WASAD J2EE and Microsoft's C#/VB.net development environments. While I love the idea of open source and nonproprietary software solutions, I can produce the same product in half the time in .Net. Java is progressing but will it be able to mature before .Net takes the market place from it? IBM or Microsoft...An instructor I had once said "Just who is the evil empire and who is the rebel alliance; the lines are too blurred to be drawn." So, can Java compete or is .Net destined to rule the net? Thanks, Rich
-
0
Reputation Points
- 6 replies
- 1.4k views
-