Could someone help me?

This is a discussion on Could someone help me? within the C Programming forums, part of the General Programming Boards category; hi, could someone tell me what the differences among a block, a function, and a module are? Thank you very ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    8

    Could someone help me?

    hi,

    could someone tell me what the differences among a block, a function, and a module are?

    Thank you very much.

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,641
    a block:


    if(1 != 2) {
    //..an if block..
    }


    a function:

    int f(){
    retur 10;
    }

    a module:

    proggie.c
    Code:
    if( numeric_limits< byte >::digits != bits_per_byte )
        error( "program requires bits_per_byte-bit bytes" );
    24bbs.cpp

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21