1 view
Skip to first unread message

mohammed kadri

unread,
Mar 9, 2015, 2:39:31 PM3/9/15
to ucc...@googlegroups.com
seniors
what is the meaning of end;
in cplus  programming

Edward Pie

unread,
Mar 14, 2015, 2:06:33 PM3/14/15
to ucc...@googlegroups.com

It's just another way of appending the newline character to your output statements. Uno, you can use \n to append a newline right? Yeah, end has the same effect.

Edward Pie
Mobile Apps & APIs Developer
+233 200 662 782

--
You received this message because you are subscribed to the Google Groups "UCC GTUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uccgtug+u...@googlegroups.com.
To post to this group, send email to ucc...@googlegroups.com.
Visit this group at http://groups.google.com/group/uccgtug.
For more options, visit https://groups.google.com/d/optout.

Kobe

unread,
Mar 14, 2015, 3:59:56 PM3/14/15
to uccgtug
Kadri,

There is no end; in c++. The  right syntax is endl; which is literally end line. A newline character as Edward mentioned earlier on.

It is just the same as '\n' in java et al. 

Edward is right. 
--
"An extraordinary life is one lived in services to others"
-------------------------------------------
Owusu Subramaniam Kwabena ( KOBE)
g+: gplus.to/kobebigs
twitter: @kobebigs
skype: kobe_bigwig
www: http://kobebigs.com
Reply all
Reply to author
Forward
0 new messages