Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 5 results for
processtime
- Page 1
Unexpected runtime results
Programming
Software Development
13 Years Ago
by gekkoswave
…private int timeInQueue; private int customerNumber; private int
processTime
; Customer(int customerNumber, int arrivalTime, int exitTime,…; this.customerNumber=customerNumber; this.
processTime
=
processTime
; } Customer(int customerNumber, int arrivalTime, int
processTime
){ this.customerNumber=customerNumber; this.…
Grocery Store Simulation obj won't initialize
Programming
Software Development
9 Years Ago
by Alyssa_2
…(int max_processTime); private: //int id; int
processTime
; int initalTime; int initalItems; static int max_processTimeInterval…initalTime = inital; initalItems = items; //
processTime
is from Passenger.h
processTime
= 1 + simulation_obj.next_int(max_processTimeInterval); } …
Re: Processes, Ready Queue, Disk Queue
Programming
Software Development
12 Years Ago
by BoBok2002
… PID; string process_state; int progCount; float readyTime; float cpuTime; float
processTime
; }; int main () { struct processPCB; queue que; //string running, ready, disk…
Re: Unexpected runtime results
Programming
Software Development
13 Years Ago
by jon.kiparsky
Looks pretty intricate. Since you're not getting a compiler or run-time error, it's a logic error. The way to track those is to get a look into the program. What's happening when? So I'd start by looking to see how many times createCustomer is actually called. Create a static int called counter, initialize it to zero, and then at the start of …
Re: Grocery Store Simulation obj won't initialize
Programming
Software Development
9 Years Ago
by Moschops
`Checkout_Simulation.h:27: error: cannot convert 'const char*' to 'Passenger<int>*' in initialization` This is because you're trying to assign a char\* to an object of type Passenger<NODETYPE>\* in your initialisation list, here: `Checkout_Simulation() : super_express("Super Express Counter 01"),` See there? super_express is…
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC