Forum: Java Dec 5th, 2006 |
| Replies: 2 Views: 919 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)
{
players[i]=null;... |
Forum: Java Dec 5th, 2006 |
| Replies: 2 Views: 919 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: 3,359 I wish to get 10 numbers from User and store them somehow without an array for that matter and get the same MultiTable to those numbers.
Its very tricky , i tried using some sort of SUM Varieble but... |
Forum: Java Nov 11th, 2006 |
| Replies: 5 Views: 3,359 Well , i.e. :
if the input is numbers from 1 to 10 :
1 2 3 4 5 6 7 8 9 10
2 4 ...................20
3 6....................30
4 8....................40
5 10 .
6 ... |
Forum: Java Nov 11th, 2006 |
| Replies: 5 Views: 3,359 Hello to all the Readers ,
I am trying to create a Multi-Table from 10 Numbers given by a user.
I cant figure it out why the Multitable isnt shown correctly. I tried
to enter the 1-10 numbers... |
Forum: C Jun 13th, 2006 |
| Replies: 2 Views: 1,580 #include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<string.h>
typedef struct Queue
{
int first;
int full_size;
int present_size; |
Forum: C Jun 13th, 2006 |
| Replies: 2 Views: 1,580 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... |
Forum: C Jun 1st, 2006 |
| Replies: 5 Views: 1,904 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,904 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,904 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.
... |
Forum: C May 27th, 2006 |
| Replies: 6 Views: 2,369 A few things :
1. how do you Take off the Top each time if not in that way?
2. Added Break Statements , still causes problems in Expression check ,
each EXP check gets OK ....
3. the If... |
Forum: C May 27th, 2006 |
| Replies: 6 Views: 2,369 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: 6 Views: 2,369 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: 856 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 ,... |
Forum: C May 1st, 2006 |
| Replies: 4 Views: 4,222 that code is actually adding 1 in place of index ? |
Forum: C May 1st, 2006 |
| Replies: 4 Views: 4,222 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... |
Forum: C Apr 23rd, 2006 |
| Replies: 1 Views: 815 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: 937 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... |
Forum: C Apr 23rd, 2006 |
| Replies: 4 Views: 937 I guess i didnt see it - sorry mate :confused: |
Forum: C Apr 23rd, 2006 |
| Replies: 4 Views: 937 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... |
Forum: C Apr 18th, 2006 |
| Replies: 3 Views: 799 i ment - i can't figure it :) LOL |
Forum: C Apr 18th, 2006 |
| Replies: 3 Views: 799 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... |
Forum: C Apr 16th, 2006 |
| Replies: 3 Views: 1,060 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: 1,060 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... |
Forum: C Apr 3rd, 2006 |
| Replies: 9 Views: 1,621 thanx , that will suffice :-) cheers! |
Forum: C Apr 3rd, 2006 |
| Replies: 9 Views: 1,621 I am putting up the code in attachment.... i tried watching the process and i still cant find whats wrong
thanx :D |
Forum: C Apr 2nd, 2006 |
| Replies: 9 Views: 1,621 the first IF is the stop condition for loop , if first letter doesnt match , it will not run on the rest of the strings. no?
yotam |
Forum: Upcoming News Stories Apr 2nd, 2006 |
| Replies: 8 Views: 6,332 I have installed FC5 because the board of education in Israel has decided students who learn C and C++ should compile and run in Linux.
I like the GUI , simple enough to use .
however i downloaded... |
Forum: C Apr 2nd, 2006 |
| Replies: 9 Views: 1,621 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... |
Forum: C++ Mar 25th, 2006 |
| Replies: 5 Views: 5,131 where is it located , the compiler in the Fedora System .... i cant find it |
Forum: C++ Mar 25th, 2006 |
| Replies: 5 Views: 5,131 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: 2,631 Hello ,
I wish to Duplicate certain Fields in the same tables when i open a new form that is related to that same table .
If i create a button of Duplicate Record , he will duplicate the Primary... |
Forum: C++ Jan 28th, 2006 |
| Replies: 2 Views: 1,188 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: 2,559 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>
... |
Forum: C Jan 21st, 2006 |
| Replies: 6 Views: 4,801 Thanx , i hope i can use it :-) |
Forum: C Jan 21st, 2006 |
| Replies: 6 Views: 4,801 Hello again ,
I am adding the Code for the Prog .... where the remarks are,
its is where i stuck . thanx again |
Forum: C Jan 21st, 2006 |
| Replies: 6 Views: 4,801 question : how Qsort will help me? if a 2D array is one big 1D arrray , should i work line by line ? |
Forum: C Jan 21st, 2006 |
| Replies: 6 Views: 4,801 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... |