Search:

Type: Posts; User: CindyLou

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    1,719

    got it

    thanks betazep, i figured that one out. my only issue now is, I only want it to print one message or the other, not both. everything else checks out - got rid of double hits (two hits on same set of...
  2. Replies
    20
    Views
    1,719

    Thanks Betazep

    I'm getting closer...you've been a great help. I appreciate it.
  3. Replies
    20
    Views
    1,719

    forgot to post code

    #include<iostream.h>

    int find (int array [], int size)

    {
    int t;
    int i;

    for (t = 0; t < 10; ++t)
    {
  4. Replies
    20
    Views
    1,719

    getting closer...

    Ok, this is what I have. Problem now, it keeps looping. I am getting some positive finds when I input 2 #'s that equal 100, and alot of "sorry..." How can I get it to check all, but print out only...
  5. Replies
    20
    Views
    1,719

    here's more info

    I realized my error in the first part of your reply :
    "for (i = 0; i < 10; i++)
    cin >> array[i];
    "
    Thanks.

    I figured I could set up two arrays. The first would be the input acquired in the...
  6. Replies
    20
    Views
    1,719

    help w/function

    I need a function to determine if there are two numbers in an array of 10, whose sum is 100. The function will be called find. Here is the rest of my program:

    int initialize(int array[], int size)...
  7. Replies
    6
    Views
    1,134

    Got it!!

    I Got it, I Got it!!! Yeah. Thanks so much. Now I can go to bed myself. Here's what I did with getinput:

    void getinput (int &num1, int &num2)
    {

    cout << "Enter two integers: ";
    cin >>...
  8. Replies
    6
    Views
    1,134

    void function

    I have trouble with void functions. I did try this, but didn't work. Could you give me an example :) I know you're tired, I appreciate this!!!!!
  9. Replies
    6
    Views
    1,134

    still getting junk

    Thanks, tried this (many times). My output is -858993460
    I can't seem to figure this out. I used visual c++ and borland and get junk on both. Problem seems to be in getinput. Any other ideas????
  10. Replies
    6
    Views
    1,134

    help ASAP w/program

    Need program to output largest number of two. The main function must remain as is. I believe the getinput function is where the problem is. I can get program to run when I get the input from within...
Results 1 to 10 of 10