Results 1 to 8 of 8

Thread: C & C++

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Mirfield,West Yorkshire,Englan
    Posts
    11
    I am studying for a vb degree and I am at present learning 'c'.
    I have a question to answer which is to build a pgm that prints out the number of people in a bus queue using the rand function there must never be no people in the queue
    and a person departs or arrives every 30 seconds It is the rand function that is a problem to me, where do I put rand within the c program.

    Hope someone can help

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Sorry to Hi-jack your post, but do you know any freeware C(++) compilers?

    Thanks!
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    freeware C++

    Here is a link to PCGrasp programming environment and
    Cygwin32, the compiler. It is decent software. I use it at school.

    http://www.cs.ua.edu/124/software.htm


  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Thanx! looks ok!
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    CygWin is actually a whole development system designed to mimic a Unix system, and it contains the GNU C++ compiler.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    Lightbulb Here's an idea...

    For a better response to C/C++ questions, move this post to the C/C++ Forum!!

    Located here:
    http://forums.vb-world.net/forumdisplay.php?forumid=9
    ~seaweed

  7. #7
    Guest
    DJGPP (RHIDE) C++ compiler is what I use, it gives better compile-error suggestions than any other compiler i've seen.


  8. #8
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Where can I find that one wossname?

    Thanx for the suggestions guys!
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width