   Borland's C++ Builder 6: VC++ Convert
  I've been using Microsoft's Visual C++ 6.0 for quite some time now, for my school programming assignments and general home practice. Recently though, my school began offering a new student software package, which consisted of Borland's C++ Builder 6. I decided that I wanted to learn the ins and outs of the IDE, mostly because many industry professionals that I have spoken with prefer it over VC++, and many game development teams that I admire, have also professed to using it.Anyway, my problem seems rather simple and rudimentary, yet despite my searching through the included documentation, I still was unable to figure out how to simply code the same way, and with a similar format to what I was used to in Visual C++ 6.0. With the default settings, when C++ Builder is opened, it has that form that you can place buttons and windows on, and behind it, it has default prewritten code and library headers, that seem out of place to me. I attempted to write a simple program between the curly braces, yet I received a plethora of errors, when I tried to run it. I tried going New, and then application, or form, yet they all resulted in the same somewhat unfamiliar default code on the forms, which wouldn't allow me to code like I normally did in the past, because they kept resulting in errors, that normally shouldn't be showing up. Is there a different implementation of the language that is exclusive to the Borland compiler, because some of the code there is really unfamiliar to me, and I don't even know what it's doing there.So basically, I'm a complete tyro with Borland's compiler, and I'm wondering if anyone can assist me in what I need to do to make it so that I can simply open the compiler, and have a blank document, where I can write normal procedural programs(thus far), and have them compile and work, much like they looked and worked in VC++. Thanks in advance.   [edited by - RZ4 on August 1, 2003 11:03:01 PM]
  Are you wanting to do command-line programs or Win32 apps?  By default when BCB6 opens up it puts you in an empty project that uses the VCL. If you want a different kind of project you have to close the default project and create a new one by selecting File->New->Other and then pick the kind of project you want. By default Builder uses the VCL which is Borland''s class library wrapper around the Windows API.  You can also use MFC with Builder, but IMHO it works best with the VCL for doing Win32 point-and-click apps.   ;  Well, you can go to project->view source (or view->project source, can''t remember which one it is, one was for bcb 1-5 and the other for 6), to get the entry point of the program, but I throughoughly (sp?) recommend you use ''events'' as much as possible. ;  or: use View->Units and open the program unit. That one is hidden by default, but it also has the winmain in it. Erase everything and you can code anything. ;  Seriously....File->New->Other->Console WizardThat''s it. ;quote:Original post by Anonymous Poster  Seriously....File->New->Other->Console WizardThat''s it.   AP is right that is how it is done.Why would you want to do this thought, it defeats the purpose of using Builder?  Builder does have a steep learning curve but once you learn the "ins and outs" of it you will find your development time cut in half.  A good message board for C++ Builder related stuff is this address:www.bytamin-c.com/ ;quote:Original post by raging_jakl  quote:Original post by Anonymous Poster   Seriously....File->New->Other->Console WizardThat''s it.   AP is right that is how it is done.Why would you want to do this thought, it defeats the purpose of using Builder?  Builder does have a steep learning curve but once you learn the "ins and outs" of it you will find your development time cut in half.  A good message board for C++ Builder related stuff is this address:www.bytamin-c.com/   When I dont want any normal controls in my app, I code something similar to the nehe basecode. For that, I dont want/need cbuilders stuff (vcl), since it will only require extra runtime files.Right now though I am coding something more complex, that combines a normal gui with a opengl display. ;quote:Original post by Ruudje  quote:Original post by raging_jakl   quote:Original post by Anonymous Poster    Seriously....File->New->Other->Console WizardThat''s it.   AP is right that is how it is done.Why would you want to do this thought, it defeats the purpose of using Builder?  Builder does have a steep learning curve but once you learn the "ins and outs" of it you will find your development time cut in half.  A good message board for C++ Builder related stuff is this address:www.bytamin-c.com/   When I dont want any normal controls in my app, I code something similar to the nehe basecode. For that, I dont want/need cbuilders stuff (vcl), since it will only require extra runtime files.Right now though I am coding something more complex, that combines a normal gui with a opengl display.  There are options to build your projects without the runtime files needed.  Not sure how to do it in Builder 6, I have 5.  I understand though.  I just thought maybe you were wanting to use the Win32 api or something to do your gui.   