Search:

Type: Posts; User: Zarkon

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    878

    Thanks - with some fiddling I was able to get...

    Thanks - with some fiddling I was able to get this to work.

    Two questions, though:

    1. Do these library functions need to be set static?

    2. Is there another way to access these methods other...
  2. Replies
    3
    Views
    878

    Collecting Common Functions

    After several C++ projects I have several useful functions which I use regularly, such as bubbleSort(), initializeArray(), among others.

    My instructor has said to create a "personal library" of...
  3. Replies
    1
    Views
    1,815

    Handling input from cin

    My current project requires me to trap non-valid input (values that are not rational numbers) and return an error. The code I'm using is:


    // Input the value
    while (cin.fail())
    {
    cout <<...
Results 1 to 3 of 3