No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[code] /** * @(#)GameOfLife.java * * GameOfLife application * * @author Ramanpreet Singh (romiaujla) * @version 1.00 2011/2/11 */ import java.util.Scanner; public class GameOfLife { public static void main(String[] args) { Scanner scan = new Scanner(System.in); final int SIZE = 10; final int GENCOUNT = 9; int i, j, k; … |
|
There is Software Development, Web Development, Internet Marketing, Business Exchange, Hardware and Software, Why not ADD another part to this site -- DATABASE DEVELOPMENT, in which you can have posts for SQL, MySQL, MS Access?? This could be a nice addition to the site. What do you guys think? Ramanpreet … |
|
Program Description: This program sorts an array of various sizes that has random numbers with duplicates in it. This program uses two sorting methods to sort each of the arrays the merge sort and the shell sort method. This program also calculates the time taken to sort each of the … |
|
Re:
I want to find it out for the number 2345678901233.. but it is giving the error ..is there any method to find out the primes beyond the range of integer..[code]import java.util.*; public class inc { int flag=0; int h=2; public void checkprime(int k) { while(h<k){ if(k%h==0){ flag=1; } h++; } … |
|
Re:
Hey guys, I'm getting a few errors I can't seem to figure out solutions for: (SalesEmployee Line 21) error C2248: 'SalariedEmployee::salary' : cannot access private member declared in class 'SalariedEmployee' (SalesEmployee Line 17) error C2664: 'SalariedEmployee:: SalariedEmployee(const SalariedEmployee &)' : cannot convert parameter 1 from 'std::string' to 'const SalariedEmployee &' … |
|
Re:
I'm coming from Python to Visual Basic and it's really playing with my head. This program is intended to scan a list of directories (only have one directory so far) and see if they contain any files. If they do, their directory is added to a list (DirtyFolders) and all … |