Forum: Java Dec 5th, 2006 |
| Replies: 2 Views: 664 Re: Big Problem , cannot fix it public static int EliminatePlayers(int max,int min,int numOfPlayers)
{
int killCount=0;
int retValue=0;
for (int i=0;i<10;i++)
{
if (rollArray[i]==min)... |
Forum: Java Dec 5th, 2006 |
| Replies: 2 Views: 664 Big Problem , cannot fix it Hello to you all ,
I am attaching a HW project which i made in Eclipse 3.2 Enviorment.
It is a Cube tourney that each game consists 10 players.
Round 1 is 100 Games , each winner is sent to the... |
Forum: Java Nov 11th, 2006 |
| Replies: 5 Views: 1,945 |
Forum: Java Nov 11th, 2006 |
| Replies: 5 Views: 1,945 |
Forum: Java Nov 11th, 2006 |
| Replies: 5 Views: 1,945 |
Forum: C Jun 13th, 2006 |
| Replies: 2 Views: 1,033 |
Forum: C Jun 13th, 2006 |
| Replies: 2 Views: 1,033 Void** Array - Implement With Strings - Problem Hello to you all ,
I am Trying to Implement Code for Void** Array which will Store
Strings in a QUEUE system .
I can see the Strings in the Queue .
I am sure i dis the Casting OK, But i need a... |
Forum: C Jun 1st, 2006 |
| Replies: 5 Views: 1,080 Re: Void* Array - HELP! so you are suggesting a Struct of Type to Use and DATA is the field itself?
1= sVal and so on? :-)
we are forced to use VOID* ARRAY ... :-)
anyhow , after i store the data , i need to find the two... |
Forum: C Jun 1st, 2006 |
| Replies: 5 Views: 1,080 Re: Void* Array - HELP! thank you :-)
follow up question - if i wish to print out the array , do i need typecasting as well , like in Scanf ? |
Forum: C Jun 1st, 2006 |
| Replies: 5 Views: 1,080 Void* Array - HELP! Hello ,
I wish to create a User-Defined array (1=float , 2=int) and to ALLOC
the array properly. I defined void* ARR in main function
and is a SWITCH (choise) i will make the desired array.
why... |
Forum: C May 27th, 2006 |
| Replies: 4 Views: 1,223 |
Forum: C May 27th, 2006 |
| Replies: 4 Views: 1,223 Re: HW Assignment - Checking Brackets using Stack I see your point :-)
i build something , but for some reason , it will state all Expression are OK and i tried to Debug it , and i cant figure what went wrong... Code Added . The check is though... |
Forum: C May 27th, 2006 |
| Replies: 4 Views: 1,223 HW Assignment - Checking Brackets using Stack Hello to you all ,
I am required to write a program which gets a Math Expression (without checking it is good) and put in Stack only the Brackets .
Implementation of Stack is One-Way Linked List... |
Forum: C May 12th, 2006 |
| Replies: 1 Views: 585 Menu repeats itself Hello :-)
I have build a task of Linked List but for some reason , after i break the Input sequence by entering the same INT value twice in a row , the menu appears twice . howcome?
Thank , Code... |
Forum: C May 1st, 2006 |
| Replies: 4 Views: 2,139 |
Forum: C May 1st, 2006 |
| Replies: 4 Views: 2,139 bitwise operations in C Hello :)
i need to write a program which gets from user number and index
( 0 <= number <= 255 , 0<=index<=7) .
then to add up to the number in bitwise a 1 in the place of the index :
if number is... |
Forum: C Apr 23rd, 2006 |
| Replies: 1 Views: 523 gcc problem with standard C Evening :)
I am trying to run a makefile on a program i wrote.
in Borland C it runs smoothly .
after running the makefile - all sorts of error appear which i do not understand.
i am adding the... |
Forum: C Apr 23rd, 2006 |
| Replies: 4 Views: 676 Re: C problen with Files I did just that . now it messes up another string - i'll figure it out
somehow , the thing is , we were never tought the subject BUFSIZ and
"sscanf" - so no offence there ;)
i got slapped on using... |
Forum: C Apr 23rd, 2006 |
| Replies: 4 Views: 676 |
Forum: C Apr 23rd, 2006 |
| Replies: 4 Views: 676 C problen with Files Hello to you all ,
Major problem in C , Files included
Summary of problem :
Program will not copy the feild "name" from struct "univ->std.name" properly. the rest of data is presented fairly.
do... |
Forum: C Apr 18th, 2006 |
| Replies: 3 Views: 566 |
Forum: C Apr 18th, 2006 |
| Replies: 3 Views: 566 Help! Unknown bug in Writing to file Hello to you all ,
I have a program who i want to copy one input.txt to a output.txt
and for some reason it duplicates the string and it doest create a full duplicate .
i am over this for a few... |
Forum: C Apr 16th, 2006 |
| Replies: 3 Views: 813 Re: Files in C I did so , however , only the first name was fixed .... how bizzare.
1. what does "buff" stands for , after all it has no Value.
2.BUFSIZ shoulde be defined or resized each reading from source... |
Forum: C Apr 16th, 2006 |
| Replies: 3 Views: 813 Files in C Hello to you all ,
I am having a little trouble in C , working with Files.
for some reason , it doesnt copy to output file the first letter and jumps
over 3 digits of the last number in the file .... |
Forum: C Apr 3rd, 2006 |
| Replies: 9 Views: 1,138 |
Forum: C Apr 3rd, 2006 |
| Replies: 9 Views: 1,138 |
Forum: C Apr 2nd, 2006 |
| Replies: 9 Views: 1,138 |
Forum: C Apr 2nd, 2006 |
| Replies: 9 Views: 1,138 C problem in strings and recursive check Hello to you all ,
I have been assigned to in C to build a function which will take 2 strings and count (in recursive way) how many chars are alike (case sensitive).
I have setup the main and also... |
Forum: C++ Mar 25th, 2006 |
| Replies: 5 Views: 3,156 |
Forum: C++ Mar 25th, 2006 |
| Replies: 5 Views: 3,156 Compiling in Fedora Core 4 Hello :-)
I have installed Fedora Core 4 and we learn in college C++ .
where can i find a C++ author and compiler for Fedora Core 4?
Thank you |
Forum: MS Access and FileMaker Pro Feb 6th, 2006 |
| Replies: 0 Views: 1,960 |
Forum: C++ Jan 28th, 2006 |
| Replies: 2 Views: 955 Recursive Assignment in HomeWork Hello to you all ,
i have recieved an assignment to build a recursive function
which will recieve an array which has to check if it is "Up&Down" from both sides : Example : 2 5 6 12 7 5 2... |
Forum: C Jan 23rd, 2006 |
| Replies: 1 Views: 1,246 struct comparison - not working Hello to you All ,
For some reason , the Compiler throws me an Error
"Illegal Operation" on the Comparison described below :
#include <stdio.h>
#include <math.h>
#include <conio.h>
typedef... |
Forum: C Jan 21st, 2006 |
| Replies: 6 Views: 3,320 |
Forum: C Jan 21st, 2006 |
| Replies: 6 Views: 3,320 |
Forum: C Jan 21st, 2006 |
| Replies: 6 Views: 3,320 |
Forum: C Jan 21st, 2006 |
| Replies: 6 Views: 3,320 Sorting 2D Dynamic array of integers , Snake Style Hello you all!!!
I got an Assignment to sort a Randomized Dynamic 2D Matrix of Integers , Snake style : for Example : biggest number in row 0 , after it follows (beneath it , vividly) the next number... |