473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

lint program for windows

AmberJain
884 Expert 512MB
Someone please tell me the download site for a free C lint program for windows. I'm using Borland Turbo C++ 3.0 compiler and my OS is Windows XP.

THANKS TO EVERYONE IN ADVANCE


===========
ambrnewlearner
===========
May 21 '08 #1
12 7170
arnaudk
424 256MB
Do you actually mean CINT?
May 21 '08 #2
oler1s
671 Expert 512MB
OP, is it that hard to Google?

On another note, you're first step should probably be to get a modern compiler. Turbo C++ 3.0 is not modern,
May 22 '08 #3
AmberJain
884 Expert 512MB
Do you actually mean CINT?
NO, it's not CINT.

It is LINT.............

Click on link below to see more information.

LINK


============
AmbrNewlearner
============
May 22 '08 #4
AmberJain
884 Expert 512MB
OP, is it that hard to Google?

On another note, you're first step should probably be to get a modern compiler. Turbo C++ 3.0 is not modern,
Yes, I searched google and downloaded SPLINT.

Which C/C++ compiler would you prefer for me to use (specifically ANSI C89 based C compiler) ?
May 22 '08 #5
arnaudk
424 256MB
It is LINT.............
Have a look at this list.
May 22 '08 #6
oler1s
671 Expert 512MB
Which C/C++ compiler would you prefer for me to use
Anything recent is fine. The idea is you don't rely on old DOS compilers.

Since you are on Windows XP, you really may want to try out Visual C++ Express 2008. It's free, and it's the Microsoft compiler, so you're in pretty good shape if you ever want to do Windows programming. gcc is also popular. The windows version comes under the name MinGW. It's more difficult to setup, especially if you aren't an experienced C programmer, so I don't recommend it anymore. Borland has been updating their compilers as well. They should have released a free version of their Turbo C++ compiler some years ago.

In any case, you have a number of free alternatives that are up to date and are actual Windows 32-bit compilers.
May 22 '08 #7
sicarie
4,677 Expert Mod 4TB
Another option is to follow the links on the link you posted.

http://en.wikipedia.org/wiki/List_of..._code_analysis
May 22 '08 #8
AmberJain
884 Expert 512MB
Anything recent is fine. The idea is you don't rely on old DOS compilers.

Since you are on Windows XP, you really may want to try out Visual C++ Express 2008. It's free, and it's the Microsoft compiler, so you're in pretty good shape if you ever want to do Windows programming. gcc is also popular. The windows version comes under the name MinGW. It's more difficult to setup, especially if you aren't an experienced C programmer, so I don't recommend it anymore. Borland has been updating their compilers as well. They should have released a free version of their Turbo C++ compiler some years ago.

In any case, you have a number of free alternatives that are up to date and are actual Windows 32-bit compilers.
THANKS to everyone for their replies.....

Hello "oler1s",
Well I have some queries.........

1. Are MinGW or Visual C++ Express 2008 "ANSI C89" compliant?
2. I'm not interested in windows programming under C. So, is classic (probably this is the right word for it) C programming possible under Visual C++ Express 2008 or MinGW?

============
ambrnewlearner
============
May 23 '08 #9
Sick0Fant
121 100+
THANKS to everyone for their replies.....

Hello "oler1s",
Well I have some queries.........

1. Are MinGW or Visual C++ Express 2008 "ANSI C89" compliant?
2. I'm not interested in windows programming under C. So, is classic (probably this is the right word for it) C programming possible under Visual C++ Express 2008 or MinGW?

============
ambrnewlearner
============
You can do bare-bones C programming in both gcc and msvc. You can supply gcc the command argument -ANSI (or something similar) to make sure it's compliant. I usually don't bother cuz that means you can't use // to comment (very annoying)
May 23 '08 #10
AmberJain
884 Expert 512MB
You can do bare-bones C programming in both gcc and msvc. You can supply gcc the command argument -ANSI (or something similar) to make sure it's compliant. I usually don't bother cuz that means you can't use // to comment (very annoying)
What does MSVC stands for?

I expect it to be MICROSOFT VISUAL C. Am I right or is it something else?

AMBRNEWLEARNER
May 23 '08 #11
oler1s
671 Expert 512MB
Are MinGW or Visual C++ Express 2008 "ANSI C89" compliant?
Yes. Each compiler has compiler flags that can enforce strictness to the standard, and turn off extensions.

[quoteI'm not interested in windows programming under C. So, is classic (probably this is the right word for it) C programming possible under Visual C++ Express 2008 or MinGW?[/quote]I don't associate the word classic with anything. So I presume you mean console programs, all using only ANSI compliant code. Yes, it's possible.

What does MSVC stands for?
Microsoft Visual C++.
May 23 '08 #12
AmberJain
884 Expert 512MB
Yes. Each compiler has compiler flags that can enforce strictness to the standard, and turn off extensions.

I don't associate the word classic with anything. So I presume you mean console programs, all using only ANSI compliant code. Yes, it's possible.

Microsoft Visual C++.
THANKS........

AmbrNewlearner
May 24 '08 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

33
by: Greg Roberts | last post by:
We have a large code base, mainly C but with some C++ which we wish to check for existing issues in an effort to be proactive. I have downloaded the open source GLINT program but am having big...
1
by: Tom | last post by:
I've been using Gimpels PC-Lint static analysis tool (which seems to be extremely good value for money) but I've come up against a couple of problems, although the second is more of a wondering......
6
by: Dom Gilligan | last post by:
Does anyone know of a C++ lint, preferably free? I've inherited a large code base and need to remove some unused functions. What I've found so far: gcc -O2 does *not* check for unused functions...
2
by: Rahul | last post by:
Hi, I have a little program as follows : =================== STARTS HERE ================ #include <stdio.h> void f (unsigned long); int main() {
4
by: Roman Mashak | last post by:
Hello, All! I often come across the following statements in different source code: #ifndef lint char copyright = "@(#) Copyright (C) 2005 bla-bla-bla\n"; #endif #ifndef lint
5
by: Matt England | last post by:
I lead a large C++ development project (the open-source portion of which can be found here: <http://svn.cleversafe.org/dscore/>), and I'm interested in leveraging C++ "Program Analyzers" to detect...
4
by: suppamax | last post by:
Hi everybody! I'm using for the first time PC-Lint. I'm analysing my C program for Microchip PIC18F microcontroller. In particualr I have a problem with library functions like "memcpy" or...
15
by: Pat | last post by:
I've been searching for a good multi-module lint checker for Python and I haven't found one yet. Pylint does a decent job at checking for errors only within a single module. Here's one of my...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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...

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.