It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
In my college they have prescribed Turbo C, for my academics. I know it is pretty old, but I want to download the latest version of it. I have a turbo c of 1980, a DOS version.
Is any latest version available for it?
Is Borland C++ is different from Turbo C++?
There are no "latest version" of these products -- Turbo C was discontinued in 1990, and Turbo C++ in 1993. Both are over 20 years old (they may very well be older than you are!), and will only build 16-bit DOS executables which won't even run on most modern computers. They cannot be used to interact with any sort of modern programming APIs -- in particular, they cannot interact with the network, nor can they create a standard Windows user interface. Basically, you're stuck in the past.
I won't go quite as far as to say that you should find a better school. But you should keep in mind that what you are learning will be almost entirely irrelevant to your employment -- a lot has changed in the last 20 years, especially for C++. (The C++ STL wasn't even fully standardized in 1993, so there will be some significant differences even there.)
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm quite interested in getting "stuck in" to some Unix source code, say Fedora or Ubuntu.
In practical terms, how would one "re-write" some part of the Unix OS. I presume you would need two machines, a dev machine and a tester? Would you need to re-install the OS on each modification of a .c file? How could I edit the file and re-compile it etc?
What resources are there for knowing which parts of a Unix OS/Kernel relate to which C files (I presume there is no C++) and how to find them?
Thanks in advance for help
ps my motivations for doing this are to eventually be able to learn more about the lower-level fundamentals of the Unix OS, so that I could try and get into programming high freq trading systems.
I think it would probably be a good idea to have some kind of virtual machine to experiment with, that way you could do a snapshot apply your changes but still be able to go back without much effort. Also it allows you to simulate communication between PCs in a simple fashion.
First you need to know what you're looking for. You want to download and look at the: linux kernel. Which is the same for Fedora and Ubuntu (and all other GNU Linux distributions). Second, you might want to start with something easy, like downloading the kernel, configuring and compiling it and booting it. Once you do that you can move up from there.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have purchased The C Programming Language ANSI C Version book for learning C. In that, there is no instruction for setting up the environment for developing the C programs.
Please help me how to compile and run the code explained in the book.
EDIT : I have Windows 7 installed as the OS"
You should use an IDE (Integrated Development Environment). I've chosen Code:Blocks a long time ago and I am still happy with it. Alternatively you can use NetBeans, Eclipse, DevCpp, ... There are a lot of IDEs for C or C++ available.
If on Mac/Linux, you can simply use make myprogram (in a terminal) to easily compile a single-file C program where the source file is called myprogram.c
For more complex programs with several source files, system dependencies et c, it quickly gets much more complex. Use google to find the basics of GCC, the default compiler on UNIX systems.
If you're on Windows, you could either use the Visual Studio from Microsoft (excellent, but not free) or Eclipse with CDT.
This provides you a full IDE with nice debugging support.
However, if you don't want to use an IDE but learn to build programs from scratch, cygwin would be an option including GCC and Make.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Are there any lexical, syntactic, semantic analyzers and optimizers available for download with the source code, preferably in C/C++...???
Do you want a C compiler? Yes there are so many available. You might wanna start with gcc.
I would take a look at the LLVM project. If you're looking to build a compiler of your own, targetting this architecture is quite a good idea. LLVM itself has it's own intermediate representation for assembly syntax, for which many languages, including C and D already have frontends.
You might also want to take a look at this thread from a mailing list I am part of which discusses a number of "language backends" including Parrot etc; basically a set of processors that bring languages like C, C++, Python etc down to a common level.
I am not nearly expert enough in this area as I'd like to be, but these technologies appear to be getting the experts excited. I am seriously considering getting up to speed on them.
Your question is very poorly formed. You should have googled for this.
Assuming you're writing your compiler in C (based on the tag), there's flex, quex and ragel.
To help you write your parser, there's bison.
You can Check out the Java Compiler source code:
http://openjdk.java.net/groups/compiler/
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am having 64 bit Windows 7 as my operating system and want to run some c programs. Is there a compiler for the same? I mean a 64 bit c compiler.
Yes, you can try MinGW-w64. It's a 64-bit distribution of GCC for Windows. I think you want mingw-w64-1.0-bin_i686-mingw_20100702.zip. This distribution is actively maintained, and GCC has quite good support for modern C.
You could use the C compiler provided with Visual Studio 2010 (or probably 2008), just set your target type to x64 and compile .c files, you will get a 64-bit EXE.
If you're looking for a development environment as well, Visual C++ (Express) might be worth a peek: http://www.microsoft.com/express/Windows/
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm very curious as to what programming languages were used to make Google. In the early days, Larry Page and Sergey Brin tried to licence their search algorithm to Yahoo. What I would love to know is what language(s) was the software first written in?
I have a feeling it was C or perl (CGI), anyone know for sure?
Thank you in advance
Anyone know the database they used too?
The Google search engine was originally called BackRub and was written in Java and Python. To quote Wikipedia:
BackRub is written in Java and Python and runs on several Sun Ultras and Intel Pentiums running Linux. The primary database is kept on an Sun Ultra II with 28GB of disk. Scott Hassan and Alan Steremberg have provided a great deal of very talented implementation help. Sergey Brin has also been very involved and deserves many thanks.
-Larry Page page#cs.stanford.edu
Also interesting is Google's Corporate History page, though it doesn't talk as much about the original software.