Exforsys
+ Reply to Thread
Results 1 to 4 of 4

Data binding in C++

This is a discussion on Data binding in C++ within the C and C++ forums, part of the Programming Talk category; Hi, I want to know about What is Data Binding, and type of Data Binding in C++ with Example?. Thanks& ...

  1. #1
    naresh1822 Guest

    Data binding in C++

    Hi,

    I want to know about
    What is Data Binding, and type of Data Binding in C++ with Example?.


    Thanks& Regards
    Naresh Mishra


  2. #2
    awais shabir is offline Junior Member Array
    Join Date
    Jun 2009
    Answers
    1
    can you help me building a data structure


  3. #3
    prashanth_kmr is offline Junior Member Array
    Join Date
    Jul 2009
    Answers
    1
    By data binding I'm assuming that means storing data in a variable. I'm not familiar with that term, but my guess seems to make sense. Yes, one of the principles of the C++ language is the ability to store data in variables for program use. A simple example would be an integer: int x = 5; There now we have just binding the number "5" to the variable "x". "x" can be substituted for 5 anywhere within the scope of that variable now. A function is a way of writing common code such that you don't have to copy and paste code all over your program. For example, maybe you need to ask 5 people for their user names and passwords in a program. Instead of copying and pasting the code to do that 5 times you can put it in a function and just call the function 5 times instead.


  4. #4
    moonlight is offline Banned Array
    Join Date
    Jul 2008
    Answers
    27
    One of the principles of the C++ language is the ability to store data in variables for program use. A simple example would be an integer: int x = 5; There now we have just binding the number "5" to the variable "x". "x" can be substituted for 5 anywhere within the scope of that variable now. A function is a way of writing common code such that you don't have to copy and paste code all over your program.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...