Thread: accepting input while writing to screen

  1. #16
    the lowly newb
    Join Date
    Jan 2005
    Location
    IL
    Posts
    49
    ok, thanks; ill keep trying to make allegro work, and then if i cant get it to work, i will fall back to the sdl
    "Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life."

    "They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance."

    "Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds the darkness has always got there first, and is waiting for it."
    [all]- Terry Pratchett

  2. #17
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Threading is not difficult per-se, it requires thought and planning however, resources most newbies are unwilling to provide, they want a quick fix.

    I have a very basic Windows threading tutorial on my site, starting here. It is written in C++ but if you change the headers and the cout's to printf's it will work. There is nothing language specific about the API's used.

    If you are using a *nix system, search for pThreads - most of the ideas are the same.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #18
    the lowly newb
    Join Date
    Jan 2005
    Location
    IL
    Posts
    49
    ok, cool, will read, thanks
    "Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life."

    "They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance."

    "Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds the darkness has always got there first, and is waiting for it."
    [all]- Terry Pratchett

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  2. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  3. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  4. Writing input from a file into shared memory
    By RazielX in forum C Programming
    Replies: 2
    Last Post: 09-23-2004, 12:34 PM
  5. Getting input data fram screen with a function ?
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 04-19-2002, 03:22 AM