What is a good graphical IDE for C++ similar to Delphi?

This is a discussion on What is a good graphical IDE for C++ similar to Delphi? within the C++ Programming forums, part of the General Programming Boards category; Hi, I am relatively new to C++, but know the basics. I have previously worked with Delphi, and I am ...

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    15

    What is a good graphical IDE for C++ similar to Delphi?

    Hi,

    I am relatively new to C++, but know the basics. I have previously worked with Delphi, and I am sure there must be a similar application for C++ (so visually create the application, drag and drop components, etc.). I have visual C++ (which I thought was what I was looking for, considering the name), but it simply an editor & compiler. Help would be appreciated.

    Nick

  2. #2
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    902
    By creating an MFC application in VC++, you can do all of those visual manipulation things. The wizard will set you up. Even cooler, you can click elements on your app to show the related code for that instance. MFC's what you're looking for.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    6,252
    Moving from Delphi to VC++ and MFC involves a moderately large transition. If you want a smaller transition, look up Borland C++ Builder or, more recently, the Turbo C++ product line. These are from the vendors of Delphi (Borland, more recently Inprise), except they support an extended C++ rather than an extended Object Pascal. Delphi's VCL is reused to support drag-and-drop of GUI components in most versions, which means knowledge of VCL can be carried across from Delphi.

  4. #4
    Registered User
    Join Date
    Dec 2006
    Posts
    15
    Hi,

    I got Borland C++ Builder 6, and its exactly what I've been looking for. I want to learn C++ well, Iv been programming in PHP for years, and have basic C knowledge but always got stuck on structures and pointers. I was wondering if using C++ builder is a good way to learn C++ well, and also, what kind of excersizes (programs) can I practise with?

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    6,252
    C++ Builder is a compiler, and a compiler is one tool you need to learn C++. Like almost every compiler, it supports extensions (features that make some jobs easier, but are specific to that compiler and not actually part of the C++ language or standard library) and, if you get hooked on using those extensions, it is more difficult to move to another compiler if you need to. The VCL is an extension (as GUI, database access, and other things in the VCL are also not covered by the C++ standard) and there are several language features (in rough terms, if you find yourself using keywords with two leading underscores in their name, you are using a feature that is not necessarily supported by other compilers).

    AS to what type of excercises, that's really up to you. If you have a problem you want to solve, or a particular tool you want to produce, one of the best ways to learn is to try and create it. The process of going through the documentation to find ways to do your task will be a valuable learning experience. Only proviso is that, early on, try to keep your firsts tasks simple (eg build a tool that does a few things you can describe easily, rather than lots of things you can't describe easily) -- as you learn, and build confidence, you can try more challenging things.

    Personally, I never "practiced" with C++, in the sense that I never worked through exercises that other people had given me for the express purpose of my learning. Instead, I had a job to do, and learnt by reading documentation and trying things out in the context of doing that job.

  6. #6
    Registered User
    Join Date
    Mar 2006
    Posts
    725
    There's wxDev-C++, if you're interested. Doesn't seem as well developed as the other alternatives, but it's pretty much free and is based on the very standard MinGW compiler.
    Code:
    #include <stdio.h>
    
    void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){
    puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9
    /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i]
    ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][
    t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. good ide for linux ( mandriva linux )
    By abhijeetnayak in forum Linux Programming
    Replies: 3
    Last Post: 05-28-2006, 05:49 AM
  2. Delphi Vs C++, a questions of why.
    By iwod in forum Tech Board
    Replies: 2
    Last Post: 01-02-2004, 12:45 AM
  3. good free ide for borland
    By lambs4 in forum C Programming
    Replies: 3
    Last Post: 03-20-2003, 03:22 AM
  4. Linux programming IDE similar to MS Visual C++
    By cbassett01 in forum Linux Programming
    Replies: 4
    Last Post: 04-28-2002, 12:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21