Thread: understanding

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    291

    understanding

    Im trying to solve an exercise in Bjarne Stroustrup's The C++ Programming Language (3rd ed) but I have problems understanding the text (For those that have the book it's on page 326, Chapter 12, exercise 11).

    Design and implement a library for writing event-driven simulations.

    Can someone please explain this ?

    And another thing, what is a coroutine ? (Tryed searching for it but couldnt find anything decent)

    Appreciate any response.

  2. #2
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    did you read completely through ch 12 first?
    hello, internet!

  3. #3
    TransparentMember correlcj's Avatar
    Join Date
    Jun 2002
    Posts
    378

    Thumbs up Hiya!

    your answer, sir
    I hope this helps.
    cj
    "Be formless, shapeless, like water... You put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot... Now water can flow, or it can crash, be water my friend."
    -Bruce Lee

  4. #4
    Registered User
    Join Date
    Oct 2002
    Posts
    291

    Re: Hiya!

    Originally posted by correlcj
    your answer, sir
    I hope this helps.
    cj
    Thank you sir.

    Does anyone know where I can find a copy of task.h and task.cpp ? Need to try and understand how it works.

    Also, anything good article\tutorial on coroutine would be great.

    Thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Understanding Headers
    By AeonMoth in forum C++ Programming
    Replies: 2
    Last Post: 06-27-2007, 05:53 AM
  3. trouble understanding the source file structure
    By Mario F. in forum C++ Programming
    Replies: 5
    Last Post: 05-26-2006, 06:46 PM
  4. Replies: 8
    Last Post: 10-24-2005, 11:26 AM
  5. understanding recursive functions
    By houler in forum C Programming
    Replies: 7
    Last Post: 12-09-2004, 12:56 PM