Thread: return types
View Single Post
Old 12-27-2004, 07:18 PM   #1 (permalink)
falsepride
Regular Contributor
 
Join Date: Oct 2004
Posts: 227
falsepride is on a distinguished road
return types

okay im starting to learn c++. and its a strict language so everything needs to be defined as what type of value you it is right? like if i want to make a function to return a number id have to make it,
Code:
int myfunction() {
}
Is that right? If so what other types are there? im guessing var for variable, and viod returns nothing.
falsepride is offline   Reply With Quote