| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I need to know the format of the statement that defines, calls and uses a functuion that has an string array of characters, this is a program of a student data base where the functions are add, edit, print, find number in data base. I don't know how to pass the address of the array not the value.
|
|
#2
|
|||
|
|||
|
Not sure I understand what you need to do... But you want to define a function that accepts an array as an argument?
ie: void function_name(char arg_name[]){ ... } You can use a pointer to pass the array's address: function_name(&array); Let me know if this is what you're after.
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > C++ Functions and Arrays |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|