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...