Does anyone here know Unix? - DFWstangs Forums
 
LinkBack Thread Tools Display Modes
post #1 of 10 (permalink) Old 10-16-2003, 09:24 AM Thread Starter
Lifer
 
MustangGirl's Avatar
 
Join Date: Mar 2001
Location: Dallas, TX
Posts: 1,513
Does anyone here know Unix?

Need some help...thanks.

MustangGirl is offline  
Sponsored Links
Advertisement
 
post #2 of 10 (permalink) Old 10-16-2003, 09:40 AM
Hired Hand
 
Big A's Avatar
 
Join Date: Jul 2001
Location: Sunny San Diego
Posts: 36,166
I thinking the member that had their penguin as his avatar might be of assistance. PM Abecx.

Raven 2006 Yamaha R6S

"If it has horsepower or tits you're gonna have trouble with it eventually..."
Big A is offline  
post #3 of 10 (permalink) Old 10-16-2003, 09:43 AM
How you doin'
 
STANGGT40's Avatar
 
Join Date: Mar 2001
Location: 8 Rib > 6 Rib
Posts: 28,254
you'll have better luck in here.

brad
STANGGT40 is offline  
 
post #4 of 10 (permalink) Old 10-16-2003, 09:44 AM
\(_o)/
 
AbecX's Avatar
 
Join Date: Nov 2001
Location: Las Colinas
Posts: 25,373
Sup
AbecX is offline  
post #5 of 10 (permalink) Old 10-16-2003, 10:34 AM
El Camino
 
Stang2be's Avatar
 
Join Date: Sep 2003
Location: in front of the keyboard
Posts: 3,432
Which version of UNIX?

I've got AIX 4.33, 5.1 here along with BSDI.

I've also got a Red Hat 9 box and a Gentoo box.

2007 Taurus SEL - daily driver
1974 El Camino SS - 400sb

Quote:
Originally Posted by purrrfectstang
Umm.. what is the ID-10T settings?
Stang2be is offline  
post #6 of 10 (permalink) Old 10-16-2003, 12:26 PM Thread Starter
Lifer
 
MustangGirl's Avatar
 
Join Date: Mar 2001
Location: Dallas, TX
Posts: 1,513
Well it's actually a program run in Unix, but the program is in C Programming...
MustangGirl is offline  
post #7 of 10 (permalink) Old 10-16-2003, 01:31 PM
Time Served
 
Join Date: Sep 2003
Location: Austin
Posts: 153
Lightbulb i can try to help

im currently fluent in many computer languages. shoot the question...lol...programming is like fixing my mustang...it just takes steps..
sum87mustang is offline  
post #8 of 10 (permalink) Old 10-16-2003, 02:56 PM Thread Starter
Lifer
 
MustangGirl's Avatar
 
Join Date: Mar 2001
Location: Dallas, TX
Posts: 1,513
Ok here it is....
Need to be able to do a multiple loop in C for number 6 is the only one I have a issue with....

Thanks for your help.
This project creates a system to simulate a hotel
Guest:
1) 100 guests visit the hotel (1 thread per guest created at start of simulation).
2) A guest must check in to the hotel (hotel only has 50 rooms).
3) Upon check in, a guest gets a room number from a reservationist.
4) Each guest has a random number of bags (0-5).
5) A customer with more than 2 bags requires a bellhop.

6) After check in, a guest may do one or more of the
following (in series):
a) Go to hotel swimming pool (20% chance)
b) Go to hotel restaurant (20% chance)
c) Go to hotel fitness center (20% chance)
d) Go to hotel business center (20% chance)
e) Talk to the hotel concierge (20% chance)

MustangGirl is offline  
post #9 of 10 (permalink) Old 10-16-2003, 05:43 PM
Time Served
 
Join Date: Sep 2003
Location: Austin
Posts: 153
Lightbulb i've done this

the number 6 thats giving you problems (the loop) i've done that before, its just a calculation with probably a case-select of some sort(or nested if). i've only done that kind of loop in java applets but doing it in c shouldnt be that bad since java is c derived. i'll try to get you an answer but im gonna have to think since i got lots of my own unix and sql work to do...i'll keep your issue in mind..

-jes
sum87mustang is offline  
post #10 of 10 (permalink) Old 10-16-2003, 10:21 PM Thread Starter
Lifer
 
MustangGirl's Avatar
 
Join Date: Mar 2001
Location: Dallas, TX
Posts: 1,513
Re: i've done this

Thank you very much...
Quote:
Originally posted by sum87mustang
the number 6 thats giving you problems (the loop) i've done that before, its just a calculation with probably a case-select of some sort(or nested if). i've only done that kind of loop in java applets but doing it in c shouldnt be that bad since java is c derived. i'll try to get you an answer but im gonna have to think since i got lots of my own unix and sql work to do...i'll keep your issue in mind..

-jes
MustangGirl is offline  
Sponsored Links
Advertisement
 
Reply

Bookmarks

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the DFWstangs Forums forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome