lint program for windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AmberJain
    Recognized Expert Contributor
    • Jan 2008
    • 922

    lint program for windows

    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
    ===========
  • arnaudk
    Contributor
    • Sep 2007
    • 425

    #2
    Do you actually mean CINT?

    Comment

    • oler1s
      Recognized Expert Contributor
      • Aug 2007
      • 671

      #3
      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,

      Comment

      • AmberJain
        Recognized Expert Contributor
        • Jan 2008
        • 922

        #4
        Originally posted by arnaudk
        Do you actually mean CINT?
        NO, it's not CINT.

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

        Click on link below to see more information.

        LINK


        ============
        AmbrNewlearner
        ============

        Comment

        • AmberJain
          Recognized Expert Contributor
          • Jan 2008
          • 922

          #5
          Originally posted by oler1s
          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) ?

          Comment

          • arnaudk
            Contributor
            • Sep 2007
            • 425

            #6
            Originally posted by ambrnewlearner
            It is LINT........... ..
            Have a look at this list.

            Comment

            • oler1s
              Recognized Expert Contributor
              • Aug 2007
              • 671

              #7
              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.

              Comment

              • sicarie
                Recognized Expert Specialist
                • Nov 2006
                • 4677

                #8
                Another option is to follow the links on the link you posted.

                Comment

                • AmberJain
                  Recognized Expert Contributor
                  • Jan 2008
                  • 922

                  #9
                  Originally posted by oler1s
                  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
                  ============

                  Comment

                  • Sick0Fant
                    New Member
                    • Feb 2008
                    • 121

                    #10
                    Originally posted by ambrnewlearner
                    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)

                    Comment

                    • AmberJain
                      Recognized Expert Contributor
                      • Jan 2008
                      • 922

                      #11
                      Originally posted by Sick0Fant
                      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

                      Comment

                      • oler1s
                        Recognized Expert Contributor
                        • Aug 2007
                        • 671

                        #12
                        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++.

                        Comment

                        • AmberJain
                          Recognized Expert Contributor
                          • Jan 2008
                          • 922

                          #13
                          Originally posted by oler1s
                          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

                          Comment

                          Working...