Retrieving a value from a void function.
From: Don (donald_bf_at_yahoo.com)
Date: 03/30/05
- Next message: Peter : "Re: Why does the answer is 0?"
- Previous message: joshc: "6.5.7.4 Bitwise shift operators"
- Next in thread: Jyotirmoy: "Re: Retrieving a value from a void function."
- Reply: Jyotirmoy: "Re: Retrieving a value from a void function."
- Reply:(deleted message) dot_at_dot.dot: "Re: Retrieving a value from a void function."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Mar 2005 19:11:51 -0800
I am a beginner in C. A student I should say. Is it possible to
retrieve a value from a void function? A have a void function that
reads a string or number from a file. I call that function from main
and want to set char* x or int x equal to what is read. How does that
work?
Thank you
- Next message: Peter : "Re: Why does the answer is 0?"
- Previous message: joshc: "6.5.7.4 Bitwise shift operators"
- Next in thread: Jyotirmoy: "Re: Retrieving a value from a void function."
- Reply: Jyotirmoy: "Re: Retrieving a value from a void function."
- Reply:(deleted message) dot_at_dot.dot: "Re: Retrieving a value from a void function."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]