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
Symbols
Symbols
Jun 11, 2009 at 9:59am UTC
wizard25
(18)
Hey Guys
Can someone please explain to me the following symbols in C++, what they mean and how they work. I've searched around but all the information I've found is either to vague or unclear. The symbols are the following:
1) ?
2) int&
3) +=
4) .
5) getline ( )
Any help will be appreciated
Thanks
Last edited on
Jun 11, 2009 at 10:01am UTC
Jun 11, 2009 at 11:34am UTC
Bazzy
(6281)
1) Ternary operator:
http://www.cplusplus.com/doc/tutorial/operators/
2) Declaration of a reference:
http://www.cplusplus.com/doc/tutorial/functions2/
3) Increase operator
x += 5;
//add 5 to the value of 'x'
4) Operator used to access object members,
http://www.cplusplus.com/doc/tutorial/classes/
5) Function to read input:
http://www.cplusplus.com/reference/string/getline/
http://www.cplusplus.com/reference/iostream/istream/getline/
Topic archived. No new replies allowed.