Sponsored Content
Full Discussion: Coding Style checking
Top Forums Programming Coding Style checking Post 302899577 by zinat on Wednesday 30th of April 2014 07:39:07 AM
Old 04-30-2014
Coding Style checking

Is there any opensource tool which can check the coding style use in C/C++ program.
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Style not working right

:( The style "Craig's InfoPop" doesn't wrap lines on Netscape 4.79. It seems to work okay on MSIE. When I get home, I'll check on FBSD/Mozilla 1.0. Back to Silk Road ... (3 Replies)
Discussion started by: criglerj
3 Replies

2. Post Here to Contact Site Administrators and Moderators

New Style

Hi, I pop in here every so oftern and was suprised to see the changes in colour. I think the new style/colour is great :D (1 Reply)
Discussion started by: Ralf
1 Replies

3. AIX

Dashboard style tool(s)?

I was wondering if anyone knows of any dashboard style tools for AIX. One of my many responsibilities is to report the status of the boxes and whether certain things are "up" and running each and every day. Nonetheless, this is a MAJOR pain as I have to logon to each box, pull up URLs through my... (3 Replies)
Discussion started by: dsimpg1
3 Replies

4. Solaris

CDE Style Manager

How would one go about adding or removing the applications (keyboard, mouse, beep, screen, etc) from CDE's style manager (/usr/dt/bin/dtstyle)? running solaris 5.10 (4 Replies)
Discussion started by: eddiet
4 Replies

5. What is on Your Mind?

Old Style Computing and Networking

Does any one know what uucp stands for, what gopher is, does any one go BBS and edit with ed? If yes, are there any uucp providers today? Sometimes i get bored by all the Web @@@@ , and feel lonely in the world without uucp and free (realy free - no stupid Spamhaus etc) mailing lists. TIA Action (14 Replies)
Discussion started by: Action
14 Replies

6. Shell Programming and Scripting

Programming guidelines and style

Hello all, I would like to know if there is a generally accepted unix shell programming Guideline? Do you have any idea where to find this? There are a lot of programming Guidelines to find over Google, but is there one who is generally accepted? (3 Replies)
Discussion started by: API
3 Replies

7. What is on Your Mind?

Coding Style at UNIX.com forums

Hi, as I mentioned in this thread(https://www.unix.com/shell-programming-and-scripting/280737-awk-function-return-permutations-n-items-out-m.html), a helpful coding style may improve overall value and support for people who come here and want to learn things the participants from unix.com have... (2 Replies)
Discussion started by: stomp
2 Replies
Parser::Style::Stream(3)				User Contributed Perl Documentation				  Parser::Style::Stream(3)

NAME
XML::Parser::Style::Stream - Stream style for XML::Parser SYNOPSIS
use XML::Parser; my $p = XML::Parser->new(Style => 'Stream', Pkg => 'MySubs'); $p->parsefile('foo.xml'); { package MySubs; sub StartTag { my ($e, $name) = @_; # do something with start tags } sub EndTag { my ($e, $name) = @_; # do something with end tags } sub Characters { my ($e, $data) = @_; # do something with text nodes } } DESCRIPTION
This style uses the Pkg option to find subs in a given package to call for each event. If none of the subs that this style looks for is there, then the effect of parsing with this style is to print a canonical copy of the document without comments or declarations. All the subs receive as their 1st parameter the Expat instance for the document they're parsing. It looks for the following routines: o StartDocument Called at the start of the parse . o StartTag Called for every start tag with a second parameter of the element type. The $_ variable will contain a copy of the tag and the %_ variable will contain attribute values supplied for that element. o EndTag Called for every end tag with a second parameter of the element type. The $_ variable will contain a copy of the end tag. o Text Called just before start or end tags with accumulated non-markup text in the $_ variable. o PI Called for processing instructions. The $_ variable will contain a copy of the PI and the target and data are sent as 2nd and 3rd parameters respectively. o EndDocument Called at conclusion of the parse. perl v5.18.2 2011-05-24 Parser::Style::Stream(3)
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy