Board index » cppbuilder » How to create a "Hello, world!\n" app with the IDE?
Ramon F Herrera
![]() CBuilder Developer |
How to create a "Hello, world!\n" app with the IDE?2004-07-04 04:16:42 AM cppbuilder8 C++ Builder 6 How can I make a simple file compilable? I have been trying to start with the simplest of applications in C++ Builder. If I start with a simple *.c or *.cpp and double-click on it, _sometimes_ the C++ Builder asks: "Do you want to insert this file into a project, so you can compile and run it?". My problem is that I don't know how to perform the above on demand. I am looking for a command such as "New Project" but the IDE only provides "New Application" (which is an overkill for what I need), "New CLX Application", etc. None of that is a simple, empty, bare bones project that I could fill with my simple "hello, world" code. The closest I found to "New Project" is "New Project Group". Again, seems like an overkill. I could choose "New C File" or "New Cpp File", but then the "compile" button or menu items are disabled. I am assuming that a one-liner "Hello, world" program will send its output to the console, or "Command prompt" window. Is that correct? Thanks for you assistance, -Ramon |