Search:

Type: Posts; User: CBeginner

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,358

    factorials in recursive function

    #include <iostream.h>
    #include <stdlib.h>

    void factorial(int);
    int num;
    int f;
    void main ()
    {

    cout<<"enter number";
  2. Replies
    7
    Views
    3,631

    check it out. // // // #include...

    check it out.


    //
    //
    //

    #include <iostream.h>

    void truncate (float);
  3. Replies
    7
    Views
    3,631

    my output: Enter a decimal point number :...

    my output:

    Enter a decimal point number : 12.60

    After truncating the variable, the values are : 12.00 and 0.75

    Do you want to run the operation again [Y/N]? n


    Press any key to...
  4. Replies
    7
    Views
    3,631

    i tried. it was wrong, which is why i am here. so...

    i tried. it was wrong, which is why i am here. so what, the rules are i cant be helped?
  5. Replies
    7
    Views
    3,631

    tough question

    Write a program that uses a user defined function called 'truncate()' which separates the integer and the decimal part from a float value.

    The prototype for this function is as follows :

    ...
  6. Replies
    11
    Views
    1,123

    so do you know anything about hacking? does it...

    so do you know anything about hacking? does it involve C++
  7. Replies
    11
    Views
    1,123

    Re: switch

    thanks a lot mate. but the dumbass part isnt something you want to have when presenting this to a group of 40 year olds...:D
  8. Replies
    11
    Views
    1,123

    alright, that would make a good addition there....

    alright, that would make a good addition there. thanks.

    what kind of program would be best for an example of a switch statement:confused:

    so far i have the math calculator one only, but that...
  9. Replies
    11
    Views
    1,123

    thanks for the help. but dont you have a...

    thanks for the help.

    but dont you have a definition with a few short examples for selection:confused:

    so far, my definition has been

    "Function in C++ where the execution of the entire...
  10. Replies
    11
    Views
    1,123

    any useful webpages that may be helpful:confused:

    any useful webpages that may be helpful:confused:
  11. Replies
    11
    Views
    1,123

    quick question (please help

    i am quite new to C, so my understanding of a few statements are unclear. first,

    what is the meaning of selection, i know it has to do with programs being executed on basis of true of false, but...
Results 1 to 11 of 11