c++ Programming Tutorial 5
Uploader Comments (reconnetworks)
Top Comments
-
So wat happened to the "big vid" u promised was going to come out?? *disappointed*
All Comments (191)
-
*5 years in the future*
When does tutorial 6 come out? :D
-
@tedtdu You don't need to 'return' a value from the function because that's what the pointers are for. You can only 'return' one value from a function so instead you can use pointers. When you assign a value to a pointer (even in another function) it will assign that value to the variable which it points to. So the user's input assigns that number to the pointer, which automatically sends the value to the variable in 'main'.
-
Since "pointerfunction" does not return, how can the firstpointer and secondpointer equal to the number using inputs?
-
so basic hahaha
-
@eminemchu43 rtfm
-
What's the meaning of the asterisk in your program.
Please just mail me your answers. Thanks..
-
firstpointer and secondpointer are not pointers- they are variables, their ADDRESSES are pointers.
-
ok i understand now :D btw i also finally learned what endl; does cuz you stoped using it alot in this one :)
-
ewww, he's using system("pause") such a windows dependent function.
im teaching simple console applicatons... its not improper practice.
reconnetworks 2 years ago 5