Search 5,000,000+ questions and answers.

Frequently Asked Questions

Q. Where can I get a free C++ compiler?

C++ FAQs - General
Q. Why do I get an "unresolved external symbol _WinMain@16" (or similar) error at link-time? (MSVC) This is most likely due to attempting to build a console program as a GUI application. If you intended to create a console app, make a new project with the console wizard.
Related Questions

Where can I get a free C++ compiler?

FAQ - CPP
This is most likely due to attempting to build a console program as a GUI application. If you intended to create a console app, make a new project with the console wizard.
Related Questions

What's a free or cheap C compiler I can use?

Tools and Resources
A popular and high-quality free C compiler is the FSF's GNU C compiler, or gcc. An MS-DOS port, djgpp, is also available. As far as I know, there are versions of gcc for Macs and Windows machines, too. A very inexpensive MS-DOS compiler is Power C from Mix Software, 1132 Commerce Drive, Richardson, TX 75801, USA, 214-783-6001. A shareware MS-DOS C compiler is available from ftp.hitech.com.au/hitech/pacific. Registration is optional for non-commercial use. Archives associated with the comp.
Related Questions

Compiler concepts Q: What is the source code for the compiler?

Code Style: Java compiler frequently asked questions (FAQ)
The source code for a Java program is also known as a compilation unit, which contains the code for a top level Java class or interface. A Java compilation unit is usually created in the form of a file with a .java extension and is passed to the compiler as a file path reference. The Java source file naming convention is not a standard specified by the Java language but is a common feature of Java compilers, such as javac, to help locate source code.
Related Questions

Is C++ a superset of C? Can I use a C++ compiler to compile C code?

Infrequently Asked Questions in comp.lang.c
C++ is a superset of something, we're not sure what. You can use a C++ compiler to compile C code, but the results may surprise you.
Related Questions

Q: Do I need a C++ compiler to use Excel Translator??

Excel Translator - FAQ, Expert System, DFA, Rapid Model Deve...
Yes, you need a C++ compiler installed on your computer in order to run Excel Translator?. Several compilers are available for free. In fact, during its installation Excel Translator? points you to the Microsoft's site to download a freely distributed C++ compiler, so there's no extra effort on your part to obtain it.
Related Questions

Where is the C compiler or where can I get one?

Solaris 2 FAQ
Where have you been? :-) Sun has dropped their old K&R C compiler, supposedly to create a market for multiple compiler suppliers to provide better performance and features. Here are some of the contenders: SunPro, SMCC, and various distributors sell a new ANSI-standard C compiler on the unbundled (extra cost) SPARCcompiler/SPARCworks CD-ROM. There are some other nice tools there too, like a "make tool" and a visual diff (interactive diff).
Related Questions

People keep telling me that getch() is not standard, but my C compiler has it. Are they wrong?

Infrequently Asked Questions in comp.lang.c
They've been programming more than ten years. You haven't. Draw your own conclusions. That's right! They hadn't noticed it. No doubt their compilers have it too, and its behavior is identical everywhere else in the world, also. That would explain everything.
Related Questions

Compiler commands Q: What are the steps in compiling a class?

Code Style: Java compiler frequently asked questions (FAQ)
Once you have written the Java source code file, there is only one step required to compile it. To compile the class from the command line, you need to give the path to the compiler program, such as Sun javac, and the path of the source code file, like this:
Related Questions

Q. What other containers can I use, that are standard C++?

C++ FAQs - AP Computer Science
There are 10 standard containers. They're broken up into Sequence Containers, Associative Containers and Container Adapters. The first two types of containers - (Sequence and Associative) are first class containers. Other containers, such as string, bitset, valarray and normal arrays are considered to be "Near Containers".
Related Questions

but the compiler gave me error messages. Can't a structure in C contain a pointer to itself?

Infrequently Asked Questions in comp.lang.c
Not exactly; it can contain a pointer to another structure of the same type. Try: typedef struct { char *item; double *next; } NODEFAKE; typedef struct { char *item; NODEFAKE *next; } NODEPTR;
Related Questions

I'm using C++ but would prefer to use a different compiler than the one on CEC. Is this possible?

CS 241 Frequently Asked Questions (FAQs)
Sure. However, you will be responsible for making any needed modifications to the provided code. The provided IntervalTimer will not work on other platforms since it makes calls into the Unix operating system. You can replace this by whatever system utility you have to get the time. Then by getting the time before and after the algorithm runs you can take their difference to determine the elapsed time. Just be sure that your procedure is the only process running.
Related Questions

Can you support my C compiler XXX?

FFmpeg FAQ
It depends. If your compiler is C99-compliant, then patches to support it are likely to be welcome if they do not pollute the source code with #ifdefs related to the compiler. Visual C++ is not compliant to the C standard and does not support the inline assembly used in FFmpeg. If you wish - for whatever weird reason - to use Visual C++ for your project then you can link the Visual C++ code with libav* as long as you compile the latter with a working C compiler.
Related Questions

What C++ compiler is required?

OpenEye Scientific Software | FAQ
OEChem distributions are generally labelled clearly to indicate the corresponding compiler and version. Additional compiler support information can be found at the OpenEye Platform Support document, in the accompanying technical notes.
Related Questions

Is Micro-C a full ANSI compiler?

FAQs
MICRO-C is a "near ANSI" subset compiler. It does however, support more of the 'C' language than most other subset compilers, including: Micro-C has a long history, and began life as a K&R only compiler. It has evolved toward ANSI quite a bit, and continues to do so, however it is NOT a fully ANSI compliant compiler, and most likely never will be..
Related Questions

Where can I find a C-to-Forth compiler?

comp.lang.forth Frequently Asked Questions (1/6): General/Mi...
We, ( CodeGen, Inc.) sell a C-to-Fcode compiler. Well, it actually generates IEEE-1275 Forth that then must be run through a tokenizer. Really, it generates pretty ugly Forth code. It's easy to generate lousy Forth, but it's very difficult to generate nice clean optimized Forth. C and stack-based languages don't mix too well. I end up faking a C variable stack-frame using a Forth $frame variable for local vars. MPE has produced a C to stack-machine compiler.
Related Questions

How do I get the Cygwin C++ compiler for Windows?

FAQ
The easiest way is to buy the distribution CD from the IEEE Student Branch ($5 for IEEE members, $10 for non). It contains the Cygwin (GNU) C++ compiler, the Insight debugger, the "Teaching Machine" and instructional videos. If you have a fast internet connection and don't want the videos etc., you can go to Cygwin's site and click on the "Install Now!" icon. Be sure to install at least the following packages:
Related Questions

I already have C++ compiler x, can I use it?

FAQ
Yes, but you should compile and run your test cases using the Cygwin/GNU compiler (g++) in the lab before you submit your assignments. If it works there, then it's ok. (Of course we may find test cases for which your program doesn't work on any compiler.) where files is a list of one or more files that the compiler is to compile, and options is one or more of the following. (There are others, these are just the most relevant ones.) Give all warnings.
Related Questions

Can I compile Octave with another C++ compiler?

Frequently asked questions about Octave (with answers)
I'm looking for new questions (with answers), better answers, or both. Please send suggestions to bug-octave@bevo.che.wisc.edu. If you have general questions about Octave, or need help for something that is not covered by the Octave manual or the FAQ, please use the help-octave@bevo.che.wisc.edu mailing list. This FAQ is intended to supplement, not replace, the Octave manual.
Related Questions

Compiler diagnostics Q: What does this deprecation message mean?

Code Style: Java compiler frequently asked questions (FAQ)
The deprecation message you have seen means that the methods you are calling have been marked with a JavaDoc deprecation comment. When a method or class is marked deprecated it is only advisory, not mandatory, but the advice is given for good reason and should be followed. So long as deprecated methods remain in the public API it is possible to use them, so this approach supports legacy code and gives developers time to amend their applications as necessary.
Related Questions

Why can't I bind \C-s and \C-q any more?

Z-Shell Frequently-Asked Questions
The control-s and control-q keys now do flow control by default, unless you have turned this off with stty -ixon or redefined the keys which control it with stty start or stty stop. (This is done by the system, not zsh; the shell simply respects these settings.) In other words, \C-s stops all output to the terminal, while \C-q resumes it. There is an option NO_FLOW_CONTROL to stop zsh from allowing flow control and hence restoring the use of the keys: put setopt noflowcontrol in your .
Related Questions

Where can I get a free compiler for MS Windows?

Port of GCC and relevant tools providing a UNIX-like API on top of the Win32 API. http://sources.redhat.com/cygwin/ IDE distributed with an MS Windows port of GCC and the Mingw32 runtime library. http://www.bloodshed.net/devcpp.html A free version of Borland's C++ compiler is now available for download from: http://www.inprise.com/bcppbuilder/freecompiler/ lcc-win32 is a free C compiler available for 32-bit Windows. http://www.cs.virginia.
Related Questions

Is there a free COBOL compiler?

COBOL FAQ
There are two current/ongoing projects to produce an "open source" and/or GNU compiler. For one, see the project "COBOL for GCC". This site also includes a status on various other "open source" projects. There is a freely available COBOL compiler for DOS. It can be found on many archive sites, named COBOL650.ZIP. You also need DPATH30.ZIP. Have a read through Section 8 before you start. It is widely rumored that the sources for this compiler are available from a BBS.
Related Questions

What optimizations does the C# compiler perform when you use the /optimize+ compiler option?

C
The following is a response from a developer on the C# compiler team: We get rid of unused locals (i.e., locals that are never read, even if assigned). We get rid of unreachable code. We get rid of try-catch with an empty try. We get rid of try-finally with an empty try. We get rid of try-finally with an empty finally.
Related Questions

What C compiler do you recommend?

Ken Silverman's Build Engine Page
I recommend Microsoft Visual C because it's the industry standard... and also what I use for current projects. I used to use Watcom C when it was the only 32-bit compiler. I had lots of trouble finding example code for it because it was not so popular. Thankfully, everything is 32-bit these days. You'll save yourself a lot of trouble in the future by starting with a popular compiler.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact