Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Event Driven Simulations

Name: oreth 2005-04-23 20:32

I'm working on a programming assignment for my C++ class... I have no Idea where to begin
http://www6.tltc.ttu.edu/rdesrosi/class/cs1412/Pgms/Registrar/Registrar.htm

That's assignment.

Oh man.



I'm having a helluva time trying to figure out where to start.

the only thing i've gotten thus far is an event creator

any good references on event driven simulations? or any good tips of advice?

Name: Anonymous 2005-09-15 19:04

2GET

Name: Anonymous 2005-09-15 19:34

That's a fucken long page you're asking us to read.  I saw event simulation, registrar, event list, parameter file.  And some pseudo-code for the general program loop.

I take it you're suppose to read in the entire file and populating your event list data structure as you go along.  Then run the general loop until an empty list.  So get that going first, have the general loop just do nothing but dequeue.

Once you get that working, it's just a matter of changing the general loop to do the processing they ask you to do.

Name: Anonymous 2005-09-16 12:32 (sage)

>>3
He postsed this in april. He has already failed the assignment, dropped out of school, and moved back to his mom's basement.

Name: Anonymous 2005-09-17 14:05 (sage)

Trivial producer/consumer modeling.  Sage for old post.

Name: Anonymous 2005-09-19 2:47

Look into discrete event simulation language such as GPSS/H

What the hell are you doing this when you are not in a simulation and modelling class...

Name: Anonymous 2009-01-08 12:48

>>1
For this assignment you should implement a JavaScript interpreter in x86 assembly:
"x86 assembly language is the family of backwards-compatible assembly languages for the x86 class of processors, which includes Intel's Pentium series and AMD's Athlon series. Like all assembly languages, it uses short mnemonics to represent the fundamental operations that the CPU in a computer can perform. Compilers often produce assembly code as an intermediate step when translating a high level program into machine code. Regarded as a programming language, assembly coding is machine specific and low level. It is therefore mainly used for detailed or time critical applications such as bootloaders, operating system kernels, and device drivers, as well as for real time or small embedded systems."
http://en.wikipedia.org/wiki/X86_assembly

"JavaScript is a scripting language widely used for client-side web development. It was the originating dialect of the ECMAScript standard. It is a dynamic, weakly typed, prototype-based language with first-class functions. JavaScript was influenced by many languages and was designed to look like Java, but be easier for non-programmers to work with.[1][2]

Although best known for its use in websites (as client-side JavaScript), JavaScript is also used to enable scripting access to objects embedded in other applications (see below).

JavaScript, despite the name, is essentially unrelated to the Java programming language, although both have the common C syntax, and JavaScript copies many Java names and naming conventions. The language's name is the result of a co-marketing deal between Netscape and Sun, in exchange for Netscape bundling Sun's Java runtime with their then-dominant browser. The key design principles within JavaScript are inherited from the Self and Scheme programming languages.[3]

"JavaScript" is a trademark of Sun Microsystems. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation.[4]"
http://en.wikipedia.org/wiki/Javascript

Name: FrozenVoid!FrOzEn2BUo 2009-01-08 14:28

"Whiffle whomp whuffer, diffle scruppie scroom blimp blutter"

Tiddley boobap, e wikofp pakapunderstop.

Name: FrozenCock !FrOzEnVMNM 2009-01-08 14:35

Name: Anonymous 2009-01-08 14:37

>>10
go away

Name: Anonymous 2009-01-08 18:47

Why the fuck are you learning C++? C++ is only for:

1. Maintaining legacy code
2. Terrible programers who think technolgy doesn't change

Name: Anonymous 2009-01-08 18:51

YHBT

Name: Anonymous 2012-08-28 23:17

>>12
You're an idiot

Name: Anonymous 2012-08-28 23:43

>>12
Your web browser, Photoshop, gcc, Microsoft Office, MySQL, all video games, most of Facebook, and OKCupid, were all written in C++ because C++ is the tool for demanding, important software.

Don't change these.
Name: Email:
Entire Thread Thread List