|
|||
|
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.
|
|
|||
|
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.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data Modeling Tutorials | lokeshm | Data Warehousing | 0 | 04-24-2007 03:18 PM |
| difference between Data Warehouse and Online Analytical Processing | techguru | Data Warehousing | 1 | 04-10-2006 12:25 PM |
| hierarchail & network | kisshug | Oracle Tutorials | 2 | 05-01-2005 05:17 PM |
| [FAQ] FileMaker Pro - database for Macintosh and Windows | Martin Trautmann | Tech FAQ | 0 | 04-17-2004 08:26 AM |
| Apple II Csa2 FAQs: Telecom Hardware & Transfers, Part 20/25 | rubywand@swbell.net | Tech FAQ | 0 | 04-04-2004 08:29 AM |