Search:

Type: Posts; User: unclebob

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,368

    if statement question

    hello, i recently was asked to help a friend with a c++ error he had after he attempted something in a book. am not a pro on c++ myself, were both still learning it

    basically i read over it but...
  2. Replies
    4
    Views
    962

    function question

    hello, can someone please tell my why the following method of calling a function does not work??



    #include <iostream>

    int test1(int x){

    return x* 12;
  3. Replies
    6
    Views
    1,200

    so basically the return value 0/success ,...

    so basically the return value 0/success , 1/failure,error is different than the boolean use of using a 0 value to represent false and 1 to represent truth?

    i believe i understand, correct me if i...
  4. Replies
    6
    Views
    1,200

    question regarding main()

    pardon the amature question but i cant get a answer to my question anywhere

    i know the in a main() is followed by a
    return 0; to indicate sucess
    and return 1; to indicate a logic error or used...
  5. Thread: noob question

    by unclebob
    Replies
    9
    Views
    1,488

    hehe u are sneaky :P i think i see what laser...

    hehe u are sneaky :P

    i think i see what laser means

    if the sequence of numbers contains an odd pairing, it will be a logic error

    2, 3, 6, 2, 1, 5, 2, 5

    if i understand what relude is...
  6. Thread: noob question

    by unclebob
    Replies
    9
    Views
    1,488

    if its not too much to ask, could you please...

    if its not too much to ask, could you please explain what the various function calls do?

    i have a general idea, but would very much appreciate sa more descriptive reply


    this post is in regard...
  7. Thread: noob question

    by unclebob
    Replies
    9
    Views
    1,488

    noob question

    can anyone help me with a small exercise i have been given from a book. i have to check if numbers enetered into an array have duplicate entries and the following is what i have come up with so far....
Results 1 to 7 of 7