Sunday, August 2, 2009

Which is the best(most recommended) compiler for compiling C/C++ programs on windows xp???

That depends on what criteria you put under Best.


don't know about recommended.


What you want is one that will optomize code to the CPU being complied on.


I figure if you a microsoft person you would recommend the Complier that Microsoft uses to compile its code.


you can get one through a subscription or outright buy.





for those more hardy and really want the best, I suggest the GNU compiler. This is for those that understand compilers and can write compiler code if need be.


Also this lets you have consistent code across other platforms.





check out GNU code for windows.


Is there any freeware compiler for ethier c or c++ for mac osx or mac os?

other than xcode and eclipes

Is there any freeware compiler for ethier c or c++ for mac osx or mac os?
http://developer.apple.com/tools/gcc_ove...





Short of that just literally go to





http://developer.apple.com they have a lot of info there :)
Reply:If you are looking for a freeware compiler, there is still MPW from apple:





http://developer.apple.com/tools/mpw-too...

dogwood

Compatability between C/C++ compilers?

I'm wondering whether C source code can be compiled in a C++ compiler, or do you have to use a C compiler.





Also, does anyone have any recommendations on a good C compiler?


Thanks!!

Compatability between C/C++ compilers?
They are usually compatible if you stick to ANSI C/C++ coding. A good compile is the free gnu C/C++ compiler. This is a well documented stable compiler that runs on windows, linux etc..
Reply:I wrote numerous programs using Watcom C/C++, now free:





http://www.openwatcom.org/index.php/Main...





Most compile with .C and .CPP names.


What is compiler name for c#.net&vb.net?

Visual Studio .NET

What is compiler name for c#.net%26amp;vb.net?
Good question! not many really goto the core of .net and explore it .





for C# its the csc.exe ,C# compiler


and for vb is vbc.exe , vb compiler





You can find these exes in your visual studio 8 folder.


so if you are working in C# IDE ,your csc compiler will fire up when you compile and convert it to MSIL code which the CLR feeds in on and converts it to Native code..ie your 10101 machine code.
Reply:ken s has givn names of exe's those are not compiler names!


eg.. Turbo C compiler has exe tc.exe compiler name :Turbo C





from exe's it seems name is C# compiler and Visual Basic Compiler








i am not aware of particular names (and i dont think they have(they must be having some code name though) it), but i knw :


each language has its own compiler...


no 1 name


though the entire environment is called Common Language Runtime ...


a lang makes use of 2 compilers:


(1) microsoft's compiler for that particular language


(2) JIT


1 compiler is common to all the languages...Just inTime compiler which converts Microsoft Intermediate language to executable code....................


How compiler works in c?

When we press alt+f9 .obj file execute.But how it properly works.Plese give me answer.

How compiler works in c?
There are a couple of steps in compiling a C program.





1. In the first step, the program is preprocessed. This means, for example, when files are included (#include %26lt;unistd.h%26gt;) up top, the text of these files is incorporated into the text of the program. Where macros are defined, the definition of each macro is substituted for the invocation of it in your program. #if and #ifndef issues are also dealt with. Comments are removed and some tokens are assigned.





2. After that comes optimization.





3. The next step in compilation is when the code is analyzed and translated into assembly language. At least in GCC, which is the compiler I use exclusively, these days, it is assembly language and not machine language. Here is where the compiler usually issues the most readable warnings and error messages.





4. This is then translated into machine code by the assembler.





5. Finally, the code is linked. This is where you get all those cryptic errors with Hexadecimal numbers for the address and no real indication of what routines are causing trouble. These usually mean that code for a given routine wasn't included, as for example when your header files call on code in a nonstandard library you forgot to tell the compiler to link to. An example on a Unix system would be an "#include %26lt;curses.h%26gt;" in the program would require you to type "cc yourprogramhere.c -o yourprogramhere -lcurses" at the shell prompt. Your compiler and your IDE have ways of doing this too, so read your documentation about it.





That, based on old Unix documentation, is how a compiler works.
Reply:Here's how I think of it:





First C takes your code and translates it into raw assembly


language. Assembly language then translates directly into Machine code (1's %26amp; 0's) which is executed by the processor.





hth.
Reply:When u press alt+F9 actually your file is not executed it is


only detecting by computer ,is there any error when it run


it is virtually run in computer and if there is any error if error occur then it send to you.


After this u run program


If u directly run the program then the two processes r executing simutaniosly first compilation second Running


when compilation is successfully completed and no errors are found then Running process is started


COMPILER NOT EXECUTE YOUR PROGRAM IT ONLY DETECT ERROR.


THANK U


How C Compilers work?

I have some questions regarding compilers .


1%26gt;Since the hardware for every machine is diferent, a compiler then must


take into account the machine architecture.So how does a compiler do it?


Does the creator of the compiler manually tell the compiler about the hardware or does the


compiler itself interacts with the machine and figures out its H/W?





2%26gt;can i download copilers?


if so can i use 2 compilers for the same programming language in a machine?





3%26gt;how are compilers created?(and what kinds of programs are they?)just a basic overview please.





4%26gt;i am interested in the c language,i have heard that a lot of games are created using c/c++.


but then games use sound and graphics.What are library files that contain graphic functions?





5%26gt;can i update a compiler? is it possible to add extra functions to a library?How?





6%26gt; C is a middle level language since it has features of both a high level language and


low level languages.Does compilers work differently for different levels of abstraction


present in a language?what kind of language are used to create operating systems?





please help me out with these questions.

How C Compilers work?
1). A compiler "compiles" a code so that the host Operating System can understand. It's generally speaking. The compiler doesn't interact directly with the hardware, this is the job for the Operating System!


2). Yes. You can download as many compilers as you prefer. A compiler is a software which interacts with the operating system, just like any other..


3). This is difficult to answer... The starting point for creating compilers are formal languages and theory of automata.. Then comes the implementation...


4). C/C++ is the industry standard, so of course many software are written in this language (but not only in this one...). Libraries for grafic function include OpenGL (Glut,FreeGlut and so on), DirectX... Renedering software is also being used in the gaming industry. (let's not foret about Artficial Intelligence)


5). You can update a compiler by downloading the improved version or adding extra libraries to it. You can even create your own libraries if you prefer to start from scratch.


6). Unix for example is entirelly based on C language! C language doesn't support OOP (Object Orientation Programming), that's one of the reason C++ was created. It's hard to say in what language windows is written for example since it's closed source...
Reply:#1 - Compiler creator must know about hardware beforehand. However, his job is not too difficult. He only needs to support C syntax. The magic comes when you add on libraries (ie standard libraries, third party libs etc). Those libraries also are compiled to work on your machine, possibly by the compiler you are using, maybe by another.





#2 - Yes, compilers are available for download (ie GCC). Yes, you can use different C compilers for the same program. You will probably compile different modules into libraries or at least object files and join them all together into an executable as the final step.





#3 - Compilers are created with (would you believe it) other compilers! Once upon a time, there were no compilers and therefore some super-geak built a machine code assembler directly from machine code. The assembler was then used to build a compiler etc.





#4 - No doubt, if you are pursuing a career in PC games, you will want to investigate DirectX, available from Microsoft...that is after you have some mastery of C++. DirectX is a library that allows you to have a direct interface to graphics, sound and networking hardware...without having to know the ins and outs of each different sound card, video card or network card. Hardware manufacturers write device drivers that provide a DirectX interface so you get maximum performance without having to learn the manufacturers particular hardware interface (and they are vastly different for each device). OpenGL is similar to DirectX, bexcept it only gives you control over graphical devices. DirectX is a huge chunk to learn about, especially with respect to 3D graphics. But, it is only for PC games. You can also program for consoles like the PS3, Nintendo, XBox with C; but you will need a different compiler for each.





#5 - You can add libraries and that greatly increases the functionality of the programs you write. As for the compiler, unless it is Open Source, you will need to wait for the publisher to make updates to the compiler.





#6 - C is relatively very low level compared to other languages these days. It is not very far at all from machine language, but it does make code simpler to read by humans. Most OS's are written with C/C++. In fact, aside from maybe some ancient ones, I'd be surprised if any OS was written in something besides C/C++.

redbud

I am getting warning of possible loss of information when i compile any C++ module with VC8 compiler any sol?

it says while compiling that "converting from "localtime" to "localtime_s" possible loss of data" . i am compiling a C++ source module with VC6 then it compiles without any warnings but for the VC8 it gave me above stated warning which seems me dangerous.


any help will be appreciated

I am getting warning of possible loss of information when i compile any C++ module with VC8 compiler any sol?
The two calls use structures called localtime and localtime_s. They have different storage sizes. The compiler is simply telling you that 5 bytes are being put in a 4 byte space, you'll loose data, for example. Try looking up the time function that you are using and see if there is a secure version from the Win32s (as opposed to Win32) API. I'd bet there is and you'll need to use it in place of what you have now. This happens a lot, older code examples sometimes use the Win32 functions instead of the Win32 API current versions as a minimum. The secure versions are required by Windows 2000, Windows 2003 and of course, Windows XP. Whether you are writing this yourself or the older calls are still in your library and headers paths, this can hold you up until you find and set things right.


Please I want to connect two pointers and it is not working. i am programming in c++ with dev compiler.help me

/*i want to connect frisk pointer and blackee pointer please help me.thanks*/





#include %26lt;iostream%26gt;


using namespace std;


class Cat


{


public:


int GetAge();


void SetAge (int age);


void Meow();


Cat *blackee;


private:


int itsAge;


};


int Cat::GetAge()


{


return itsAge;


}


void Cat::SetAge(int age)


{


itsAge = age;


}


void Cat::Meow()


{


cout %26lt;%26lt; "Meow.\n";


}


int main()


{


Cat *Frisky;


Cat *blackee;


blackee-%26gt;SetAge(4);


Frisky-%26gt;blackee;





cout %26lt;%26lt; "Frisky is a cat who is " ;


cout %26lt;%26lt; Frisky/*.GetAge()*/ %26lt;%26lt; " years old.\n";


return 0;


}

Please I want to connect two pointers and it is not working. i am programming in c++ with dev compiler.help me
OK First of all you need to understand the difference between a pointer and an instance of a class.





Please read the references and they should explain to you why


blackee-%26gt;SetAge(4) is causing your program to crash and how to fix it.





Namely you need to create instances of Cat not just pointers to them. As for connecting them the pointers tutorial should help you out with that.
Reply:Its been a while since I have written in C, but I think there are 3 things I see:








(1) You need to allocate the memory for blackee based on your code here.





ie: Cat *blackee = new Cat();








(2) The second is on the assignment of Frisky to blackee, it should just be:





Friskey = blackee;








(3) Although it is commented out, you appear to be using the '.' operator for accessing the GetAge() method on Frisky. This should be the -%26gt; operator (because you are accessing the method on the pointer to the object). If you were accessing it on the object (ie: Cat Friskey;), then you could use the '.'.








In this instance, the code would have 2 pointers to the same Cat object. I am not sure if you need both objects (may if the assignment asks for it perhaps), but you could get away with the followibng code instead:





int main()


{


Cat *Friskey = new Cat();


Friskey -%26gt; SetAge(4);





cout %26lt;%26lt; "Friskey is " %26lt;%26lt; Friskey-%26gt;GetAge() %26lt;%26lt; " years old.\n";





return 0;


}








Although it might be interesting for you to do the following:





int main()


{


Cat *Friskey = new Cat();


Cat *blackee;





blackee = Friskey;





Friskey -%26gt; SetAge(4);





// both should be the same age.


cout %26lt;%26lt; "Friskey is " %26lt;%26lt; Friskey-%26gt;GetAge() %26lt;%26lt; " years old.\n";


cout %26lt;%26lt; "Friskey is " %26lt;%26lt; blackee-%26gt;GetAge() %26lt;%26lt; " years old (via blackee pointer).\n";





return 0;


}


Can someone please give me a copy of borland c++ 3.1 compiler?

i badly nedd it..

Can someone please give me a copy of borland c++ 3.1 compiler?
Do you know Borland is releasing for free the Turbos, including the newest C++? http://www.turboexplorer.com, I'm not sure if this will help you but there it is anyways


Is this best for 3d game creation : text editor + c++/c#/java/python compiler ?

nil. Maya is the best.

Is this best for 3d game creation : text editor + c++/c#/java/python compiler ?
Best is such a fuzzy word. It shouldnt be used without also supplying a rubric.





If performance was the dominant measure of "best" then assembler, or a HIGHLY optimized form of C would be best.





If ease of programming was the dominant measure of "best" then a high level language like Java might be "best".





If quality of graphics was the dominant measure of "best" then a custom tool, possibly like maya or other game specific integrated development environments might be best.





You should try to get a reasonable estimate of what "performance" means and how much you need, what "ease of programming" means, and how much you need, and what "quality of graphics means" and how much you need, then investigate the possible develpment environments and languages for quality of fit, cost, and hardware requirements to determine a TRUE best.





You should also consider game environments. There is where development money is being invested so there is where progress is being made. If you have the best game in the universe, but it only runs on deep blue, you have a market problem, and should estimate revenue before you start spending vc dollars. If you have a weak game, but its engaging, and will run on a cell phone, then you might not have to use maya to make it, and might make several hundred million with it.





If you are going to spend $100,000 or more developing and marketing a game, then you should spend $1000 of your time finding a way to make the most and the "best" of the $99,000 left in your budget before you write the first line of code, or invest your degree in a tool that will be obsolete in five years.

sundew

I need to run this written C program.I have compiler installed and wrote small progs but how do i run/execute

I am trying to learn C and C++. I use Microsoft Visual C++(from Microsoft Visual Studio 6.0) to write the program in C but i don't know how to run it/to execute the program and view the output.


can you help me hos to do that...and also can I ask for websites that teach programming in C or have tips for beginners?


Thanks a lot!

I need to run this written C program.I have compiler installed and wrote small progs but how do i run/execute
To compile it , ALT + F9, then F5 will execute it.
Reply:After writing the whole program press


ALT+F9 for compiling your code.


After successful compiling..press


CTRL+F9 for running your program.





Be carefull about the format in which you store the file..


i f your file is written in C store it as .C


if C++ store it as .cpp


..
Reply:create a new project the insert your c++/c code then compile then run project. i think hope it helps.





i used to use that but it was a long time ago
Reply:Hi there!


If u r a beginner %26amp; starting on with small C/C++ programs, I would recommend don't use MS Visual C++. It's too bulky %26amp; has features for advanced users. You'll end-up being confused. Instead start with DOS based IDE(Integrated Development Environment) like Turbo/Boreland C++ which are more suitable for beginners with small programs.


Where can i download a free Turbo C v2.01 Compiler?

i need it to practice my programming. can anyone help?

Where can i download a free Turbo C v2.01 Compiler?
Straight from the horse's mouth, at the URL below from Borland.
Reply:you can get if free from Yankee.com





and then you can use it





take care
Reply:search google for downloading.


Try the C examples using it.


http://www.pekiyi.150m.com/c.html
Reply:Now there's a piece of history!





http://www.acms.arizona.edu/education/op...


Where can you obtain a "Turbo C++ 3.0" compiler to download for free?

Actually version 2 is free to download from the codegear museum.





http://dn.codegear.com/article/20841





Not sure if version 3 is there somewhere








Edit: it surely is at some abandonware places like:


http://vetusware.com/select-by/category/...

Where can you obtain a "Turbo C++ 3.0" compiler to download for free?
You can't. Buy one.
Reply:That's an old compiler. I will recommend DEV C++5.5


Instead it is new and can be use to program C or C++ and user friendly as well.





Joe .





http://www.bloodshed.net/devcpp.html


Whenever I try to compile a c program, the compiler shows an error that "unable to find Header files"

if you are using turbo c ,try this





go to options menu,select directories and check if the specified directory paths are correct,else specify the correct path.


if it still does not work,clear all the directory paths and leave those spaces blank.


hope this works

Whenever I try to compile a c program, the compiler shows an error that "unable to find Header files"
There might be a missing defined path to the folder that contains the header files. If you can’t set the path, search for the header file, then copy and paste it into the folder containing the C code.
Reply:Basic syntax, the body of the program is relying on what you have in the header, so you have that particular code, but then you have a header like so:








#include%26lt;iostream%26gt;


#include%26lt;stdio.h%26gt;

baby breath

Whenever I use pointers in C++ ,the whole compiler closes leaving an error dialog box saying some 32Bitsystem

It happens only with pointers and not character arrays.


It says the NVRAM has encountered a serious error and needs to close.

Whenever I use pointers in C++ ,the whole compiler closes leaving an error dialog box saying some 32Bitsystem
make sure you delete space that you are not using, with delete[];you are not allocating/deallocation memory right, dynamic memory is pretty tough to understand. Your not going to get it for a while. Read about it for a lil bit and get the hang of it.


Where can I find cygwin for c/c++ some gcc compiler ?

I want to learn some ... for an exam

Where can I find cygwin for c/c++ some gcc compiler ?
although i can't understand your question, here you go:





http://www.bloodshed.net/devcpp.html

yucca

I am using dev c++ (4990) version compiler .it is not supporting "graphics.h" file .please hlep?

Well, it probably won't support the "graphics.h" file unless you have a "graphics.a" library file installed on the MinGW compiler. By the way, MinGW is the compiler that comes with the Dev-C++ 4.9.9.x version IDE (Integrated Development Environment). As far as I know, their is no graphics library for console graphics on the MinGW compiler. If you need this for an assignment, download the original Turbo C++ ver. 2.0 for free from the Borland Museum. The link can be found from the C++ compiler page at the first URL below.


If you only need to manipulate a console application's graphical interface, then consider visiting the second URL to pick up some alternative libraries for the MinGW and Dev-C++ IDE. I hope that this helps you out.


Is Microsoft Visual C++ a good compiler for beginners?

yes


but i think turbo or borland is best for beginer at least i used them as beginner

Is Microsoft Visual C++ a good compiler for beginners?
I dunno, I'm just answering for the points
Reply:If you mean compile C++ using Microsoft Visual Studio 6.0 , Yes, it is very easy to use. I have been use it for over 10 years.
Reply:Are you refering to the language or the compiler?





I would start with Visual Studio and C# because it has by far the largest amount of documentation out on the web for it.
Reply:Not unless you have a really good understanding of data structures. Have always recommended basic as a good start. Some schools start with Pascal, but was not impressed with it.
Reply:No. Learn Microsoft .NET C# or Microsoft.NET VB.NET.





Much easier. Buy Learn ASP.NET 2.0 in 21 days.
Reply:No, visual studios C++ and the word beginner doesn't belong in the same sentence.





Look for something easier. Visual Basic is easier, but not always recommended for everything,





Keep looking !
Reply:Id say turing is or ruby


I am looking to learn c++ which free compiler should I use? Is visual c++ from windows different than normal?

If you're on windows that (Microsoft visual c++) is the cheapest and easiest road to take. Others will argue go open source, but that microsoft compiler is pretty dang good for the price and reliability.


One thing you'll want to note, not sure if this is still true, but I believe the free version of Visual C++ from Microsoft might not let you publish the software you make in it (ie make money off of it).

I am looking to learn c++ which free compiler should I use? Is visual c++ from windows different than normal?
best C or C++ free compiler is: gcc... get a good ide like eclipse or emacs and you're ready to change the world!
Reply:The express edition of Visual C++ should be fine. And yes, unmanaged Visual C++ should compile any standard C++ program just fine. Microsoft also offers Managed C++, which is non-standard and offers things like automatic array bounds checking, access to .Net, etc.
Reply:I think first you have to go for like TurboC++ or BorlandC++ like complier after then use Visual C++ it will surely help you.


Where i can find the last version of the compiler of C & Pascal ?

http://gcc.gnu.org/ C/C++


http://www.freepascal.org/ Pascal

chrysanthemum

I want a site through i can download free compiler for c++?

Dev-C++ is free and easy. It comes with the Mingw compiler. Download it at sourceforge.net: http://prdownloads.sourceforge.net/dev-c...

I want a site through i can download free compiler for c++?
Borland C++


http://community.borland.com/article/0,1...


http://www.borland.com/downloads/downloa...





Also, M$ Visual Studio is now available for free 1 year download form microsoft.com. check it out
Reply:Check out - http://www.bloodshed.net/
Reply:http://msdn.microsoft.com/vstudio/expres...


microsoft express editions


download for free


Why we get declaration syntax error in c programming & what is gpp compiler for c?

Without seeing the code it's difficult to tell what your error is. Are you referring to gcc? It is a free c compiler.

Why we get declaration syntax error in c programming %26amp; what is gpp compiler for c?
Its very difficult to tell exactly what it is?


however in C++ most errors come due spelling mistakes.....


Can any one tell about a free compiler for c++ with (GUI)?

Yes for sure DEV C++ which is avaliable for free.

Can any one tell about a free compiler for c++ with (GUI)?
If you use plug-ins, Eclipse ( http://www.eclipse.org/ ) can support c++. Dev-C++ tends to run faster and easier, though. Personally, I've found it easier to just use mingw (included with some installs of Dev-C++) with Syn.


From where and how to install Compiler for C language, please advice.?

lcc-win32: A Compiler system for windows





http://www.cs.virginia.edu/~lcc-win32/





Here you can download the lcc-win32 C compiler system. The system is self contained: you do not need anything else to get started programming in C in the Win32 environment. You get





Code generator (compiler, assembler, linker, resource compiler, librarian)


Integrated development environment with editor, debugger, make file generation, resource editor, etc.


User manual and technical documentation.


All the binaries and the associated header files etc, are contained in an auto-installable executable that will create all the needed directory structure.








Here is a direct link to the software and happy C programing!


http://www.q-software-solutions.de/pub/l...

From where and how to install Compiler for C language, please advice.?
We used the Dev C++ compiler for a class at a state university. It's free and works fine.
Reply:Tried the Gnu C compiler, yet? Free download.





http://sourceforge.net and look for "GCC"
Reply:The Firs %26amp; Foremost Thing u need to Know before installing is


On Which OS u want to Install Compiler.





bcoz, Linux has got built in C Compiler.


If u r Trying for Windows OS Then, Which C Compiler u need to install.


whether it is Borland C or Turbo C.





I Suggest installing Turbo C bcoz many people will use the same thing.





I think u will get an Extractor File to install it.


choose the Path where to Extract.





Go to Command Prompt(Start--%26gt;Run--%26gt;Cmd)


Choose the Extracted Path


change directory like


C:/TC%26gt; if u extracted to tc directory on c drive.





Type TC an Executable file will run and takes u to different editor.


where u have set to set Compiler Directives %26amp; Libraray Routines Path.





By Choosing Directories from compiler menu--%26gt;before help %26amp; window menu.
Reply:Dev C++ is another great program that also has a very user-friendly GUI.

daffodil

How to construct a new compiler using c or pascal?

Are you new to programming?





This is a pretty big project to take on. You have to define a symbol parser that will:


1.Understand the difference between a function and its inputs.


2.Understand what to do when the expression stack returns with a value pushed or cannot be popped when an input is required (you know, when you have a return value, you push it on a stack? The latter and former cases are not enough inputs and too many inputs, respectively).


3.Parse an arbitrarily long mathematical expression in a way that conforms to the order of operations.


4.Understand COMPLEX string handling


5.Determine how to define functions


And probably a LOT of points I'm not covering.





I'm sorry I couldn't help, but you may want to do your research before taking on this whole project.

How to construct a new compiler using c or pascal?
LOL you expect someone to answer that in a dialog box. Thats a huge project.


In wat language is the compiler of C built?

Its built using assembly


and java compiler using C

In wat language is the compiler of C built?
Like the first poster said, assembly----the _real_ programming language.
Reply:It was originally built using assembly language. Now you can use any language to write a C compiler, even C.
Reply:Depends upon the compiler. The first were done in assembly language. The GNU C compiler is written in C. The VAX C compiler was written in PL/I. These days, it appears most C compilers are written in C.


How do i get a compiler for c++?

go to this link:


http://www.bloodshed.net/dev/devcpp.html


or www.bloodshed.net


there is a c++ compiler there you can download for free.

How do i get a compiler for c++?
GCC (http://gcc.gnu.org/) is a very popular free compiler. There are versions that run under Windows (mingw). GCC is better suited for command line applications, or apps using various graphics libs, than for Windows GUI apps.
Reply:Lots of them available on the market on payments, But I guess you are looking for free one, aren't you?





Well DEV C++ is an absolutely freeware. Have it from:





http://www.bloodshed.net/
Reply:If your on Linux, the de facto C++ compiler is G++ which is incluided in the GCC collection. All linux systems should have it already installed by default. It's webpage is here http://gcc.gnu.org/





G++/GCC is also really popular on Windows, two popular ways of using it on windows is MinGW http://www.mingw.org/ and cygwin http://www.cygwin.com/





The most common compiler on Windows however seems to be the Visual Studio compiler, you can get it included with a free Visual Studio Express C++ IDE here http://msdn.microsoft.com/vstudio/expres...





Two other alternative compilers for windows are Digital Mars http://www.digitalmars.com/ and Open Watcom http://www.openwatcom.org/index.php/Main...


C++ teaching guide/tutorials in pdf format? And compiler for a pocket pc?

Does anyone know of a good C++ teaching guide or tutorial that can be found in a pdf format?





Also, does anyone know of a compiler that works on a pocket pc?





I have a lot of free time where I'm not near a computer so it would give me something to do.

C++ teaching guide/tutorials in pdf format? And compiler for a pocket pc?
You need to program in Microsoft C++ to compile to the Windows Mobile Edition / Pocket PC OS.





http://msdn2.microsoft.com/en-us/windows...
Reply:You must be blind. The tutorials are all over it. Downloads are on the right, Getting Started, Essentials, Developer Tools. Seriously, if you can't figure out that site, you should forget programming. Report It


hyacinth

Where can i download GPP COMPILER?and is it a free compiler for C?

I am also assuming g++. What is your OS? If it is Linux, or based off of BSD (Mac OS) or any other UNIX (Tru64) it should be included, and just may have to be installed. If you have Windows, you can download mingw, which stands for minimal gnu compiler collection for Windows. Or even easier, just get Dev-C++ from bloodshed.net. Yes all of these are free.

Where can i download GPP COMPILER?and is it a free compiler for C?
Did you mean gcc or g++? You can get the gcc compiler from gcc.gnu.org.
Reply:Try the source


And yes, it is free.


I hope you are using Linux cause that is what it will work on.


What is the common compiler for C and where can I download it?

gcc is the GNU C Compiler - should come as standard with Linux, don't know about Windows or Mac - dare I say you might have to search the internet?!

What is the common compiler for C and where can I download it?
you get turbo c compiler here and its what i use http://www.acms.arizona.edu/education/op...
Reply:Goto the following links http://www.gnu.org/software/gcc/ --%26gt; go to downloads --%26gt; Mirror sites--%26gt;you can download from any mirror site.
Reply:There are a lot of C and C++ compilers out there. They are all slightly different in some details and usually alike in that they support ANSI C code. To find a variety of choices, check out the URL below. It has free compilers, IDEs, links to articles and tutorials. I would recommend one of the following: GCC under Linux (comes with it), Turbo C or C++ under DOS or Bloodshed Dev C++ under Windows. I hope this helps you out.
Reply:lcc-win32 is a good c compiler for Windows.


From where can i download compiler of c/c++ for java enabled mobile ?

thank you friends !!

From where can i download compiler of c/c++ for java enabled mobile ?
you can't download a C++ compiler a java mobile.. only symbian platform and windows smartphone have sdk and the jdk..





for symbian.. www.symbian.com or forum.nokia.com


for smartphone.. msdn.microsoft.com (get the embedded visual c++ 4 + service pack)
Reply:a c++ compiler for a java platform - that's a bit silly, right?
Reply:http://www.obj-sys.com/asn1-compiler.sht...


http://www.eit.in/sw/pd/lang/a_z/j/java/...


I need a compiler for c programming language?

Well, first of all, any good C++ compiler will work with C. Sometimes you must change a setting, add a switch or save the source to a specific file extension. Other than that, there is no reason a C++ compiler won't compile ANSI C if it is told to. For a load of freebies for programming and articles, try the URL below.

I need a compiler for c programming language?
You can get one from the following web site...


http://www.eclipse.org/tools/

poppy

What is difference between compiler of c and c++?

ready functions are different


printf and cout


scanf and cin





and so on





www.bloodshed.net

What is difference between compiler of c and c++?
not much difference. just different header files and library.
Reply:C++ is almost a superset of C. The main addition is support of object-oriented (classes) and generic programming (templates).





While much C code can be compiled as C++, there are subtle differences so C is not a true subset of C++. That said, it generally takes little effort to modify C code to work correctly in C++.
Reply:Not much different excepting the Header files and Libraries
Reply:The language is different. So the compilers are different. To those of you who called C++ only being different on headers and libraries, I want you to replicate templates in C++ in C. Or multiple inheritance. Have fun.
Reply:The fundamental issue is that of maintaining backwards compatability with C. When Bjarne created C++ (under the old name C with Classes) he wanted to emulate Smalltalk's object model in C. One of the important features Bjarne was adding to C++ was the concept of accessor privelege (private, public and protected.) When those things are added to a language, it is generally done such that private is the default.


In order for code from C to work with C++, the members of a structure would be expected to be public. However, Bjarne knew that default privacy was important. The solution chosen was to clone the "struct" keyword and make this one small change. In fact structs and classes are the same thing; you can inherit structs from classes and vice versa (though it's pretty stupid, it's legal.) The ONLY technical difference between structs and classes is whether members default to private or public accessorship. This can be derived from the language of section 3.1 of the C++ standard (ISO IEC 14882-1998.)





Repeat with me: "The only difference in C++ between struct and class is that struct is default public, whereas class is default private."
Reply:The C++ compilers have some added libraries that are not present in C compilers. So you can compile a C code in the C++ compiler but not vice versa.


Where can i download GPP COMPILER?and is it a free compiler for C?

I am assuming that the OS you are working with is Linux.





Here is a website to download the compiler: http://linux.softpedia.com/get/Programmi...





GPP is provided under the GNU license, therefore it is free to use by the general public.

Where can i download GPP COMPILER?and is it a free compiler for C?
I believe you're to the FOSS (Free and Open Source Software) GCC compiler. Yes it is free, but not necessarily the best out there. It is pretty damn good, though.





You can find it here: http://gcc.gnu.org/





Here's a large list of free compilers: http://www.thefreecountry.com/compilers/...


I just want to program in C/C++ on Vista. What is the best compiler/IDE for it? And where can i find it? TIA?

i have heard about Turbo C++, but on its download page Vista is not mentioned, as supported. so, what IDE or compiler should i use to write programs in C/C++ to run on Vista?

I just want to program in C/C++ on Vista. What is the best compiler/IDE for it? And where can i find it? TIA?
try Bloodshed Dev C++. it is freeware, very good, and i currently use it on Vista.


From where i can find and download free c++ language and compiler and related materials?

my son is studing in 10th std and wants to learn c++ for that i want the language and i also want to create some programmes on this language

From where i can find and download free c++ language and compiler and related materials?
There is a lot stuff related to C++. It's also becoming outed as an old code. I think you'd have better success trying a used book store.


The links below may be helpful.
Reply:http://www.bloodshed.net/devcpp.html





free C++ compiler and stuff
Reply:try this it is the express edition of MS C++ (and it's free!!)

cosmos

I am using Borland C++ 5.5 compiler. I wrote the code and I added #include <graphics.h>,an error displayed

The error says" Unable to open %26lt;graphics.h%26gt;". Is there a missed "graphics" library in the Borland compiler?


I installed "graphics.h" from another site, but more errors appear especially in this library:(





What is the solution? any answer will be appreciated..

I am using Borland C++ 5.5 compiler. I wrote the code and I added #include %26lt;graphics.h%26gt;,an error displayed
Try #include "graphics.h" and put graphics.h in the same directory as your code.


How to use c++ 3.0 compiler in vista?

I just installed vista in my pc. But i can't use my old borland c++ compoler 3.0. The error says the dos-based programs are not allowe to work full-screen.


And in small window the graphics program are not compiled.


Any suggestions?

How to use c++ 3.0 compiler in vista?
http://www.bestvistadownloads.com/downlo...


Learning C++ need advice for a free compiler.?

I am tring to learn C++ and need some advice on the best compiler (freeware). I am useing windows XP. Any help would be appreciated. Thanks in advance.

Learning C++ need advice for a free compiler.?
Best and easy to use is Visual C++ Express 2005 (it's free)http://msdn.microsoft.com/vstudio/expres...


and you can get complete information on Microsoft's Vc++ from http://msdn.microsoft.com/visualc/ infact there are video lessions and how Do I.. Guides at http://msdn2.microsoft.com/en-us/library...


This will be the best compiler to use as you are doing development in windows xp . As it will provide you with good API's (IT's a COMPILER + IDE)


There is another free compiler http://www.bloodshed.net/devcpp.html . It's a good compiler , if you want to be vendor neutral.


There is another free compiler called GCC (this is a GNU compiler (i.e Open Source and free too) you can get complete information on this from http://gcc.gnu.org


and you can download the compiler from http://gcc.gnu.org/install/binaries.html


With this compiler you can do development on many operating systems with the same toolset.
Reply:porland c++
Reply:DEV C++


THE BEST YET!





Don't join with those Microsoft's compiler or else, they are just some jokes to be with.


I started my basics with a borland C++ package and now found a more user-friendly kit 'The Dev-C++'.


ONLY IF YOU WANT TO BE A REAL PROGRAMMER!!!!!!!!!
Reply:Agree with Sunny - Dev C++ is a great free IDE for learning C++. Link below.


When C++ was created, what was the compiler made by Bjarne stroustrup?

I can't seem to understand why there are so many compilers out there that suck and each of them produces a different error and none of them is ANSI/ISO compatible fully, while the creator of the language himself should have made the right one! I mean, one of them even says it has a syntax error in one of its own libraries!


I'm going to try out eclipse cuz Dev C++ is driving me nuts but I need to get a good compiler! Borland doesn't even have a debugger so what can I do?


P.S: I only write console applications because I program for contests and training sites like USACO's training site.


Please answer the main question cuz it's the one that's killing me. Where's the original compiler?

When C++ was created, what was the compiler made by Bjarne stroustrup?
Even the "original" compiler had lots of bugs. C++ is a very complex language, making it extremely difficult to create a bug-free compiler. I feel your pain.





Good luck!
Reply:Have you tried Microsoft Visual Studio? It comes with a console compiler. You need to set it up, but it works...as long as you aren't on Vista.
Reply:Stroustrup did a book, not a compiler. Everyone has been free to implement their own subset of the C++ language, all along.





I'm on Linux, incidently, so I haven't had to pay for a Borland Compiler for a while: however the last time I actually bought one (around 2002) it came with an IDE -- Integrated Debugging Editor which certainly worked. Have you bought a Borland compiler or did you just download it?





Naturally when I hear someone is having trouble with Dev C++ or any implementation of GCC I'm sorry to hear it. If you are just programming for the console, have you considered DJGPP? With GDB and GProf GCC does have debugging capabilities. I've never used CDT but I do wish you luck.





Still, a reasonably complete implementation of the C++ programming language and (separately) the Standard Template Library is available at http://www.digitalmars.com. Their IDE, which I've never used, is available on their CD which costs $54. You can download and install a command line version for free. You also have to install the STL separately, which can be tricky (before I dumped DOS I used a batch file to compile my C++ programs) but once you get it working it is very awesome.
Reply:If yo want a good compiler, Go to www.bloodshed.net and download the free Dev C++,


Good Luck





Omar

online florists

C# Where do I find a compiler?

I am learning C# and wrote my code in word pad and saved it as a cs file extention. The next step is compile the code from a comand line. Where do I find a compiler? Is there one in Visual Studio? Is a compiler seperate from the visual studio program? My book doesn't give me specifics on the compiler it just tells me the steps on how to make the cs file into an exe file but nothing about if I am supposed to use visual studio to compile. Any help would be great.

C# Where do I find a compiler?
http://msdn.microsoft.com/vstudio/expres...
Reply:Word pad is truly not the right editor to code. You should use a proper IDE (integrated development environment). I find SharpDevelop very useful, it's free, it's fast, it's feature-packed, but not as complex as the 'big irons'. You can compile your projects right from the IDE, no command-line needed.





http://www.icsharpcode.net/OpenSource/SD...
Reply:Please refer to this address and find more information.





http://www.thefreecountry.com/compilers/...





you could find your answer
Reply:There's a list of free ones here. And some tips on the side...





http://www.thefreecountry.com/compilers/...


Does any one know a site where i can get a trial version of a C++ Builder/Compiler?

http://www.bloodshed.net/devcpp.html

Does any one know a site where i can get a trial version of a C++ Builder/Compiler?
http://msdn.microsoft.com/vstudio/expres...
Reply:try at this site:





http://www.borland.com/products/download...


How to see output of hello world program in Dev-c++4 compiler?

How to see output printed on dos screen. ?


How to add watch, for debugging ?


Please help

How to see output of hello world program in Dev-c++4 compiler?
First things first. Use the line below, without the ' added, just above the last line of the program in the main function.


'system("PAUSE");'


I'm *ASSUMING* that you're using Windows, since what this commonly means is that you've hit run in the execute menu and get no output screen. What is really happening is that the program opens, outputs the message and closes the window so quickly that you don't see it happening. The system("pause"); statement passes the pause command to the operating system's command interpreter. Pause prints the infamous


"Press Any Key to Continue..." message and waits for a key to be pressed. So, this will hold the window open. Well, this works in C console or DOS programs under Windows. It is non-portable and won't necessarily work in other operating systems, so don't assume that it is a good practice at all times.





As to adding a watch for debugging, you likely won't be able to in DOS programs. This feature, if I'm right, is designed to work only with Windows GUI programs.





I hope this helps you out.


Recently i installed jdk1.3 compiler in c-drive but don't know how to make path for my first prog. please help

today i installed jdk1.3 compiler but i don't know the path how to reach the text editing window . i don't know the way to change the setting of my computer . if you can please help me out . or if you have other solution to this problem help me please.

Recently i installed jdk1.3 compiler in c-drive but don't know how to make path for my first prog. please help
AUTOEXEC.BAT on the PC through the lines:


PATH=C:\Java\bin;%PATH%





SET CLASSPATH=.;C:\JAVA\LIB


SET HOMEDRIVE=C:


SET HOMEPATH=\JAVA


SET JAVA_HOME=C:\JAVA


After you have done that (or changed the path stuff for wherever you decided to put the JDK), you can move on.








OR





Do it by setting path manualy


1)Right click on MYCOMPUTER


2)Properties


3)Advanced


4)Enviroment variable





set your


Varaible name Classpath


variable path ;C:\JAVA\LIB (just add addit after any already taken path)





Variable name JAVA_HOME


Path C:\JAVA








Note:: *JAVA here Can be like jsdk1.3 folder on C drive or any version.





hope this will solve your issues


Cheers:)
Reply:Please refer to





HEADING "How do I set the PATH permanently? " at this page





http://java.sun.com/products/archive/j2s...
Reply:1.right click on my computers


2.go to properties%26gt;advanced%26gt;environment variables


3.click on new and paste the address of the jdk till bin


eg C:\program files\java\jdk1.3\bin\

flowers uk

Recently i installed jdk1.3 compiler in c-drive but don't know how to make path for my first prog. please help

today i installed jdk1.3 compiler but i don't know the path how to reach the text editing window . i don't know the way to change the setting of my computer . if you can please help me out . or if you have other solution to this problem help me please.

Recently i installed jdk1.3 compiler in c-drive but don't know how to make path for my first prog. please help
AUTOEXEC.BAT on the PC through the lines:


PATH=C:\Java\bin;%PATH%





SET CLASSPATH=.;C:\JAVA\LIB


SET HOMEDRIVE=C:


SET HOMEPATH=\JAVA


SET JAVA_HOME=C:\JAVA


After you have done that (or changed the path stuff for wherever you decided to put the JDK), you can move on.








OR





Do it by setting path manualy


1)Right click on MYCOMPUTER


2)Properties


3)Advanced


4)Enviroment variable





set your


Varaible name Classpath


variable path ;C:\JAVA\LIB (just add addit after any already taken path)





Variable name JAVA_HOME


Path C:\JAVA








Note:: *JAVA here Can be like jsdk1.3 folder on C drive or any version.





hope this will solve your issues


Cheers:)


I want to download a free compiler for C, i am a newbie, so please help me ..as reagards link and support?

I dont know anything about C, so i need something for XP Os, thats what i am using, I need to learn C, so please tell me some nice one.Are there mant different types of C ? which should i start with ?


Please guide me.Thanks, kind hearted knowledge sharers.

I want to download a free compiler for C, i am a newbie, so please help me ..as reagards link and support?
try gcc from sourceforge.com


and try cprogramming.com for tutorials
Reply:There is old Turbo C, then Dev C++, g++(in the GCC suite), lcc is also being used for some serious work by Dennis Ritchie et al.
Reply:I hope this is what you needed.





Good luck. :)





http://www.cprogramming.com/
Reply:I do not recommend XP to use with C language.


C language are better off with DOS OS.


Goto Borland (borland.com) for FREE compiler.





XP has different memory allocation already and limits access to it. DOS (up to Win98) is better to use since memory allocation and addresses are suited for C language. XP is 32bit already while C is 16 bit, C++ is 32bit but you want C.
Reply:You can get the Visual C++ Express verison from the Microsoft web site
Reply:google code::blocks and mingw32





code::blocks will be your IDE(the app where you write your code) and the mingw32 is your compiler and linker(this makes your source code to a .exe file)..





they are what im using in my game development.. :)


How much space on my disk will a compiler for c++ programs use??

and which compiler do you recommend?

How much space on my disk will a compiler for c++ programs use??
how much programms are u putting on ut
Reply:Bloodshed Dev-C++ 4.9.9.2 only uses 8.89MB





It's good and free:





http://www.download.com/Bloodshed-Dev-C-...
Reply:It really depends on the compiler. Figure about 10 megabytes for any GCC implementation more for proprietary compilers. If you're on Windows I recommend as does the person above, Bloodshed Software's DevC++ which is the best implementation of GCC on Windows. There are a couple. Among proprietary compilers, any Borland compiler you can get your hands on (and some are cheap) will be excellent and Digital Mars's C++ compiler is one I was working on when I dumped Windows. I didn't have time to buy and try out the IDE because I was transitioning to Linux, however the command line compiler I was using was awesome. And small, but it had no IDE because I didn't think I'd get $54 worth of use out of it in the time I had left to use it. Nevertheless Digital Mars is a REALLY awesome compiler.








Addresses:


Devc++


http://sourceforge.net/projects/dev-cpp


Digital Mars:


http://www.digitalmars.com/download/free...


Friday, July 31, 2009

Help me in getting a good compiler for c,c++?

hi guys.i am self studying c,c++ these days, i am using turbo c++(v3)!it is good but doesn't have enough header files!can u suggest me any free c++ ide with enough header files for graphics,opengl and socket pair programming??or sites from where i can get all the header files!!

Help me in getting a good compiler for c,c++?
Just to add some information to help the asker. You additional details mentioned,


"well,visual C++ is too heavy for me right now!i want to use only traditional c++ compilers!!isn't it possible to cover all my requirement in a good compiler?or i have to switch to visual c+++"





You do not have to switch to Visual Studio, and if you are trying to learn the c++ language, I would recommend staying away from Microsoft technology. You want a c++ compliant compiler (standards compliant!).





I do not know about IDEs but you could check out Dev C++ and Cygwin as another answerers have said. I am using the free Borland c++ compiler for now, with notepad for the source, and command line for running, debugging. It obviously is slower than an IDE.





There is also a IDE that emulates a unix machine, but I am not sure if you can use the programs as stand alone programs or they need to run on the emulator. It is called minGW, available here;


http://www.mingw.org/


Borland Free C++Compiler


http://www.borland.com/downloads/downloa...





About openGL, I think you need the GLUT (openGL Utility Toolkit). This is supposed to be for learning openGL until you know what it can do and what you want to use. You can get the GLUT for Win32 at


www.pobox.com/~nate/glut.html





Using Glut with Bloodshed Dev C++ info can be found here


http://www.cs.uofs.edu/~mpc3/cmps370/glu...





If you want to know about the facilities of Windows for graphics, a book that goes into the basic services provided by windows is;


Title: Win32 Programming


Authors: Brent E. Rector and Joseph M. Newcomer


ISBN: 0-201-63492-9


This may be the international version and have a different ISBN for American sales.





Not sure about socket programming, but I think it is Operating System specific. You will need the header files for the OS. Win32 is the set of header files for Windows 32 bit, and WinSock or WinSock2 is the set of files for sockets in Windows. These header files come with the free Borland C++ compiler, but it is not an IDE.





With vc++.net 2005, you will be working with the .net framework. Microsoft made all their languages compile to a common language (.net). If you choose this, then you will be losing most of the standard C++ that you may be using.





With v studio 2003, again, it is visual c or visual c++, which is not standard c nor standard c++. IMHO, you lose out here, by not being able to use the standards. Of course, MS has its own standards.





I am not sure if turbo C++ used non standard C++ for some components.





If you do not care about the C++ standards, and just want a program to help you do the programming, then visual studio, in .net would be the way to go.
Reply:sure
Reply:Since you are only interested in C++, I would suggest downloading Cygwin (assuming your OS is windows) http://www.cygwin.com. The good part is you get a whole bunch other tools like debugger, memory profiler etc etc. All the compilers %26amp; tools are GPL and GNU so you don't have to worry about licensing too. Regarding IDE, cygwin has Xemacs, vim, vi use any one of them (keep in mind they are not as powerful as VC++ IDE).
Reply:Uh, for which operating system are you talking about?


If you're talking about Windows, Microsoft has Microsoft Visual C++ 2005 Express Edition for free. Just go to their web site. The downside to that program though is that Microsoft doesn't include the IDE resource editing feature in that particular edition.





NEW--------------------------


I don't understand what you wrote for 'additional details.' Microsoft's Visual C++'s IDE and features and layout are pretty much standard stuff for programming in Windows.


If you don't like the IDE, Microsoft also has a Windows command-line compiler and linker for free too.


Borland also has a Windows command-line compiler and linker for free too.





That Borland Turbo C++ Version 3 you have is an old DOS compiler. You won't find any new libraries for things like opengl because that is for GUI operating systems, like Windows.





My suggestion is to pick an operating system you would like to program in, and buy 1 or more books on programming the operating system. Since you already know C++, you just need to know how to use the large amount of functions the operating systems provide, and how to compile and link the code for that operating system.


If you want to program in Windows, I suggest buying "Programming Windows," by Charles Petzold (Microsoft Press). It is the de facto book on learning to program in Windows.


I learned to program in Windows 3.1 and Windows 95 with his books.


You should also download Visual C++ 2005 Express if you go that route too.
Reply:FREE, Microsoft Visual C++ 2005 Express.


I'm study C++ myself and this is what i use. I just downloaded it works great!


http://msdn.microsoft.com/visualc/
Reply:Dev C++ is also a pretty good compiler. Download from:





http://www.bloodshed.net/devcpp.html

hamper

Whats the easiest to use C programming compiler?

why don't you ask this in the computers forum? this is not a math question.


Where can I download Borland C++ 5 compiler for free?

You cannot get the full version for free. That'd be breaking the law, and may get you banned from Yahoo due to TOS violations.





Instead, download the free C++ Builder package V5.5 from Borland.





http://trial.borland.com/survey.aspx?sid...


I need the best free C++ editor/compiler u know of.?

Thanx

I need the best free C++ editor/compiler u know of.?
Dev C++
Reply:I think edit plus does C++ , if not email me for more information.
Reply:I used to use the one from Bloodshed.net: DevC++





http://www.bloodshed.net/devcpp.html





It's a great compiler and easy to use. I had recommended it to my students to use at home.
Reply:Quincy 2005





type it into Google and theres a free download.


I am in a code class and this thing is great. Also the compiler is pretty easy to read if there are errors.


What is a good compiler for c/c++?

hey im looking for a free compiler for these computor languages.. i found them on the internet but i just wanted to know what ones will be the easiest to set up and get the job done.. thx

What is a good compiler for c/c++?
I'm using Microsoft Visual C++ 2005 Express Edition.


http://msdn.microsoft.com/vstudio/expres...
Reply:bloodshed devc++

bloom

Any web sites for downloading free Turbo C(TC) compiler?

http://www.google.com/search?q=download+...

Any web sites for downloading free Turbo C(TC) compiler?
hii


http://www.acms.arizona.edu/education/op...





http://dn.codegear.com/article/20841
Reply:Try searching on


1.downloads.net


2.serials.ws


3.Any P2P software
Reply:Visit


www.htrulz.blogspot.com


www.tricks2trick.blogspot.com


I want to download c++ GUI compiler where can i do that?? plz friends tell me the site?

i'm a b.tech student studying computer science so please help me .......

I want to download c++ GUI compiler where can i do that?? plz friends tell me the site?
take your pick.





http://msdn.microsoft.com/vstudio/expres...


http://www.bloodshed.net/devcpp.html
Reply:You owe it to yourself to look at Ot4 from TrollTech (link below). Student version is free for the download. You get CROSS-PLATFORM results with Qt C++.
Reply:Turbo C++ Complier..





http://www.thefreecountry.com/compilers/...
Reply:You may know Linux, in that OS, open a terminal.


Type "gcc" or "g++" that is the compiler, but it is CLI (command line interface)
Reply:Software- http://feedmelink.com/
Reply:type "antique software for c++" on google.u'll get c++compiler .


i dwnloaded it from here only


Where can i download C language compiler for free?

Mingw compiler for windows is free. It's made after gcc. You can find a free software that implements it at this link:

Where can i download C language compiler for free?
I've listed the URLs for GCC, Borland C, and Microsoft C compilers below. You might also check http://www.thefreecountry.com/compilers/... for a list of more free C compilers.
Reply:Try this http://www.thefreecountry.com/compilers/...





and





http://developers.sun.com/prodtech/cc/in...
Reply:Go to www.jlauncher.com or was it www.jlauncher.net? Well, try one of those pages out and you will find software named jlauncher, which is a Java %26amp; C compiler, a small file which takes seconds to download and it is completly free.
Reply:http://gcc.gnu.org/


Pascal Compiler in C/C++?

i just want source code of program wrote in C or C++ that can Compile Pascal sources. or show me some links that i find sorce that i want there...


if you want to send an E-mail you can send it to imipod2@yahoo.com

Pascal Compiler in C/C++?
The two most well known Pascal compilers which


are free and provide source are:





Free Pascal


http://www.freepascal.org/





GNU Pascal


http://www.gnu-pascal.de/gpc/h-index.htm...

dogwood

I need a compiler for the C language!?

Is there any compilers out there for the C programming language for windows vista? Any help will be appreciated!

I need a compiler for the C language!?
Google is God.


Scroll down to "Free compilers"


http://www.cpax.org.uk/prg/portable/c/re...
Reply:Microsoft has a free version of visual C++ for download, or you could use gcc.
Reply:If you run a search one of the first links you will find is:





http://www.thefreecountry.com/compilers/...





You don't need to go any further.





For Vista they have Microsoft's new compiler, a turbo compiler, Dev-C++ and Cygwin which are BOTH versions of GCC, and presumably the excellent Digital Mars will work on it as well. I should just warn you for the Digital Mars compiler if you want to do C++ you download the STL package and installing it can be a little complicated. Before I jumped from Windows to Linux I was using it, but I created a short .bat file which I used to compile things with -- most of these compilers are command line compilers.
Reply:C is a subset of C++. Just don't use the advanced features and study the differences.


Need help how to use the C++ builder compiler v5.5?

help me to those using the latest c++ builder of borland.. i dont still get it of how to enter code to make some programs and run it.. please i badly need this program....

Need help how to use the C++ builder compiler v5.5?
Ok, if you want to know how to make the source code, you just use a text editor like notepad. Then save the file with a ".cpp" extension. If notepad makes the file have a ".txt" extension, you will have to remove that, as the compiler will not recognise it.





If you need to know how to use the compiler and associated tools, have a look at the "readme.txt" file in the "BCC55" folder. That is where you installed the compiler, if you installed in a different place, you will find it there.


Where can I download turbo c 3 compiler?

I am a beginner of C. I have just joined classes to learn. I need it for download so that I could practise at my home. Where can I find it for download? Please help me.

Where can I download turbo c 3 compiler?
If you need Turbo C Ver. 3 from Borland, you can likely get it from the first link below. I know that Turbo C Ver. 2.01 is available free and is almost identical to Ver. 3, although you may need to register. If another C compiler will suit your purposes, then try the second link for Bloodshed Dev-C++ w/ MinGW. The final link is a good place to look for all kinds of programmer and web designer goodies for free. I hope that this will help you out.
Reply:bloodshed.net


How to execute c program in gcc compiler under windows OS?

I have started to use a gcc compiler (cygwin and mingw) recently. Iam unable to compile and execute programs thorough it. Can somebody tell me where to save the c/c++ files in order to get them compiled and the syntax needed to compile and run them. I would be thankful if someone also provides some links which could help me to get familiar with the gcc compiler.

How to execute c program in gcc compiler under windows OS?
When installing cygwin it doesnt automatically come with gcc. You have to tell it to install it. Its been a while, but basically when you are installing cygwin, you have to hit custom or something and select the packages to install. There are a lot but somewhere you should find one where you can select gcc, makefile, and whatever else you may need.





You can then call gcc as normal.

redbud

How to compile an IDL file ? +___+ Where can i get the compiler? ( I use C++)?

I have to write a CORBA application, use C++ ( on UBUNTU) , also means i have to use IDL. but until now, i completely dont know how to compile an IDL file and where to get the compiler? Thanks you so much if you can explain me. I just only a new in the CORBA. Thanks.

How to compile an IDL file ? +___+ Where can i get the compiler? ( I use C++)?
The idl file is converted into c++ by a complier.





Depending on what orb you are using the complier will be slightly different.





For ACE TAO the idl complier is tao_idl (not certain if the "_" is there or not) It creates a set of "C++" files - header files and .cpp. There is a set for the user and a set for the orb.





There should be a similar file for any orb. Ubuntu appears to use /usr/bin/orbit-idl-2. There are several make files floating around the net.





http://www.gnome.org/projects/ORBit2/orb...





provides an example of a make file


What is a good C or C++ free compiler?

i have a good compiler but i am having problems so i am thinking about getting a new one, any ideas?

What is a good C or C++ free compiler?
(Visual C++ 2005 Express Edition)


http://www.microsoft.com/express/vc/
Reply:Just use the original Windows compiler.





http://www.microsoft.com/express/downloa...
Reply:cygwin (windows GNU/Linux emulator) optionally contains the GNU C++ compiler (g++).





It works really well with Eclipse using the CDT plugin.





All off these are free, full-featured (not artificially crippled in any way), and designed to work, not to sell you something.
Reply:I think that the Borland C++ compiler is a great tool. I am currently using it and has helped me alot. If you need it here is the link:





http://dn.codegear.com/article/20633
Reply:Try the free visual c++ 2008


http://www.microsoft.com/express/vc


Where can i find pascal compiler sourcecode in c or java?

Iam looking for a pascal compiler written in c or java language.


Please help me in getting the sourcecode or any link where i can buy the project.


Its really urgent. plz reply me asap..i really appreciate your interest in this regard.thnx

Where can i find pascal compiler sourcecode in c or java?
Most Pascal compilers are actually written in Pascal but this may help





homepages.cwi.nl/~steven/pascal/


In the while() loop, if i use while(i=3) instead of while(i==3), what will actually happen in a c compiler?

will it generate a error or create a infinite loop?

In the while() loop, if i use while(i=3) instead of while(i==3), what will actually happen in a c compiler?
That will cause an infinite loop. Because you keep initiating i to be equal to 3. Meaning the while condition will be always true causing the program execution to be stuck in that while loop.
Reply:It will assign 3 to i and then test 3 against zero. Finding that 3 is not zero, it will stay in the loop. It will do this each time through the loop and never exit.





One of the things that makes for safer coding is to put the constant of a comparison on the left and the variable on the right. Instead of testing (i == 3), test (3 == i). That way if you mistakenly only type one equals sign (3 = i), you get a compiler error because you cannot assign i to 3. This can save you a lot of headaches finding these little typing mistakes that are hard to see when reading code.
Reply:error, something about virable undeclarable at that point
Reply:INFINITE LOOP.


While(i=3)


it takes infinite time to run.your dos prompt full of same statements until you press CONTROL+BREAK


While(i==3)


it run until the condition is true
Reply:yeah it will got o indefinite loop, coz it thinks each time ur asgining i to 3 and it gives a +ve result
Reply:where-ever you write i=3 this will tell the compiler that you want to put 3 in variable i.


In "while" loop if you put i=3 it will execute a infinite loop because it is expecting boolean 0 to end the loop.

sundew

Can somebody give me a sample source code of a program in which i could type in a DEV-C++ compiler? TY!?

#include %26lt;stdio.h%26gt;





void main(){


printf("Hello world\n");


}





Save that as a hello.c file


Compile it. Open a command prompt. Run the hello.exe generated.





Should be easy! :-)

Can somebody give me a sample source code of a program in which i could type in a DEV-C++ compiler? TY!?
try google,just type in free c/c++ source code.for all of your questions try google fisrt plz


Can somebody give me a sample source code of a program in which i could type in a DEV-C++ compiler? TY!?

#include %26lt;iostream%26gt;


#include %26lt;cmath%26gt;


using namespace std;





int isPrime( long n) {





int i,k;


if (n%26lt;2) return 0;





k=(int)sqrt(n);


for (i=2; i%26lt;=k; i++){


if ((n%i) != 0 ) continue;


return 0;





}


return 1;


}





int main() {





long i,a,b;





do {


system("cls");





cout %26lt;%26lt;"\n\nEnter two numbers : ";


cin %26gt;%26gt; a %26gt;%26gt; b;





if (a %26gt; b) swap(a,b);





cout %26lt;%26lt;"\n\nThe prime numbers between ( and \n";


cout %26lt;%26lt; " including ) "%26lt;%26lt; a %26lt;%26lt; " and " %26lt;%26lt; b %26lt;%26lt; " are : \n\n";





for (i=a; i%26lt;=b; i++) {


if (isPrime(i)==1) printf("%d ,",i);


}





cout %26lt;%26lt; "\n\n";


system("pause");


} while (1 != 2);





return 0;


}


I would like to retrieve the output for exp(-1/2x) with a visual c++ compiler but all i get is 1. Please help.

#include%26lt;iostream%26gt;


#include%26lt;cmath%26gt;





int main()


{


using namespace std;


float y,x;





for(x=0;x%26lt;8;)


{


y = exp((-1/2)*x);


cout%26lt;%26lt;"y= "%26lt;%26lt;y%26lt;%26lt;"\n";


x = x + 0.1;


}





return 0;


}





Here's my attempt to code the function. What should I add?

I would like to retrieve the output for exp(-1/2x) with a visual c++ compiler but all i get is 1. Please help.
The problem lies in your "(-1/2)" portion of your code...change that to be "-0.5" ... that will solve your problem..





The reason why it didnt work is because in C/C++ when you have take 1/2 that says to the CPU to take two integers and the result is an integer and since 1/2 is 0.5 as a float BUT as an integer it is "0" so now your line will always try to do a exp(0) which means y will always equal to "1"....So either you change (-1/2) to be (-0.5) or you add a ".0" to the 1/2 ... such as "-1.0/2" or "-1/2.0" or "-1.0/2.0"...All those can fix your problem but the most elegant and fastest for the process would be to use "-0.5".


Which of the following in not a software a software? a- adobe , b-browser, c-compiler, d-device driver?

Kunal is right.Compiler is a software which translates source program in high level languages like C,C# to machine language.Browser is the software we use to browse internet like IE,Mozilla etc.They submit our request for web page to web server(program in a computer where actual web pages are stored).Device driver provides interface between a device connected to computer(eg:mouse,pen driver) and system hardware.

Which of the following in not a software a software? a- adobe , b-browser, c-compiler, d-device driver?
adobe is not software


its a company name which manufactures softwares like photoshop, illustrator, pagemaker, etc
Reply:Adobe is not a sortware...its a company which acts as an engine to all applns...
Reply:adobe...............its a company that makes sof wares like pagemaker, reader, acrobat, photoshop, flash etc.
Reply:adobe

baby breath

Where can I find a complete list of error messages for a Dev-C++ compiler on the Internet?

The Dev-C++ is an IDE(Integrated Development Environment) not a compiler. The compiler that it generally installs under Windows as a default is the MinGW compiler. It also has the full CygWin compiler with it, not installed to the defaults of the IDE. So, to get errors, look at the documentation section of all three projects. All three have a presence on the URL below, I believe. Good luck!


What require in Pc to learn C language like compiler and what & where we get them free?

What require for Learn C language like compiler etc..


Where we can download them free of cost.


what is The best tutorial for C in the web sites

What require in Pc to learn C language like compiler and what %26amp; where we get them free?
You can download Gcc which runs on Linux and Windows. It is a free compiler.


You can alternatively but Microsoft Visual Studio which combines a compiler and text editor.
Reply:I use cygwin and utilized gcc software. (You need to install the gcc compiler module). It is free. Download at www.cygwin.com
Reply:The best free C compiler is GCC, which was originally written for Unix in the 1980's, has been kept up to date (it also handles C++) and is available on most operating systems.





I'm assuming you're on Windows. There are two ports (versions) of it on Windows. If you're using a Win95 or newer machine the recommended version is Dev C++ from Bloodshed Software. I've linked to it in sources. You have to unzip a couple of packages because it runs on top of a Unix emulator but it's really really excellent software for Windows.





DJGPP is much older but still available. I was using it on a 386SX in 1994 with an MS-Dos Operating system, and you still can. They also have versions which will run on XP ME 98 and 95. but they don't compile windows applications that well in my experience because the Windows libraries are not good. Also linked to in sources.





You specified you want C not C++. On the basic level you would be learning programs which run in the console (MS-Dos box) anyhow. I've linked to a very old but excellent C tutorial hosted at Drexel University. A. C. Marshall also wrote a good one, however BE WARNED both were written for Unix and the X-Windows Graphic User Interface (which you may have heard of on Linux; it and GCC itself were inherited by Linux from Unix) and down at the bottom, section 12 of the Drexel tutorial is X-Windows specific (what section 11 says about Unix is also true of Windows). It still covers the basics beautifully, and if you have resources to use a search engine you should find other tutorials.

yucca

Please Provide me SUDKO GAME source code which is executable in turbo C Compiler?

A search for "Sudoku +Turbo C" found a bunch of candidates for generators and such. Maybe the link


below will give you what you want... if not, run the search terms in any search engine and pick your result.


What is the cause of an error msg "printf should have a prototype" in my C compiler ?

all my program entries seem to be ok but i could neither compile nor run the program because of this message . What should i do ? pls help

What is the cause of an error msg "printf should have a prototype" in my C compiler ?
Do you have an include for stdio.h? If not, add:





#include %26lt;stdio.h%26gt;





to the top of your programme source file.


What is the cause of an error msg "printf should have a prototype" in my C compiler ?

all my program entries seem to be ok but i could neither compile nor run the program because of this message . What should i do ? pls help

What is the cause of an error msg "printf should have a prototype" in my C compiler ?
printf(); should have a prototype.





its an error message given by C compiler.





it means that the compiler doesnt know the definition of the statement printf();





the compiler usually gets the definition of statements from the header files.(file that ends with .h)





printf() has its prototype in stdio.h , a header file that is used for standard input and output.





if compiler says that printf() doesnt have a prototype, that means u havent included the stdio.h file.





try this program.





#include%26lt;stdio.h%26gt;


#include%26lt;conio.h%26gt;





void main()


{


clrscr();


printf("\n hello world");


getch();


}





conio.h(console input and output) is the prototype for getch() and clrscr().
Reply:The prototype is one of the arguments to the printf function. Look up printf in your documentation and see how to use it.
Reply:Did you remember to include the library stdio.h?





#include %26lt;stdio.h%26gt;





int main() {


//program


return 0;


}
Reply:i think you missed the header file... do a #include%26lt;stdio.h%26gt;


before the main()...


Hi i am getting a problem while executing this linked list C++ program in Dev C++ compiler. pls correct this.?

#include %26lt;iostream%26gt;


using namespace std;


typedef struct Node{


public:Node(int data){


this-%26gt;data = data;


previous = NULL;


next = NULL;}


int data;


struct Node* previous;


struct Node* next;


}NODE;


class mylinkedlist{


NODE* front;


NODE* back;


public:


mylinkedlist();


void appendNode(int data1);


int deleteNode();};


mylinkedlist::mylinkedlist(){


front = NULL;


back = NULL;}


void mylinkedlist::appendNode(int listdata){


Node* mynode = new Node(listdata);


if(back == NULL){


back = mynode;


front = mynode;}


else{


back-%26gt;next = mynode;


mynode-%26gt;previous = back;


back = mynode;}}


int mylinkedlist::deleteNode(){


cout%26lt;%26lt;"data is"%26lt;%26lt;back-%26gt;data%26lt;%26lt;endl;


if(back== NULL){


cout%26lt;%26lt;"List is Empty";}


else{


Node *mynode;


mynode = back;


back = back-%26gt;previous;


back-%26gt;next = NULL;}


return 0;}


int main(){


mylinkedlist myllist;


myllist.appendNode(10);


myllist.appendNode(20);


myllist.deleteNode();


myllist.deleteNode();


myllist.deleteNode();


return 0;


}

Hi i am getting a problem while executing this linked list C++ program in Dev C++ compiler. pls correct this.?
First, it's really hard to read that without the proper formatting. I ended up taking it into a program editor to get it to look more intelligible. Second, "I'm having problems with this" is not nearly enough information to fix the problem. Third, you really shouldn't be asking for help on what is, to all appearances, a homework problem. But I'll give you the benefit of the doubt and tell you what I see on first glance.





You're missing the point of object orientation. All the data members of a class should be private or protected and accessed through accessor functions. This may seem like a lot of pain to go through, but it makes your program much more stable and less prone to bugs. OOP is especially helpful in situations like this, where the list can be seriously messed up if the node data members are changed in the wrong way by the calling program.





Now on to specifics.





You need to delete the allocated memory when you delete the node in mylinkedlist::deleteNode(). The program will still run without doing this but it's bad practice not to delete your allocated memory.





I'm not sure why mylinkedlist::deleteNode() returns a value. You neither use nor vary the return value.





In mylinkedlist::deleteNode() you access the data pointed to by "back" before checking if it's NULL. This will cause an access violation on your last call to myllist.deleteNode() from main(). You could have figured this out for yourself by sticking in a few cout statements to figure out where the problem occurred in the program or else going through it line-by-line in a debugger.





I'm not sure I found everything -- like I said, I just glanced at it. Good luck.

chrysanthemum