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
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)
Summary: Hello, I'm trying find a way to check if a variable starts with forward slash "/". Whoever, nothing that I have tried seems to work. For example, I want to perform the following check on my "out_dir" ...
Summary: Hi, I want to make an if clause in UNIX to check if a value is multiple of other one. If var <is multiple of> 3 then... This condition is fulfilled when var is equal to 3, 6, 9, 12... Which is the ...