; > and "

I just began but been noticing that most sites say you end with ; but looking more some other codes use " or > to end. I was wondering what is the difference?
all statements in c++ ends with ;
and when u see " or > at the end, it means its not the end of the statement
it continues on the next line until it hits ';'
@dumb0t
all statements in c++ ends with ;


...except compound statements.:)
and precompiler statements.

1
2
#include "myheader.h"  //looks within the local directory
#include <list>              //searches the include path 


Is there any examples for compound statements?

Thanks in advance.
Thank you very much.
Topic archived. No new replies allowed.