Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: robrosas
Forum: Java Oct 25th, 2006, 1:56 PM
Replies: 2
Views: 177
Posted By robrosas
The only thing that I can see is that in the...

The only thing that I can see is that in the method playGame1 the line where you create the game1 object stills commented so the code cant see the object being created.
Forum: C Jan 23rd, 2006, 8:55 PM
Replies: 10
Views: 386
Posted By robrosas
Wink A little help on char* to float

I really need this code for my research but cant figure it out. If not that much trouble can any of you guys please help me. All I need is the conversion from char* to a float number.
Forum: C Dec 4th, 2005, 8:17 PM
Replies: 8
Views: 250
Posted By robrosas
Ooops sorry didnt grabbed that last post...

Ooops sorry didnt grabbed that last post...
Forum: C Dec 4th, 2005, 8:15 PM
Replies: 8
Views: 250
Posted By robrosas
....

Just declare dayName as
char* dayName;
Forum: Java Dec 3rd, 2005, 1:56 PM
Replies: 5
Views: 188
Posted By robrosas
Talking Try this ...

for (int i=0 ; i < arrayToCopy.size();i++){

DestArray[i]=arrayToCopy[i];

}


And then manipulate the new DestArray that contains the same as the original.
Forum: Java Nov 28th, 2005, 4:41 PM
Replies: 13
Views: 459
Posted By robrosas
Cool Sorry for the gramatical issue Just a code on...

Sorry for the gramatical issue Just a code on the fly!!! :eek:
Forum: Java Nov 27th, 2005, 8:33 PM
Replies: 13
Views: 459
Posted By robrosas
Here's the code...

This is in a PairOfDice class
public class PairOfDice{
int first_dice;
int second_dice;
int sides=6;
public PairOfDice(){
first_dice=0;
second_dice=0;
}
Forum: Java Nov 27th, 2005, 7:02 PM
Replies: 13
Views: 459
Posted By robrosas
That code rolls both dices 1000 times and counts...

That code rolls both dices 1000 times and counts how many times each side appears! Get a clue from it!
Forum: Java Nov 27th, 2005, 6:56 PM
Replies: 13
Views: 459
Posted By robrosas
...

Try this on your main class
public class BoxCars{
public static void main(String[] args) {

PairOfDice Dice1 = new PairOfDice();
PairOfDice Dice2 = new PairOfDice();
int result1=0,resullt2=0;
int...
Forum: Java Nov 27th, 2005, 6:28 PM
Replies: 13
Views: 459
Posted By robrosas
Let's See...

First what is Die? A class you already implemented? .... And as the instructions say....You need a main method to run your class !! You need to build the PairO fDice class and the BoxCars class...
Forum: C++ Nov 25th, 2005, 8:42 AM
Replies: 7
Views: 381
Posted By robrosas
...

I saw that too grumpy, but he only asked for the constructor problem. Theres no sense why should CMatrix derives from Cvector. CMatrix can simply just "use" a Cvector and that's it.
Forum: C++ Nov 24th, 2005, 11:04 AM
Replies: 7
Views: 381
Posted By robrosas
Let me see..

I only made a fast overview of your code but I can see that you can solve your problem by initializing every CVector object in the matrix object with some loop. Like a for loop . for (int i =0;i<...
Showing results 1 to 12 of 12

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:37 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC