QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

Can I compile Octave with another C++ compiler?

Frequently asked questions about Octave (with answers)
Currently, Octave can only be compiled with the GNU C++ compiler. It would be nice to make it possible to compile Octave with other C++ compilers, but the maintainers do not have sufficient time to devote to this. If you are interested in working to make Octave portable to other compilers, please contact bug-octave@bevo.che.wisc.edu. This list is probably far too short. Feel free to suggest additional questions (preferably with answers!) Octave takes a long time to find symbols.

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. See similar questions...

How do I compile and run my C++ procedures for Lab 1?

CS 241 Frequently Asked Questions (FAQs)
For the "B" part (including the version in which you also return the pair of points along with the distance), you are expected to put your divide-and-conquer algorithm in a file called "closest-pair.cc" You will also need to modify lab1b.cc as indicated. A makefile is included with the provided code. Copy that into the directory with the rest of the code. Then just type "make". After successfull compilation and linking there will be a file called "lab1b.out". Just type "lab1b.out" to run it. See similar questions...

Which compiler should I use and where can I compile my codes?

You should use the Compaq compiler fort to compile both your fortran 77 and fortran 90 programs. C and C++ programs can be compiled with gcc or g++, respecively. To compile and link your MPI programs to the MPI libraries, use mpif77, mpif90, or mpicc. The mpi scripts use fort to compile and link your fortran MPI programs, and gcc or g++ to compile and link your MPI C or C++ programs. You can compile your codes on any machine, and you do not need to submit a job to compile your codes. See similar 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). See similar 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. See similar questions...

Why does compile fail with: Don't know how to make pty_.c?

Expect FAQ (Frequently Asked Questions)
From: libes (Don Libes) To: wren@io.nosc.mil Subject: Compile fails with: Don't know how to make pty_.c > I'm trying to compile Expect on hpux 9.01, > downloaded from ftp.cme.nist.gov expect.tar > after running config > the make fails with "Don't know how to make pty_.c. (compile fails) > I see three versions pty_sgttyb.c, pty_termios.c and pty_unicos.c in > the load, but the configure picked none of them. > I tried forcing to pty_termios. See similar questions...

Are there instructions available how to compile Xvid with my compiler?

Xvid.org: FAQ
Have a look at the install readme file that comes along with Xvid. It describes how to use the Xvid build scripts to compile Xvid with gcc under Linux or MinGW/CygWin. Xvid can also be compiled with Microsoft Visual C++ compiler using the provided project files included in the build directory. For other compilers you're pretty much on your own. It should be not very difficult however to make the code compile with a different compiler. See similar questions...

What compiler(s) must have been used to compile my program?

RootCause/Aprobe FAQ
Almost any program with symbols can be probed. The "full support" described below is based on the debug information needed for source lines and target expressions. Support for additional architectures, operating systems and compilers is always in progress, so please contact if you don't see what you need here. Aprobe supports the Microsoft Visual C++ development system versions 6 and 7 but does not support .NET (Dynamic Runtime Model) applications. See similar 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; See similar 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. See similar 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. See similar 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.. See similar 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. See similar 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: See similar 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. See similar questions...

Explore Other Topics

What is the maximum temperature at which HDPE can be used?
How can I pay in Euros and GBP?
How do I cure Rapid Set Mortar Mix?
When will the IRS send the LoDI refund monies to the City?
WHAT IS LOGLAP CLADDING?
Can Mesosilver or Mesogold cause heavy metal poisoning?
There is no mp3 support in CentOS! Or is there? How about other multimedia formats?
When does preeclampsia occur in a pregnancy?
What happens if my payment is overdue?
Q - What is the difference between C-Leinosan flaxseed oil and High-Lignan flaxseed oil?
Can I use my Verizon Wireless EasyPay phone to make International calls?
How do I determine the rental amount?
How do I get my working papers?
When is the best time for me to have a 3D/4D ultrasound?
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact