473,614 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I need a C++ code style checker.

I need a C++ code style checker. Which is the best choice? free or for
fee.

Jul 24 '07 #1
3 2979
On Jul 24, 9:14 am, <wangdo...@gmai l.comwrote:
I need a C++ code style checker. Which is the best choice? free or for
fee.
Why not saying CPP editor directly? Dev-C++ may be a good choice if
you are using Windows.

Jul 24 '07 #2
On Jul 24, 2:18 pm, "1983...@gmail. com" <1983...@gmail. comwrote:
On Jul 24, 9:14 am, <wangdo...@gmai l.comwrote:I need a C++ code style checker. Which is the best choice? free or for
fee.

Why not saying CPP editor directly? Dev-C++ may be a good choice if
you are using Windows.
Checker is a editor? When i use Java, there's lots of tools.

Jul 25 '07 #3
On 24 ec, 03:14, <wangdo...@gmai l.comwrote:
I need a C++ code style checker. Which is the best choice? free or for
fee.
Which is the best choice? Of course this one, which fits best your
requirements :-)

I think you do not mean code formatting, it is easy with any good
editor and there are automatic formatters (for example astyle).

If you need more sophisticated checker, you should first of all turn
on all warnings (but be careful if you are using Microsoft compiler -
it produces many warnings on their own standard C++ library). Some
compilers may have other special flags.

You can compile your program with more compilers and on more
platforms, it helps to find some portability issues, but it is not
always possible.

You can make code review, but it is not automatic process.

As far as I know there is some checking from Parasoft, but it is not
cheap.

Jul 25 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

84
5881
by: Andy Glew | last post by:
I am in search of any rigourous, scientific, academic or industrial studies comparing naming conventions in C++ or similar languages such as Ada: Specifically, are names formed with underscores more or less readable than names formed with MixedCase StudlyCaps camelCase?
8
1459
by: Eclectic | last post by:
I have a couple of layers that are hidden. When an image is moused over, I want to show the appropriate layer, then hide it on mouseOut. The problem is, I get an error telling me "document.all.style is not an object" for whatever layer I have created first. It seems as though when the second layer is created, it overwrites the first one ....
9
2180
by: JimO | last post by:
I'm a newbie at this and I can't seem to find a list properties names to change styles on the fly. So far I've been lucky and managed to guess the names such as BodyElement.style.marginTop = 0; BodyElement.style.paddingTop = 0; Can anybody direct me to a list of CSS properties available in javascript?
136
5428
by: Merrill & Michele | last post by:
A derangement is a mapping of a set onto itself leaving no element fixed. I realized that that was what I was programming when I was asked to randomly determine who buys presents for whom this year in my wife's family. Obviously, one does not buy for himself. The code is followed by some questions. #include <stdio.h> #include <stdlib.h> #include <time.h>
3
2715
by: Bas Wassink | last post by:
Hello there, I'm having trouble understanding a warning produced by 'splint', a code-checker. The warning produced is: keywords.c: (in function keyw_get_string) keywords.c:60:31: Released storage Keywords.Keyword reachable from global A global variable does not satisfy its annotations when control is transferred. (Use -globstate to inhibit warning) keywords.c:60:11: Storage Keywords.Keyword released
5
1548
by: Moon Chow | last post by:
Hello, can anyone help me write a fragment of code to check to see if textarea form input contains the string "http" ? I've successfully created form checking functions with IF statements like this; if (document.form1.phone.value == "") {
6
2124
by: Eric_Dexter | last post by:
I am writing out zero byte files with this (using python 2.5). I have no idea why I am having that problem, I am also looking for an example of readlines where I can choose a number of lines say lines 12 to 14 and then write them back to disk. any help would be apreaceted. import sys as sys2 import os as os2
3
1762
by: Kinokunya | last post by:
Hi guys, My group and I will be working on our final year project, the scope to do a program/web-based application similar areas of functionalities like the PyLint and PyChecker; a Python syntax checker. We have no Python background, equipped only with some knowledge of Java and Dot net. We did some research on PyLint and found out that there are 2 common modules that PyLint & PyChecker are using, namely logilab-astng and
6
7749
by: sanjay | last post by:
Hi, Is there any tool that would do static detection (doesnt execute the application) of dead code for C++ application. Few tools do show which code flow would never get executed, but i am looking for some tool which would detect any functions that are never used at all? or any classes that are created but not instantiated. This is required for an application which includes hundreds of C++
0
8198
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8142
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8642
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8591
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8444
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6093
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5549
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2575
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.