Help!!

This is a discussion on Help!! within the C++ Programming forums, part of the General Programming Boards category; What is a global varible? What case is used in C programming? What is the constant 'x' used for?...

  1. #1
    Unregistered
    Guest

    Red face Help!!

    What is a global varible?
    What case is used in C programming?
    What is the constant 'x' used for?

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Hmmm... smells like homework.

    1) a variable that gets lots of frequent flier miles
    2) what sort of a question is that?
    3) well... it's difficult to tell without the code.

    These are all really basic questions... not too difficult.

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    >What is a global varible ?

    A global variable is a variable using the greatest possible scope.

    >What case is used in C programming ?

    C is case sensitive if you asked for that.

    >What is the constant 'x' used for ?

    uhm... you should probably look that up in your own code, there is no global definition of a constant x.

    Good luck. This seems to be a homework assignment.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    oh please....
    by reading any tutorial (or if you had attended programming classes) you would find that out.

    do your own homework.

    local variables are variables that can only be called once ever and you must name them loCalVaRiAbLe1 then 2 and so on....

    you must also preced them with _i_will_pay__attention_to_my_lectureres__in_future

    c is a cse sensitive langugae and everything MUST be written in CAPS

    x is a very special character that closes all streams, files exits the program and o/s and makes you a coffee when its done

    -
    Monday - what a way to spend a seventh of your life

  5. #5
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    > makes you a coffee when its done

    But it doesn't add cream (althought Slashdot says that Atari's planning to add that when they release their new version of C this Desember )

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