Search 5,000,000+ questions and answers.

Frequently Asked 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

DDS FAQs - Answers to Frequently Asked Questions
All 'C' statements: if/else while do/while for break continue return goto switch/case/default {} ; asm All 'C' operators: + - * / % & | ^ <<>> > <==> += -= *= /= %= &= |= ^= <<=>>= >= <= sizeof The following data types: int char unsigned (including: unsigned char) struct union extern static register void *(pointer to any type, incl. pointers and structs) bit "long" number math functions are provided in the library.
Related Questions

Why do I get core dumps under HPUX using HP's ANSI C compiler?

Apache Server Frequently Asked Questions
We have had numerous reports of Apache dumping core when compiled with HP's ANSI C compiler using optimization. Disabling the compiler optimization has fixed these problems.
Related Questions

Is your compiler ANSI-compliant?

Byte Craft Limited FAQ | Byte Craft Limited
Byte Craft Limited compilers have not been certified as ANSI-compliant, and we do not advertise compliance. However, we have used the ANSI C specification in developing our C compilers since the draft standard was first made available, and we continue to participate in software standards discussions via the Standards Council of Canada. Most ANSI C conforming programs can be compiled by our compilers.
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

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

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

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

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 is the "ANSI C Standard"?

Frequently Asked Questions: C Language (abridged)
In 1983, the American National Standards Institute (ANSI) commissioned a committee to standardize the C language. Their work was ratified as ANS X3.159-1989, and has since been adopted as ISO/IEC 9899:1990, and later amended.
Related Questions

Where can I get a copy of the ANSI/ISO C Standard?

Tools and Resources
Two available packages are ''defunc,'' posted to comp.sources.misc in December, 1993 (V41 i32,33), to alt.sources in January, 1994, and available from sunsite.unc.edu in pub/packages/development/libraries/defunc-1.3.tar.Z, and ''parse,'' at lamont.ldgo.columbia.edu. Other options include the S-Lang interpreter, available via anonymous ftp from amy.tch.harvard.edu in pub/slang, and the shareware Cmm (''C-minus-minus'' or ''C minus the hard stuff''). See also questions 18.16 and 20.6.
Related Questions

Big Picture Issues Updated! , C++ FAQ Lite
Be prepared to spend some money — the document is not free. There are lots of ways to get it; here are a few of them in random order: Go to the ANSI Web-store, then search for "14882" (or, for the C-standard, search for "9899"). Go to any bookstore and search for "0470846747" or "The C++ Standard, Incorporating Technical Corrigendum No. 1." For example, here, here, or here.
Related Questions

How can I turn off the ANSI C warnings?

Frequently Asked Questions
ANSI C lets you allocate zero-byte memory segments and returns a non-null address that is distinct from other zero-byte allocations. ANSI C also lets you call free() and realloc() with a null pointer. These allocation procedures are incompatible with some C compilers and can compromise the portability of your programs. Memory Advisor processes these types of allocations and automatically issues a warning message for them.
Related Questions

I have a pre-ANSI compiler, without <stdarg.h>. What can I do?

Variable-Length Argument Lists
Here is the vstrcat function from question 15.4, rewritten to use <varargs.h>: #include <stdio.h> #include <varargs.h> #include <string.
Related Questions

Is C++ backward compatible with ANSI/ISO C?

Big Picture Issues Updated! , C++ FAQ Lite
C++ is as close as possible to compatible with C, but no closer. In practice, the major difference is that C++ requires prototypes, and that f() declares a function that takes no parameters (in C, a function declared using f() can be passed an arbitrary number of parameters of arbitrary types). There are some very subtle differences as well, like sizeof('x') is equal to sizeof(char) in C++ but is equal to sizeof(int) in C.
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

Where can I get the C code of a Modula-2 compiler?

Modula-2 FAQ
Most Modula-2 compilers are written in Modula-2. It seems rather strange to me that one would want to trust the compilation of a good language to a tool written in a poor one.
Related Questions

Can I use your Basic compiler program to convert Basic programs into C?

FAQ
The compiler only works for a small subset of Basic and produces quite inefficient code. I do not recommend it.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact