Guideline for where to begin.

This is a discussion on Guideline for where to begin. within the C Programming forums, part of the General Programming Boards category; Hi, I currently trying to implement a simulation banking system as part of an assigment. I must stress i do ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    23

    Guideline for where to begin.

    Hi,

    I currently trying to implement a simulation banking system as part of an
    assigment. I must stress i do not want line by line code to complete this,
    what i'm really after is a guide to how i would go about doing this.

    I need to read a customer from the file customer_list, into a fifo queue,
    every Ts time. (where Ts is expressed in seconds).

    Whilst this is happening i also need to have 3 tellers, who when a customer
    enters the queues, a free teller grabs the customers and processes there
    request, which takes Ts time. (as before). If no customer, teller sleeps.

    From thinking about this, I have come up what i believe is the best way to
    go.

    I think i should create one process that runs the customerInsert() routine,
    and then three processes one for each teller ( running the Teller() routine)

    Now, the problem that i have is i have never coded in C before. I am quite
    well versed in Java, however. Therefore my first question is whats the best
    way to start coding this? and secondly, how do i code this ?? Is there C
    API DOCS like Java has ??

    Thanks in advance,



    Matt

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,674
    What kind of class has you doing this kind of assignment having never coded in C before?

    gg

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    23
    It's a third year course. .

    I spose it's partly my fault, as all along we have had the option to write in either Java/C/C++ , i always opted for Java,

    Now this crappy lecturer wants it in C only!!!

    So i'm having major troubles ..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help me how to begin please...
    By lesrhac03 in forum C Programming
    Replies: 3
    Last Post: 04-13-2008, 10:18 AM
  2. Pleas take a look & give a critique
    By sh3rpa in forum C++ Programming
    Replies: 14
    Last Post: 10-19-2007, 10:01 PM
  3. Resource syntax error...
    By maxorator in forum Windows Programming
    Replies: 4
    Last Post: 06-22-2006, 05:23 PM
  4. Where to begin, graphically speaking?
    By Sennet in forum Game Programming
    Replies: 14
    Last Post: 01-22-2006, 01:28 AM
  5. Where to begin...?
    By Ayden in forum Game Programming
    Replies: 4
    Last Post: 07-11-2005, 09:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21