-
November 4th, 2011, 06:21 AM
#1
About the C++ syntax
How can I declare such a simple function in C++?
I used to program with C. Now I've moved to C++.
Is there any syntax comparison chart or table?
-
November 4th, 2011, 06:40 AM
#2
Re: About the C++ syntax
Can you elaborate that question a bit?
A non member function is declared the same way in C++ as in C. If you compile all source files as C++, i.e. not mixing C compiled and C++ compiled source, in most cases you won't notice any difference.
Edit: Here's a really good C++ FAQ http://www.parashift.com/c++-faq/
Last edited by S_M_A; November 4th, 2011 at 06:47 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|