Can I use your Basic compiler program to convert Basic programs into C?
FAQThe compiler only works for a small subset of Basic and produces quite inefficient code. I do not recommend it.
Related QuestionsIs C++ a superset of C? Can I use a C++ compiler to compile C code?
Infrequently Asked Questions in comp.lang.cC++ 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 QuestionsCan I use your Basic interpreter program to run Basic programs?
FAQThe interpreter only works for a very small subset of Basic and its runtime efficiency is abysmal (the interpreter is actually implemented as a custom virtual machine executed by a VM interpreter written in C). There are at least two free Basic interpreters that may suit your purpose: yabasic and bwbasic. The former is a plain Basic interpreter, or really p-code compiler + interpreter, like Perl.
Related QuestionsI'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 QuestionsI already have C++ compiler x, can I use it?
FAQYes, 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 QuestionsCan I use C and Fortran programs with MATLAB?
MATLAB Frequently Asked QuestionsMATLAB's MEX-file facility allows user to use C and Fortran subroutines as MATLAB m-files. It is also possible to use MATLAB as a computational engine for C/Fortran subroutines.
Related QuestionsWhy can't I get the C compiler to compile my program?
Grex FAQProbably you are using the wrong C compiler. Grex has two compilers installed. cc is only used for building certain system executables. It is not ANSI standard, and it lacks certain standard include files. You need to use gcc instead. This is a fairly recent version of the Gnu C compiler. It is ANSI standard and very complete.
Related QuestionsDo I need a C++ compiler to use TurboExcel?
Savvysoft - A New Spin on Derivatives SoftwareYes. While TurboExcel will write the C++ code, you'll still need a compiler. However, several are available for free. In fact, TurboExcel ships with one, and even Microsoft offers one.
Related QuestionsWhat's a free or cheap C compiler I can use?
Tools and ResourcesA 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 QuestionsWhat optimizations does the C# compiler perform when you use the /optimize+ compiler option?
CThe 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 QuestionsWhat are the basic details about the C++ compilers?
The umich.umce.login FAQ ListThe compiler CC (/opt/SUNWspro/bin/cc) is the Sunsoft version 4.0 C++ compiler, and is a system V compiler environment. It includes headers from /usr/include, and uses libraries out of /usr/lib. The header files in /usr/include are written to be compatible with both Sunsoft C++ and C. This is a currently Sun supported product, which we have a support contract for. It will evolve moderately, but should be available in this basic form for at least the next 5-10 years.
Related QuestionsWhich C/C++ compiler should I use to build for /uns?
The /uns Maintainers' Frequently Unasked Questions Listof this fall, all Linux machines should use Fedora Core 2, where the system compiler is gcc 3.3.3. This is a fairly cutting-edge gcc and should handle most modern C/C++ code. On Solaris 2.5, the supported GNU C compiler is much older and buggier and should not be used; use the version in /uns if at all possible. Please note that various versions of gcc/g++ (particularly, though not limited to, 2.x and 3.x lines) may use mutually incompatible C++ object ABI's.
Related QuestionsHow do you program in Visual Basic, Qbasic, C++ ?
Computer Controlled Christmas Lights - Brisbane, AustraliaLook I simply do not have the time to offer complete courses in electronics or programming. This is very technically complex if you don't already have at least some digital electronics AND programming skills. Of course if you've got specific questions, then sure I don't mind answering them when I have a chance. :-)
Related QuestionsHow to convert old BASIC program to Visual Basic project?
MemAccess Library FAQI have to convert a Qbasic program into a Visual Basic program. Now I got a problem with the Qbasic Poke command and I want to know if I can solve the problem with you product. Yes. MemAccess Library is an ideal replacement of old BASIC PEEK or POKE statement. Please change Peek function to maPeekB function and Poke statement to maPokeB sub procedure.
Related QuestionsWhy can my program be compiled by a C compiler, but cannot run in Ch?
Frequently Asked Questions for ChAlthough Ch is designed to be a superset of C, like C++, there are some subtle differences between Ch and C. Therefore, some C programs straight out of a box may need to be polished to run in Ch. You should know the differences between Ch and C, before run a C program in Ch. The most common problems for running C programs straight out of a box in the Ch language environment at this point of implementation of Ch are as follows: Ch supports many new features in the latest C99 standard.
Related QuestionsWhy can my program be compiled and run by a C++ compiler, but cannot run in Ch?
Frequently Asked Questions for ChC++ class initialization such as myclass obj(i); is not valid in Ch. It can be replaced by myclass obj = myclass(i); which is valid in both C++ and Ch. More examples can be found below: myclass ob1 = myclass(i); // ok in both C++ and Ch myclass ob2 = myclass(2); // ok in both C++ and Ch myclass ob3(i); // ok in C++, bad in Ch myclass ob4(2); // ok in C++, bad in Ch
Related QuestionsWhere is the C compiler or where can I get one?
Solaris 2 FAQWhere 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 QuestionsPeople keep telling me that getch() is not standard, but my C compiler has it. Are they wrong?
Infrequently Asked Questions in comp.lang.cThey'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 QuestionsDo I really need a C compiler to use RootCause?
RootCause/Aprobe FAQUnix: Only if you want to apply probes to native code. You can trace Java and native code, and dump Java parameters, without a C compiler. However, the only thing you can do with native code is trace it; you can't dump parameters or variables or generate probes (e.g., SNAPSHOT or COMMENT) because those are implemented by generating APC source code and then compiling it with Aprobe's apc compiler, which requires a C compiler backend.
Related QuestionsDoes anyone have a C compiler test suite I can use?
MiscellaneousPlum Hall (formerly in Cardiff, NJ; now in Hawaii) sells one. The FSF's GNU C (gcc) distribution includes a c-torture-test.tar.Z which checks a number of common problems with compilers. Kahan's paranoia test, found in netlib/paranoia on netlib.att.com, strenuously tests a C implementation's floating point capabilities.
Related QuestionsCan I use my Borland or Microsoft compiler with Paradigm C++ Professional?
Frequently Asked QuestionsCurrently there is no support in the IDE for older Borland or Microsoft compilers. Debugging is fully supported with the Paradigm C++ integrated debugger.
Related QuestionsQ: 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 QuestionsMy program is larger after upgrading to a newer version of the compiler. Why?
HI-TECH Software Frequently Asked QuestionsMy program is larger after upgrading to a newer version of the compiler. Why? A: When a new version of the compiler is released, all reported bugs from the previous version are fixed. Sometimes when a bug is fixed the resulting code can be slightly larger. If you find your program is slightly larger after upgrading, then it could be that your code would have been effected by the bug when compiled with the previous version.
Related QuestionsWhat kind of manual work will I have to do after I convert from VB to C#?
Frequently Asked Questions (FAQ) about C-Sharpener For VBPlease see Limitations and Workarounds (PDF file) for more details. You may also want to look at some sample converted projects.
Related QuestionsIs it hard to display a PIC variable created from TI-Basic in C programs?
Frequently Asked QuestionsNo, it is easy. It is enough to locate the variable (using SymFind for example), and to display its content using BitmapPut (its contents are just as expected by BitmapPut function).
Related QuestionsIs Liberty BASIC a compiler?
Frequently Asked QuestionsWhat most people mean when they ask this question is "Does Liberty BASIC make machine language executables (exe files)?" The answer is no. Liberty BASIC is a compiler though but it doesn't compile to machine language, but to an intermediary execution format, which is executed by a runtime engine (similar to the popular Java programming language's virtual machine concept). When using the runtime engine, you do not have to provide source code.
Related QuestionsHow do I build netCDF for use with Fortran compiler xxx and C compiler yyy on platform zzz?
NetCDF FAQIf you have an unusual combination of compilers or platform, you may have to set a few environment variables before invoking ./configure make test make install You should also check reports we maintain of successful builds in other environments. If you have success with a combination useful to others, please send it for addition to the list.
Related QuestionsIs there any way to execute a file (i.e. another ASM or TI-Basic program) from a C program?
Frequently Asked QuestionsThere are a lot of methods for doing this. The most obvious method to do this is usage of a function like this one: void progrun(const char *name) { char fname[25]; HANDLE h; strcpy (fname, name); strcat (fname, "()"); push_parse_text (fname); h = HS_popEStack (); TRY NG_execute (h, FALSE); FINALLY HeapFree (h); ENDFINAL } Note that the program you call may throw errors. If you understand this function, you can easily expand it to accept arguments, etc.
Related Questions