Tuesday, July 14, 2009

I need help with learning how to run a c++ compiler program?

im trying to learn how to make c++ programs but i cant figure out how to use the compiler. I wrote up something simple and the program says to go to the make menu and go to building option. i cant find either of those.

I need help with learning how to run a c++ compiler program?
What compiler are you using?


Some compilers require a command line, like


cc myfile.cpp


Sounds like you have a GUI compiler, and, athough the previous option is available (usually), a GUI interface ties the make process together.


I can't elaborate without more details.

jasmine

I am learning how to program in C and am looking for a compiler?

For now I prefer a free ANSI C compiler as I am just beginning. Is one available? I tried Turbo C but some examples from the book do not work! I am using Windows Vista Home Premium.

I am learning how to program in C and am looking for a compiler?
you can use Miracle C Compiler.


it the best.
Reply:Get it from http://www.thefreecountry.com/compilers/...


Can anyone tell me the best location to download a good C++ Compiler?

Or a D compiler. A Free compiler would be good. Just for personal use. I want to learn C++ and a compiler would be good to see how programs run.

Can anyone tell me the best location to download a good C++ Compiler?
Try using GCC, it's the free compiler used in Linux and many other free operating systems. It is very capable, though there're quite a lot of differences with commercial compilers.





Also, if programming under Windows you should have a look at Microsoft Visual Studio Express Edition. But it is somewhat limited in licensing terms.


Please tell where can I find the programming language compiler for C++?

Please tell where can I find free IDE for Turbo C++ 3.0 or Borland version of C++ compiler?

Please tell where can I find the programming language compiler for C++?
Borlands free c++ compiler can be found at


http://www.borland.com/downloads/downloa...





I think turbo c++ is outdated, and no longer supported.





Good luck
Reply:simply go to neharu place or palika bazare and ask for the same but always aware about the matter is present in it or not.
Reply:What you want is not available free, that much you should be knowing.





Free C++ compiler's:


http://www.bloodshed.net


http://directory.fsf.org/devel/compilers...
Reply:Google for Free C++ compilers
Reply:1)u first copy/install the software.


2)After that goto (Installed drive:/%26gt;Tc/Bin /(Tcc or Tc).


Building a "Hello World" DLL using the Microsoft C++ compiler.?

Can anyone help me write a "Hello World" DLL console app. using MS C++ compiler ? Without using the Visual Studio .NET IDE.


(It seems to be next to impossible getting a simple answer for that question, by trawling the web)

Building a "Hello World" DLL using the Microsoft C++ compiler.?
Here are the steps:


1. Open the Visual Studio 2005 Command Prompt window. Note: The Visual Studio 2005 Command Prompt automatically sets up the correct path to the Visual C++ compiler and any needed libraries, so it is used instead of the regular Command Prompt window.





2. At the command prompt, type notepad and press Enter. In notepad select the File menu and save the file as hello.cpp and press Enter.





In Notepad, type the following lines:





#include %26lt;iostream%26gt;





using namespace std;





int _tmain()


{


cout%26lt;%26lt; "Hello World!! " %26lt;%26lt; endl;





return EXIT_SUCCESS;


}





3. On the File menu, click Save. You have created a Visual C++ source file. On the File menu, click Exit to close Notepad.





4. At the command line prompt, type cl /EHsc /LD hello.cpp and press Enter. The /EHsc command line option instructs the compiler to enable C++ exception handling while the /LD option sets the file output to a .DLL file.





Look in the folder where the hello.cpp file was saved and you will find a hello.dll file.
Reply:I'm not sure what you mean. Do you want a console app, a DLL, or a console app that calls a DLL?





A console app is simple. A DLL is a bit more work. I've never called a DLL from a console app, so I would have to check if that's even possible. Let us know what it is that you're trying to do.
Reply:just open a project ... write :


void main()


{


printf("Hello world");


}





and you are done

crab apple

Hi I'm a beginner for c language, any free compiler on line?

haveing windows xp OS in my pc.


i want a link for c compiler for free...

Hi I'm a beginner for c language, any free compiler on line?
http://www.acms.arizona.edu/education/op...
Reply:You can use Turbo C Compiler.


It can be used for a beginning stage. And if you want to go further use GCC (In Linux) or You can get MinGW which is Minimal GCC for Windows. Try it out.
Reply:C++, The Borland C++ free Compiler #1 -...


The first line tells the C compiler to include the header file "iostream.h" ... I do not mind the "C" language per se, but...


cpp.codenewbie.com/articles/cpp/1452/....


The Borland C++ free Compiler #1 - Code...


The first line tells the C compiler to include the header file "iostream.h" ... I do not mind the "C" language per se, but...


codenewbie.com/forum/c/717-borland-c-f...


Free C/C++ Compilers and Interpreters -...


Pelles C Compiler ... applications you compile with this free compiler, but you should read their ... extensions to the C...


www.mycplus.com/forum/forum_posts.asp?...
Reply:download it from download.com bloodshed is good
Reply:no compilers are free...


but some are available on internet as pirated..u may download them..


some popular compilers are Turbo c,Borland C
Reply:I like Bloodshed Dev-C++, which is obviously a C++ IDE/compiler, but should do plain C code as well? It's free, anyway.


Does anyone know of a free lightweight redistributable command line c++ compiler?

Does anyone know of a free lightweight redistributable command line c++ compiler?

Does anyone know of a free lightweight redistributable command line c++ compiler?
gcc can be run through cygwin on windows, and runs pretty tightly.
Reply:G++, it's part of the GNU compiler collection, or GCC, and is a standard for free software. (free as in freedom). You can get it form the GNU website for free with no strings attached, and it runs about as light as any other compiler. You can set options to make programs smaller (and thus lighter memory-wise) if you want.
Reply:Depends on what you want it for. A list of free C++ compilers is at:


http://www.thefreecountry.com/compilers/...





The older Turbo C++'s can be loaded onto one or two floppies (if two, one for Include files, Lib files and your files. Any compiler can run from command line.





For MS-Dos/Windows I recommend the Digital Mars C compiler. It is free if you just download the command-line version, $54 if you order the CD-ROM withthe ide. It has modern ansi-standard C++ syntax if you download STLPort.zip. It can be tough to get it working, but believe me, it's worth it. Get it at:





http://www.digitalmars.com/





Finally, when you are talking about redistributable, there is always Linux. And there is a LiveCD (an OS you can run off your CD-Rom) with a completely uncompromised GCC/G++ compiler (it has make, automake, gdb gconf and whatever you want) called Knoppix. It is at:





http://www.knopper.net/knoppix/index-en....





And just think, you don't have to install anything.