Computing.Net > Forums > Unix > to check if cpp code follows guidel

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

to check if cpp code follows guidel

Reply to Message Icon

Name: swaroopjoshi
Date: August 11, 2008 at 03:44:42 Pacific
OS: Fedora 7
CPU/Ram: Intel Dual Core, 1.7GHz,
Comment:

Hi,
I am writing a script which will verify if a given .cpp file is following
the specified coding guidelines (rather a small subset of it).

I have already implemented some of the characteristics, but wanted some
help regarding the following points.
1. Maximum length of a function body should not be more than 50 lines
2. Method/Member name should start with a lowercase
3. In a class declaration, public, protected and private members should be in that order only. ie. first all public members , then protected (if any), then the private ones (if any)

Thanks
Swaroop



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


extract field from string Initializing files to emp...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: to check if cpp code follows guidel

Check if variable starts with / www.computing.net/answers/unix/check-if-variable-starts-with-/6191.html

If to check muttiples of a value www.computing.net/answers/unix/if-to-check-muttiples-of-a-value/7827.html

How do I check if a directory exists? www.computing.net/answers/unix/how-do-i-check-if-a-directory-exists/1954.html