Like Tree1Likes
  • 1 Post By Adak

Building a cache simulator

This is a discussion on Building a cache simulator within the C Programming forums, part of the General Programming Boards category; I was wondering if anyone could help me with building a cache simulator in C. It's for a University assignment. ...

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    2

    Unhappy Building a cache simulator

    I was wondering if anyone could help me with building a cache simulator in C. It's for a University assignment.
    I'm given this file:
    cachesim..c

    I'm not exactly sure where to start with this. Can anyone help?
    Last edited by vip3r; 10-18-2011 at 04:00 AM.

  2. #2
    Registered User
    Join Date
    Oct 2011
    Posts
    2
    I'm not sure why that comes up as "..c" it should be ".c"

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    That's just the forum shortening the link name.


    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Did you read through the file for any comments or instructions?

    Generally, we help people with C language problems, but we don't start their programs for them, unless it's totally trivial.

    My advice would be to get enough info from your instructor, classmates, books, or internet searches, to get SOMETHING started - show you've got the initiative, and the smarts to get the ball rolling on this.

    I'd start with reviewing how a cache works, and then start figuring out the most appropriate data structures to use, and how the operations of the cache, could be displayed well.
    iceaway likes this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. D-Cache/I Cache Simulator
    By husslela2 in forum C Programming
    Replies: 7
    Last Post: 04-27-2010, 08:41 AM
  2. Cache Simulator
    By husslela2 in forum C Programming
    Replies: 1
    Last Post: 04-12-2010, 08:56 PM
  3. Difference between ARP Cache and DNS cache?
    By namasteall2000 in forum Networking/Device Communication
    Replies: 9
    Last Post: 06-26-2009, 08:49 AM
  4. Simulator
    By MasterAchilles in forum C Programming
    Replies: 10
    Last Post: 11-30-2008, 09:31 PM
  5. need help with cache simulator!
    By dtogers123 in forum C Programming
    Replies: 3
    Last Post: 04-30-2008, 06:18 PM

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