cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Array of character as argument
Array of character as argument
Dec 20, 2008 at 9:59am UTC
Antonio
(4)
Hello,I'm trying to pass an array of char, like an array of option, to a function which I want to print to screen instead of use it in loop such for or while statement.
Can anyone suggest me how I can get it? Thanks.
Dec 20, 2008 at 10:44am UTC
firedraco
(6243)
1
2
3
void
myFunc(
char
* Stuff) {
//do stuff with Stuff
}
Dec 20, 2008 at 11:00am UTC
Antonio
(4)
Thanks
firedraco
.
Topic archived. No new replies allowed.