No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
29 Posted Topics
Re: Brittany, you shouldn't declare variables within a loop...Here's what you should do: [ICODE]#include <iostream> using namespace std; int main() { // Declare Variables double myList[10]; double average; double sum = 0; int numabove = 0; // Define Array myList[0] = 89; myList[1] = 56; myList[2] = 34; myList[3] = 98; … | |
I'm currently reading about the JVM and how garbage collection works found here: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html It discusses both the Mark and Sweep and the Generational garbage collection concepts. After reading through this tutorial, I'm confused on which garbage collection process the JVM actually uses. The whole time, I thought the JVM … | |
Re: 007: Agent Under Fire | |
I had a technical interview last week for a Java Software Engineer position. They asked some pretty basic questions such as: 1) What's the difference between an abstract class and an interface? Which do you use more? 2) How does garbage collection work in Java? 3) What is the difference … | |
Re: you get an integral calculus problem... I put in a bag of Snackwell cookies (mmm) | |
Re: Yahoo! Towers is an addicting game...It's kinda like Tetris, but more strategy is involved... | |
Re: ^ Yes, mine works fine. I hope your thermostat is working now. < Wants to write a song with his acoustic guitar. V Do you play the guitar? | |
Re: How would you subtract the days and months from the defaults date, 1/1/2000 then? | |
I'm working on a project implementing Dijkstra's Algorithm. The project involves reading from an input file and the format of the file is as follows: - The first line of the file tells the number of total vertices and the number of edges (n, m) respectively. - The rest of … | |
Re: [B]part[/B] I love the fishes cause they're so _____ . | |
Re: Chicken most definitely... American Idol or Dancing With The Stars? | |
Re: I'm assuming this a programming assignment from school...If you need help with homework, you have to show some effort and tell us what you've tried. But it seems like you don't know where to start so I'll give you a few pointers (may not be the most efficient method, but … | |
Re: Well the most important thing to remember is the importance of the Java library. There are many methods that you can use, and probably the most important is the charAt() method. The charAt() method can be used to compare a character in one string to a character in another string. … | |
Re: shanksh, why don't you use the next_permutation() function in the <algorithm> library? I'm not sure if you are allowed to use it for your assignment, but if you can, here's a very helpful link on how to use it: [url]http://www.cplusplus.com/reference/algorithm/next_permutation.html[/url] Hope this helps... | |
Re: Hey hapiscrap: Make the following changes: 1) Change #include <iostream.h> to #include <iostream> 2) After the #include <iostream> line and before int main(), put: using namespace std; These small changes should help you compile your program and run it. Another problem you might have is that after you type in … | |
Re: alikoli, is the program always going to prompt the user for 10 inputs (and only 10 inputs) or are there a variable number of inputs (as defined by the user)? Because if the user is always expected to input 10 names, then we can simply define an array with a … | |
Re: alannabrittany, what are you having problems with in particular? Have you tried attempting the problem at all? You aren't going to get much help if you don't try it and post code explaining your troubles. Before you start programming, just jot down the main things to be implemented and write … | |
Hey all...I'm working on creating a text editor for one of my college projects. One of features I have to implement is a find and replace feature which requests the user to input a word to find and also input a word that will be used to replace that word … | |
On a laptop, there are normally two ways to get on the internet, wireless and using an ethernet cable. If I am connected to the internet using wireless and I plug in an ethernet cable, the wireless is still the connection used. Is there anyway to have Windows XP make … |
The End.