Thread: is there a codeguard in other IDE/Compilers aside from BCB?

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    50

    Wink is there a codeguard in other IDE/Compilers aside from BCB?

    Hello!

    I am new here. I am doing some development using Borland C++ and this forums provides a good help and information for me.

    I am searching for quite a while now and, i would just like to ask if it is only Borland C++ builder has the functionality of a codeguard? wherein you would see an error when you forget to delete a dynamic memory allocation. example...

    Code:
    #include <iostream>
    int main(){
        char * x = new char(); //would cause codeguard error because x is not deleted.
        return 0;
    }
    i tried looking on IDE/Compilers of Microsoft, Dev Cpp(MinGW). as this is the more popular ones but they proved that they don't have such functionality? do they have some alternatives? i just would like to do a little programming at home so it needs to be free and i could not afford to have a borland builder IDE.

    Thanks!

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Well Visual Studio has the capability to detect memory leaks
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    50
    hmm thanks for the link..

    it is quite different than i'm used to in borland but i think this would work fine...

    how about devCpp(minGW) would they also have memory leak detection?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CppWebBrowser (BCB) HELP!!!
    By Demon1s in forum C++ Programming
    Replies: 2
    Last Post: 04-26-2003, 05:32 PM
  2. BCB uses a different language ?
    By quiteblack in forum C++ Programming
    Replies: 9
    Last Post: 07-13-2002, 02:07 PM
  3. Changing default unit in BCB 5
    By Mario in forum C++ Programming
    Replies: 0
    Last Post: 05-26-2002, 09:22 AM
  4. BCB build .exe file
    By skar in forum C++ Programming
    Replies: 1
    Last Post: 05-19-2002, 09:48 AM
  5. Internal Exceptions in a BCB DLL?
    By andy668 in forum Windows Programming
    Replies: 3
    Last Post: 01-07-2002, 10:50 AM