Sunday, August 2, 2009

How to make the visual 2005 C++ compiler background color change?? which is the black box after debugging.?

this is my assignment..and i desperately want to know that how could we do this??? your helps are appreciated!!! thx 1st

How to make the visual 2005 C++ compiler background color change?? which is the black box after debugging.?
That's not the compiler, it's the Windows console what you're seeing when you're executing your console application. The Console has a BackgroundColor property which can be set this way:


Console.BackgroundColor = ConsoleColor.Green;


How Do I Install Borland Turbo C compiler In Windows Vista?

who cares ?

lady palm

How to make the visual 2005 C++ compiler background color change?? which is the black box after debugging.?

right click?


How can i get an latest c++ compiler?

http://gcc.gnu.org

How can i get an latest c++ compiler?
go to microsoft and get visual c++ for free.
Reply:Go to yahoo and search it by this keywords: C++ compiler download free


I want to download the turbo c++ compiler can anyone give the the links for this?

The Last free version can be downloaded at:





http://community.borland.com/article/ima...





All the others seems to be commercial.





See the source for more information


Where can I find a good C++ compiler?

Do know that you can download visual c++.net express from Microsoft (full working version) for free until November. You could also try a site like download.com which may have several compilers with reviews. Then it is a matter of trying a few that interest you and work with your coding style.

Where can I find a good C++ compiler?
look for turbo c
Reply:DevC++ as someone already said. You can google it and download it for free.
Reply:I would recommend a supported IDE like Visual Studio 2005. This assumes that you are using the C++ to build windows code.
Reply:GNU or Mingw (for Windows).


You can get it with a complete devleopment environment with dev-c++
Reply:BORLAND C++ Builder.


This is their website:





http://www.borland.com/downloads/downloa...
Reply:borland.com, visual basic, from microsoft, and the good thing is you can start in a text file + import your code in

snow of june

Where can i find a 64 bit C, C++ compiler?

i have an acer ferrari 4000 laptop.... with an amd turion64 processor.. and windows xp x64 edition...

Where can i find a 64 bit C, C++ compiler?
The GCC GNU (Free) compiler list New Targets and Target Specific Improvements. The x86-64 medium model (that allows building applications whose data segment exceeds 4GB)


http://www.gnu.org/order/windows.html





Questionable about the 64bit naming convention.





If you are going for MS Windows hooks.


Probably Intel 9.1 (64bit)


http://www.intel.com/cd/software/product...





Hope this helps


How can i get an output like this in C compiler by not just usind printf():?

1


23


456


7890

How can i get an output like this in C compiler by not just usind printf():?
Is this what you're looking for?





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





int main()


{


puts( "1" );


puts( "23" );


puts( "456" );


puts( "7890" );


return 0;


}
Reply:#include%26lt;stdio.h%26gt;


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


void main()


{


int i,j,k=1;


clrscr();


for(j=1;j%26lt;=4;j++) //print exactly 4 rows


{


printf("\n"); //moves to next line


for(i=1;i%26lt;=j;i++) //print exactly the same times no.of rows


{


if(k%26lt;10)


{


printf("%d",k);


}


else


{


printf("%d",a%10) ; //if k %26gt;10 then print remainder of k/10


}


k=k+1;


}


}


}


How to Create a a menu driven c program that plays the game five-in-a-row?

it should compile and run under unix(linux) using standard c compiler like gcc

How to Create a a menu driven c program that plays the game five-in-a-row?
ask . com helps


What does the ^ mean in visual studio C++?

I'm new to all the VC++ things like the "^" symbol in 2005 express. Can someone give me the lay down on what it is. All the stuff thats not in a normal C++ compiler.

What does the ^ mean in visual studio C++?
Well assuming it means the same as in C and C++ ^ is XOR (exclusive OR)





If VC++ has a different meaning for ^ it's beyond me.
Reply:Power of...e.g. 2^3 = 2 X 2 X 2 = 8

sweet pea

I can't run applications Compiled in C++ in my windows XP machine?

I have downloaded the Borland 5.5 C++ compiler only (no IDE) and I have succsefully compiled and linked the program.





But when I try to run the executable from the DOS prompt, I get a "this is not a valid windows 32 application, access denied".

I can't run applications Compiled in C++ in my windows XP machine?
Run all updates to windows and install the IDE for Borland.


What is a really good C-compiler download other than bloodshed?

Bloodshed Dev-C++ is not a compiler. It is an IDE. Are you interested in another compiler or in another IDE?





Compilers:


gcc / MinGW (gcc on Windows) [this is what dev-C++ uses]


Microsoft Visual C++


Intel C++


Borland C++





gcc/MinGW is the only one that is fully free. Visual C++ has an express version that is free. Borland also has a free version, but you have to jump through some registration hoops. Intel is not free at all.





IDEs:


Dev-C++


Code::Blocks


wxDev-C++


Visual Studio





There's more IDEs of course. Visual Studio is not free. Dev-C++ is not being maintained, so I recommend you use wxDev-C++ instead. I personally prefer Code::Blocks unless I have access to Visual Studio.

What is a really good C-compiler download other than bloodshed?
Try the GNU package - http://gcc.gnu.org/
Reply:here's a big list.

bottle palm

Where can I get a C++ Compiler for DOS?

hmm..





if you need only a c++ complier


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


This is the command line version of the compiler in their latest C++ Builder 5 product. It does not include a visual IDE, a debugger, or their VCL components, but it is a fully functional Win32 C and C++ compiler.


You must register to download this compiler, but it is completely free





if you however want an IDE as well, check


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


The 2nd one works very well for me actually!

Where can I get a C++ Compiler for DOS?
Try DJGPP:


http://en.wikipedia.org/wiki/DJGPP





Or try Open Watcom:


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





Both run on DOS.
Reply:It's on a hard drive that hasn't worked in over 10+ years.
Reply:go to mexico that alot if not India
Reply:http://www.delorie.com/djgpp/





Its a great DOS c++ compiler and it is free and open source. There are lot sof free libraries for it too.
Reply:check out here you can find everything in c++





http://www.freebyte.com/programming/cpp/





for ms dos version of c++ i recommend borland c++


What is the best free C++ compiler for Windows XP?

.NET SDK 2.0 includes a very good C++ compiler for windows. It's integrated in Visual Studio 2005 Express editions. (2003 also).


A good alternative to it comes from the Linux side. Mingw with CodeBlocks is an excelent combination (Codeblocks is an IDE which can handle many C/C++ compilers).


http://www.mingw.org/


http://www.codeblocks.org/

What is the best free C++ compiler for Windows XP?
You can get Microsoft Visual C++ free from Microsoft but not Visual Studio. The compilers are in Microsoft SDK and DDK (maybe not all varieties). I got Microsoft Platform SDK for Windows Server 2003 SP1 for the 64 bit and 32 bit compilers and 64 bit assembler and DDK for 32 bit compiler and assembler. With no Visual Studio, the compilers/assemblers can be run via command line options.





Then I got Microsoft DirectX 9.0 SDK Update (June 2005) for DirectX 9 graphics.
Reply:Bloodshed Dev C++. Thats a very good free opensource compiler.Im an opensource fan.





http://www.bloodshed.net/devcpp.html
Reply:it is Microsoft Visual C++
Reply:Microsoft do a range of Visual Studio Express editions, for c++, c#, visual basic and web developer. These are free and very good tools. I use the c# one for quicky programs on my PC.





I do not know what the actual difference between the express editions and the full version is, but as far as I can see from having used both, much of the practical single user difference is only in the number of extra less used tools and controls.





Note that these also come with six free video tutorials, then you can go to the tutorial site and continue with further lessons. The tutorials are very good, sometimes maybe a bit fast paced for a new programmer, but because they are videos you can skip back and replay difficult areas.


Where do I find the C++ compiler in Microsoft Visual Basic??

Visual Basic and Visual C++ are 2 separate products. They are both included in Visual Studio 6.





There are free versions of both for the .net framework in Visual Studio 2005 Express Edition.


http://msdn2.microsoft.com/en-us/express...





Visual Studio 2008 Beta is also available for download.


http://msdn2.microsoft.com/en-us/express...

Where do I find the C++ compiler in Microsoft Visual Basic??
You can't, you need Microsoft Visual C++, which is included in the Microsoft Visual Studio package. You get J#, C#, C++, Basic and also web application programming options. If you are a hard core programmer I would recommend it. I got it and I am very happy with my options of programming in different languages for different programs.
Reply:hello





either microsoft or google for c++ compiler


Is there any version of c++ compiler in which there is no need of including header files in a program?

Header files are necessary to declare any classes or functions that you will be using in your program. Without them, you would have to write your own base code to handle simple things like reading a file from the hard drive. Any compiler would need the header files for the functionality you are using, or else they would not know what any of the function calls you use actually mean.





Kernel compilers do not require header files, but anyone who knows enough to be working with a kernel compiler would not be asking this question on Yahoo Answers.

Is there any version of c++ compiler in which there is no need of including header files in a program?
No. There is a good reason header files are needed.





Header files allow you to include only the code segments you need to make your program work, without introducing extra code that you do not need, thus bloating the compile.
Reply:yes. the GCC compilers all are able to do that with a couple of command line options. In fact, gcc is used to write operating systems like the Linux kernel, which cannot make use of header files because it is a kernel.
Reply:There isn't any need to include header files. Just manually declare and define all constants and inlines as needed. Of course, that would be a real pain, for which the solution would be... headers.

magnolia

Where can i get turbo c compiler?

Boreland no longer makes Turbo C.





You can try to find it on eBay.

Where can i get turbo c compiler?
try this link


http://bdn2.borland.com/article/21751
Reply:i have turbo c++ v3.0


if you want it i can upload it


contact me on silentsakky@gmail.com
Reply:A good substitute for turbo c is the gcc compiler (comes with cygwin)...


I have windos vista and looking for turbo c compiler that works in vista please help me out.?

I am not sure if Turbo C will work or not on Vista but here's the link:


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





This one will definitely work on Vista:


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








A C forum:


http://cboard.cprogramming.com/


Need help with compliling a C program?

Do you need to install a C compiler if you are using Linux?


How do you compile if you are using Windows instead?

Need help with compliling a C program?
I'm using Windows XP and compile C with visual studio!


Where can i download turbo C compiler for free?

this place,


http://www.pitt.edu/~stephenp/misc/downl...





or for sure, try searching from this link





http://www.google.co.th/search?hl=th%26amp;q=%...

Where can i download turbo C compiler for free?
here are links to Turbo C compiler
Reply:this work for you??





http://www.programmersheaven.com/downloa...
Reply:Honey forget about turbo-C





Try this free DEV C++ compiler. It is totally free and MUCH more advanced than Turbo C.





http://www.bloodshed.net/devcpp.html
Reply:I don't think you can get turbo C for free. You can get Gnu C or C++ compilers for free.





I guess you can, good deal, I'll have to bm that site.

forsythia

What are the different files generated when a 8051 c file is compiled and what is the use of that files?

hai,








i would like to know the different files generated by 8051 c compiler (ex: .c .exe,.lst,.map,.elf,.opt,.lnp and .sbr)

What are the different files generated when a 8051 c file is compiled and what is the use of that files?
Please try searching the web using yahoo or google.


Please help me in downloading C++ COMPILER FOR FREE?

I can e-mail it to you. i have latest.





But please rank my answer as best first.

Please help me in downloading C++ COMPILER FOR FREE?
Here is a site that lists several.





http://www.thefreecountry.com/compilers/...
Reply:gcc for linux/unix


Problem while trying to compile a C program in Linux?

I get the following error message: "stdlib.h :This file or directory does not exist"





How do I make that my C compiler finds stdlib.h





Pleasse give an extensive explanation, I'm new in Linux

Problem while trying to compile a C program in Linux?
Sounds like you have stdlib.h within quotes rather than within %26lt;%26gt; as in





#include %26lt;stdlib.h%26gt;
Reply:do


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


instead of


#include"stdio.h"


How can i download turbo c++ compiler??

http://cplus.about.com/od/learnc/ss/tcsh...

How can i download turbo c++ compiler??
if you go to http://www.turboexplorer.com/ you can get it from there free, but I use Dev-cpp And it works great you can get it at http://www.bloodshed.net/devcpp.html or if you want Micro$ofts free Visual C++ you can get it at http://msdn.microsoft.com/vstudio/expres...


and if you want to look at others you can see a list of free programming languages at http://www.thefreecountry.com

jasmine

What's the best free C++ compiler available for download?

free open source GCC

What's the best free C++ compiler available for download?
For Unix boxes:


gcc - http://gcc.gnu.org/releases.html
Reply:The only C++ compiler available that si worth anything is GCC





http://gcc.gnu.org/





However, if you are looking for an IDE, the only free C++ IDE for windows is called DevC++, developed by bloodshed software.





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





All the others that I have seen are very much proprietary even if they dont charge any money for them. Freeware is not free. But I use Kdevelop. It is a KDE app, so only available for GNU/Linux. But I have heard they are going to make a KDE for windows.
Reply:microsoft visual C++ express edition http://msdn.microsoft.com/vstudio/expres...
Reply:DEVCPP ??


Where do i found turbo c Compiler Free of cost?

UR COLLEGE LIBRARY MUST BE HAVING THE CD.

Where do i found turbo c Compiler Free of cost?
Hi friend,





Turbo C Compiler is not for free!


But if it is for you to learn then you can download


a bit older version which is free from





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





for learning purpose i think this is more than enough


and it is free!!





Ha-p Computing..
Reply:Free C, C++ Compilers and Interpreters





Turbo C++ Explorer New





Borland's TurboExplorer C++ Explorer Edition allows you to develop C++ applications for Windows using the Borland Turbo C++ compiler and IDE. The package boasts of integrated compilers, RAD visual designers, rich debugging features, Code Insight, templates, a history manager, a database explorer and connectivity, included Borland InterBase and MSDE, support for DCOM, ActiveX, .NET remoting, many pre-built components, etc. You have to register (free) to get the activation key.


Free Microsoft Visual C++ 2005 Express





Microsoft Visual C++ 2005 Express is currently available for download, free of charge, from Microsoft's site. It allows you to create programs for the .NET framework as well as native Win32 programs. It comes with an optimizing C++ compiler, linker, debugger, static libraries (including the Standard C++ Library and STL), the MSDN Express Library and Microsoft SQL Server 2005 Express Edition. If you wish to create native Win32 programs, you will need to download the Microsoft Windows Platform SDKseparately and install it. Like all the current versions of Microsoft software, it requires Windows 2000, XP, 2003, Vista (or their x64 versions). Note that unlike the commercial Visual Studio Professional 2005, it does not have 64-bit support, MFC, ATL, Win32 resource editor, macro assembler, source code control integration, etc.


Free Microsoft .NET Framework Software Development Kit (SDK) / Free Microsoft Visual C++ Compiler





The Microsoft Visual C/C++ command line compiler, along with C#, VB.NET and JScript.NET, is available from Microsoft for download for free. You will also need to download the Microsoft Windows Platform SDKwhich contains the Windows headers and libraries for the compilers. The command line compiler (at the time this was written/reviewed) does not have an optimizer (or at least, not the optimizer that ships with the Professional version).


Open Source Watcom / OpenWatcom C/C++ Compiler





The Watcom C/C++ compiler (now OpenWatcom C/C++ compiler) is now open source and free. This compiler, which generates code for Win32, Windows 3.1 (Win16), OS/2, Netware NLM, MSDOS (16 bit and 32 bit protected mode), etc, was a highly coveted compiler some years back (until Sybase terminated it). The compiler also includes the rather well-known STLport (a C++ Standard Template Library implementation).


Intel C++ Compiler for Linux Non-Commercial Version





The Intel C++ compiler has a non-commercial version for Linux which you may use to develop your programs for non-commercial purposes (read their licence for more information). The optimizing ANSI C/C++ compiler supports all Intel 32 bit processors and the 64 bit Itanium processor.


Apple's Macintosh Programmer's Workshop (C and C++ compilers)





Yep, you're right. This is Apple's own Macintosh Programmer's Workshop. The C/C++ compilers, debuggers, tools, etc, in this workshop are all downloadable from their web site, free! They're the same those you get from their Developer CD. Full documentation about the compilers as well as documentation about programming for the Macintosh in general can be found online. You get the SC/SCpp (68k), which are ANSI compliant C and C++ compilers that generates 680x0 code; as well as MrC/MrCpp which generates C/C++ code for the PowerPC. You also get two assemblers (one for the 68k and one for the PowerPC), the shell, linkers, a Make tool, resource manipulation and analysis tools, file comparison tools, editor, three debuggers, etc. If you want to be on the cutting edge, you can also download the absolutely latest compilers which are still under testing (but having the latest bug fixes and C++ support). CodeWarrior plugin compilers appear to be available from the site as well. (Note - this tool set is for Mac OS 7.X/8.X/9.X program development.)


Digital Mars C/C++ Compiler (Symantec C++ Replacement)





Digital Mars C/C++ is a drop-in replacement for the Symantec C++ compiler, with support for compiling programs for Win32, Windows 3.1, MSDOS, and 32-bit extended MSDOS. If the target machine does not have a floating point processor (pre-Pentium machines), you can link the floating point emulation into your program. The compiler supports the C++ definition found in The Annotated C++ Reference Manual (ARM) and the enhanced language features of AT%26amp;T version 3.0, including templates, nested classes, nested types, exception handling, and runtime type identification.


UPS Debugger (C Interpreter)





This is actually a graphical source level debugger for X Windows, but it contains a built in C interpreter which can handle single or multiple source files. You can use it to build a byte-code executable and execute the interpreter on that executable. If you need an interpreter to debug or prototype programs, or to just learn the language, check this out. It supports the following platforms: Solaris, SunOS, Linux, FreeBSD, BSD/OS, and possibly other Unices.


The BDS C Compiler





Remember the old (famous) BDS C compiler for 8080/Z80 CP/M systems? It is now in the public domain, complete with assembly language source code. The package is the retail version of the compiler, with a linker and user manual. Before you scoff at this, remember that it can be used to generate 8080/8085/Z80 code for embedded systems with a little bit of work (ie, write your own routines to replace any runtime library code that access the operating system functions).


Bloodshed Dev-C++ C++ Compiler





This is a Win32 integrated development environment that includes the egcs C++ compiler and GNU debugger from the Mingw32 environment together with an editor and other facilities to make program development using the Mingw32 gcc compiler easier on a Windows platform. It also includes an installer for your applications.


DeSmet C





DeSmet C will be familiar to those who programmed in C in the 1980s. It is an MSDOS C compiler. It has been released under the GNU GPL, and comes with manuals, an editor, and a third party optimizer.


Sun Studio Compilers and Tools





Sun Studio Compilers and Tools for Linux and Solaris OS on Sparc and x86/x64 platforms includes command line tools as well as a NetBeans-based IDE for developing, compiling and debugging C, C++ and Fortran programs. It also includes performance analysis tools. You have to join the Sun Developer Network (SDN) to get access to the free compilers. As far as I can tell, joining the SDN is free.


OnBoard Suite





The OnBoard Suite creates executables (or, if you wish, a Hackmaster hack) for the Palm PDA. It includes a C compiler, assembler, programmer's editor and a Palm-to-host porting tool. The Suite runs directly on PalmOS, on the Palm handheld.


Open64 Compiler Tools





Open64 comprises optimizing compilers for C, C++, and Fortran 90/95 for Intel Itanium systems running Linux. The compiler is the successor to the SGI Pro64 compiler suite, now released under the GNU GPL.


HP-GCC





HP-GCC comprises the GNU C compiler targeted at the ARM processor of ARM-based HP calculators (like the HP49g+), HP specific libraries, a tool (ELF2HP) that converts the gcc produced binary to the appropriate format for the HP calculator, and an emulator (ARM Toolbox/ARM Launcher) that lets you execute ARM programs on your computer. At present, Windows and Linux versions are available.


z88dk - The z88 Development Kit





z88dk is a z80 C cross compiler based on the Small C compiler, supporting many features of ANSI C. It comes with an assembler and linker as well as a standard C library. Supported host systems include Amiga, BeOS, HP-UX 9, Linux, BSD systems, MacOS X, Solaris, Win32, Win16 and MSDOS. The compiler generates code for the following target systems: Cambridge Computers z88, Sinclair ZX Spectrum, Sinclair ZX81, CP/M based machines, Amstrad NC100, VZ200/300, Sharp MZ series, TI calculators (TI82, TI83, TI83+, TI85, TI86), ABC80, Jupiter Ace, Xircom REX 6000, Sam Coupe, MSX1,Spectravideo, Mattel Aquarius, Peters Sprinter, and C128 (in z80 mode).


Cyclone C





Cyclone C is not strictly an ANSI C compiler but a compiler of a "safe dialect" of C. It enforces type safety, has a variety of checks to protect against buffer overflows, array-bound violations, etc. It currently works on Linux and Windows (the latter via Cygwin), and requires you to have the GNU compiler tools on your system (see elsewhere on this page).


TenDRA C/C++ Compiler





TenDRA is a free C/C++ compiler and source code checker (like lint) that runs on a variety of Unix systems like AIX, HP-UX, Linux, Irix, OSF1, SCO, Solaris, SunOS, Ultrix, and Unixware. You can use it to replace your system C compiler, or use it as a lint-like utility to check your source code for correctness and potential bugs. The compiler comes bundled with sid, an LL(1) parser generator.


Tiny C Compiler - Smallest Linux C Compiler





This small Linux C compiler generates optimized x86 native binaries. It purportedly compiles, assembles and links several times faster than GCC. The compiler is currently moving towards ISO C99 compliance. It also includes an optional bounds checker. It also handles C script files (just add the shebang line #!/usr/local/bin/tcc to the first line of your C source code file to have it executed directly. TCC is distributed under the GNU General Public License.


Portable Object Compiler





This is a set of Objective C class libraries and a compiler that translates your Objective C code to plain C code. It works on Windows, Linux, OS/2, Macintosh, etc.


Mingw32 C %26amp; C++ Compilers





This system comes with the GNU C/C++ compiler, which you can use to generate Win32 executables. It has its own %26lt;windows.h%26gt; which is in the public domain. Applications generated using this system are supposed to be faster than those generated by the Cygwin32 system (see elsewhere on this page), and they are free from the encumberances of the GNU license. Like other systems based on the GNU tools, Mingw32 comes with complete with various programming tools, such as a program maintainence program (ie, make), text processing tools (sed, grep), lexical analyser generator (flex), parser generator (bison), etc. It also comes with a resource compiler, allowing you to compile your Windows resources.


GNU C/C++ Compiler and EGCS





This is the GNU C compiler page, from which you can get links to binaries and source code for the GNU C Compiler. Note that the EGCS compiler is now the new GNU C compiler, and the sources for both compilers will eventually be merged. You can also use our links on this page for the most commonly requested binary versions (MSDOS and Win32).


Pelles C Compiler





This is another Windows-hosted C compiler that is based on LCC (see also LCC-Win32 elsewhere on this page). It contains a C compiler, linker, resource compiler, message compiler, a make utility, etc. It compiles code for both Windows and Pocket PC.


Compaq C Compiler





Linux/Alpha users can now download and use Compaq's optimising C compiler freely by simply filling a form and agreeing to their license agreement. The compiler may be used to generate any sort of program, commercial or otherwise. The compiler includes a math library and a debugger (ladebug) ported from True64 Unix. It comes with the usual man pages as well as a Language Reference Manual and a Programmer's Guide.


Ch Embeddable C/C++ Interpreter (Standard Edition)





Ch is a C/C++ interpreter that supports the ISO 1990 C Standard (C90), major features in C99 (complex numbers, variable length arrays or VLAs, type generic functions, long long data type, etc), classes in C++, and extensions to the C language like nested functions, string type, etc. It can be embedded in other applications and hardware and used as a scripting language. Your C/C++ code is interpreted directly with no compilation to intermediate code. Since it supports Linux, Windows, MacOS X, Solaris and HP-UX, it means that your code should be portable to any of those platforms once you write it for this compiler. The standard edition is free for personal, academic and commercial use. You need to register to download the package.


DJGPP C and C++ Compilers





This is a development system based on the well-known GNU C/C++ compiler. It generates 32 bit MSDOS executables that is Windows 95 long-filename-aware. It is a very complete system with IDEs, graphics libraries, lexical analyser generators (flex), parser generators (bison), text processing utilities (like grep, sed), a program maintainence utility (ie, make), a dos extender, and so on. The compiler, utilities and libraries come with source code.


Reads51 Small C Cross-Compiler





Version 2.0 of Reads51 comes with an assembler that runs under Windows 3.1 to generate 8051 code. It comes with an IDE, editor, debugger, and monitor. Version 4.10 includes a Small C compatible 8051 compiler, a relative assembler, a linking locator (loader), an editor, a chip simulator, an assembly language debugger and a monitor. This version runs under Windows 95, 98 and NT. With these tools, you can write, compile, assemble, debug, download and run application software (including embedded control software) in the MCS-51 language. It comes with an online help system. If you do not buy their board, you may only use the software for non-commercial home and educational purposes.


Cilk ANSI C Based Compiler





Cilk is an ANSI C-based language that can be used for multi-threaded parallel programming. It "is especially effective for exploiting dynamic, highly asynchronous parallelism in data-parallel or message-passing style". Their website mentions that Cilk has already been used to develop three world-class chess programs, StarTech, Socrates and Cilkchess.


ANYC C Compiler





AnyC is a retargetable C compiler released under the GNU GPL. It is intended for use with 8 bit microprocessors, particularly 8 bit RISC microcontrollers. The original target is the Microchip PIC 16C5X family of 8 bit RISC microcontrollers.


Sphinx C-- Compiler





This MSDOS compiler is a sort of hybrid C compiler and assembler that allows you to "create programs with the power and readability of C while retaining the efficiency of assembly language." It can produce MSDOS executables or .OBJ files which you can use in conjunction with other linkers to generate an executable. The above link leads to the source code and documentation for the compiler. If you want a precompiled binary, you can get it from the Unofficial Sphinx C-- Compiler site.


LSI C-86 C Compiler





The website for this compiler is written in Japanese which unfortunately is not displayed correctly in my browser (I don't have the necessary fonts), so I'm not able to comment for certain about this compiler. It looks like a cross-compiler that allows you to generate ROMable code. An older version (3.30c) of the compiler appears to be free. The free version runs on MSDOS only.


ACC C Compiler





This is an MSDOS compiler that handles a subset of the C language with some extensions (eg the #asm directive for inline assembler). Floating point is not supported. It generates protected mode 32 bit assembler code, which you will have to assemble and link using the supplied A86 assembler and linker. A copy of the DOS extender will also be embedded into your application.


CINT C and C++ Interpreter





This is a C/C++ interpreter that comes with source code. It can be compiled and used on a large variety of Unices, including HP-UX, Solaris, SunOS, AIX, Alpha/OSF, FreeBSD and Linux, as well as Windows NT. You can even issue system calls from the interpreter (such as Posix calls on Unix or Windows API calls from Windows). It accepts most of K%26amp;R and ANSI C and is close to the standard C++ (at the time of this writing). As with all interpreters, it may be useful in debugging programs or learning the language.


SDCC C Cross-compiler





This is a C cross-compiler that targets the Intel 8051, Maxim 80DS390 and the Zilog Z80 based MCUs. It can also be retargetted for other 8 bit MCUs or PICs. It comes with a retargetable assembler and linker, a source level debugger and a simulator, and it is capable of a variety of optimisations. Source code for the compiler is available under GPL. Host platforms supported include Linux, Windows, Mac OS X, Alpha, Sparc, etc.


CC386 C Compiler





This is a 32-bit MSDOS ANSI C compiler that comes with a runtime library, linker, rudimentary debugger, DOS extender and a make utility. Source code is also available.


CC65 C Cross-Compiler





A cross-compiler for the 6502 that is a derivative of the Small C compiler. It runs on Win32, DOS, Linux and OS/2. It generates binaries for the Commodore C64, C128, C16, C116, Plus/4, and the 600/700 family of compilers. You can also use an emulator (linked from their web page) to emulate many different CBM machines from Linux.


Cygwin Project (C %26amp; C++ Compilers)





This "project" includes a commercial quality compiler (GNU C/C++) that generates Win32 GUI and console applications. I have not used this port myself, but based on what I read, it appears that they have their own %26lt;windows.h%26gt; and so on. Source code for the compiler, libraries and tools are provided. Note that the default option in this package forces you to distribute your source code if you compile and link with their libraries. There is also a special option that you can invoke which will cause it to link with alternative libraries, allowing you to distribute your applications without sources. It appears that the free version has not been updated for some time now.


LCC-Win32 C Compiler





This is a C compiler that generates Win32 GUI and console applications. It comes with its own linker, IDE, debugger, resource editor and resource compiler. LCC-Win32 is based on the LCC compiler (see elsewhere on this page).


LCC - A Retargetable Compiler for ANSI C





LCC is a C compiler (source code only) that generates code for the Alpha, Sparc, MIPS R3000 and Intel x86. There is also a book A Retargetable C Compiler written by the authors of the compiler that explains the code of the C compiler. This compiler is the basis of at least 2 other Win32 C compilers (also listed on this page).


Pacific C Compiler





This is a MSDOS C compiler that comes with a development environment. You can distribute programs compiled with the compiler freely.


ATTOC C Compiler





A MSDOS based C compiler that generates assembly language files. You can use either MASM or TASM to assemble the generated file. I'm not sure if there are any libraries or headers included (you have to check it out yourself).


Leonardo IDE





Leonardo IDE is a Macintosh-based IDE, compiler and debugger for C programs. The Windows and Linux ports are said to be under development. It has a syntax highlighting editor, an ANSI C compiler, a compiler for the ALPHA visualization language, a graph editor, a reversible virtual CPU, etc. Note that the programs are not compiled to native code but to code to be executed for the virtual CPU. The virtual machine and debugger allows you to execute code forwards and backwards and supports multitasking. The IDE comes with animated algorithms, plus example source code for games like Tetris, Checkers, etc. The IDE is useful for checking and debugging your source code, search for memory leaks, etc. Update: this project has been discontinued.





Download


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





********





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





********





his page is divided into 4 sections (some may be added in future).





1°)Free compilers (with source code)





2°)Compiler construction toolkits





3°)Tutorials and articles





4°)Links to compiler-related sites





1°)Free compilers





Here is the free compilers list. If you want to add a new one to this list, click here.





Turbo Pascal and Turbo C: Borland has released for free version 1.0, 3.2 and 5.5 of its famous Turbo Pascal.





Dev-Pascal : Free IDE and compiler for Pascal (with Free Pascal).





Dev-C++ : Free IDE and compiler for the C and C++ languages. Delphi and C source code available.





SmallC : Small C compiler written by J. E. Hendrix. C source code included.





BCX : Very powerful and easy to use system which generates C code capable of compiling under Lcc-Win32 and MingW32 (or Dev-C++) without any modification. It also comes with a resource translator which can read MS resource's code and produce code in C (Win32).





CoPascal : Co-Pascal is an extension of the Pascal-S compiler developed by N. Wirth. Pascal source code included.





P32 : Pascal compiler. Currently in development but works great. Pascal source included.





PowerPascal : Power Pascal is a fully 32-bit, native Pascal compiler for OS/2 2.0 or better. Pascal source included.





Djgpp : THE free compiler for c, c++, forth, pascal and more including C sources.





TinyPascal : A small implementation of the Pascal language. Full Delphi sources included.





Free Pascal : 32-bit Pascal compiler for Dos, Linux, OS/2. Pascal source code included. Used in Dev-Pascal.





ScriptBasic : Free embeddable and extendable scripting basic interpreter with full C source code. Tested on Windows NT and on Linux.





LCC-Win32 : a free compiler system for Windows by Jacob Navia.





lcc : lcc is a retargetable compiler for ISO Standard C. It generates code for the ALPHA, SPARC, MIPS R3000, and Intel x86 and its successors.





Yabasic : Small basic interpreter (with source code for Visual C++ 6) for Windows and Linux





Pacific C for DOS : Freeware version for MSDOS of a professional C IDE/compiler shareware





TopLogo++ : This is an IDE/compiler tool for developers and scientists. The package includes full documentation, Compiler IDE, demos, help etc...





JavaTM 2 SDK : JavaTM Software Development Kits and Runtimes





XBasic : interactive program development environment, advanced 32-bit/64-bit BASIC, interactive graphical GuiDesigner, multi-platform portable source code, Windows95 - Windows98 - WindowsNT - Linux - UNIX





XSCompiler : This MSDOS compiler generates 32-bit protected mode programs from a language that is C compatible, but includes classes and multiple inheritance. It comes with the standard C library, graphics, sound, multitasking, compression, animation, GIF, PCX, FLI/FLC, and other libraries. The compiler itself is compiled using this language.





GNAT : GNAT is an Ada95 compiler with the source code available in Ada95.





Rapid-Q : Rapid-Q is a free IDE and BASIC op-code compiler system for Win32, Linux, Unix... It is very easy to use and to integrate with many other goodies like mySQL, cgi, DirectX, Direct3D, GTK ...





Mingw : A very good Win32 port of the GNU GCC compiler (used in Dev-C++)





Cygwin : Another free and good Win32 port of GCC and GNU Utils





GCC : THE one and only GCC compiler system. Runs on nearly any system.





Phoenix/Envelop : Rapid Development under Basic.





B++ : B++ is a BASIC compiler built on top of C++ - it converts BASIC code to C++, and then calls C++ compiler to produce EXE (or DLL). Source code is in Free Pascal.





GNU Ada : Free ADA compiler.





Dev86 / BCC : x86 C/Assembler development tools (C compiler, assembler, linker). Under the GPL. Linux and DOS binary distributions available.





http://www.digitalmars.com : FREE C/C++ Compiler for DOS, Win %26amp; NT by theauthor of Zortech C++ .





Virtual Pascal : A tool of choice for 32-bit cross-platform development using the Pascal language. It is compatibile with Borland Pascal and Delphi, including the Run-Time Library (RTL), an optimizing compiler, a powerful integrated debugger, and comprehensive online documentation.





PlugSys Xbase compiler : PlugSys has a free edition and a Professional edition on their web site. It is a character based compiler for the Xbase(dbase, clipper) language. There are both DOSWin95/98/NT and Linux version. Same code compiles on either system. Also has a server page tool (free and pay versions). The documentation that comes with the download is great. Free version only requires registration to download.





Context programming language : Simple programming language and compiler for MS-DOS with sources and sample programs on it's own input language by Andrei V. Khokhlov





Babya : B++ compiler for DOS with setup and Windows 9x support.





OpenWatcom : Open Watcom is a joint effort between SciTech Software, Sybase®, and a select team of developers, which will bring the Sybase Watcom C/C++ and Fortran compiler products to the Open Source community.





Self : A port of a compiler for the Self programming language to Linux. The system was originally developed at Stanford University and Sun, and it forms the technological base of the Java Hotspot compiler. A nice GUI is included.





SmallEiffel : The GNU compiler for the Eiffel language. Requires an ANSI C compiler. Supports AIX, Amiga, BeOS, BSD, Cygwin, MSDOS, FreeBSD, GNU/Hurd, GNU/Linux, HP-UX, IRIX, MacOS, NetBSD, NeXT, OS/2, OSF1, QNX, SCO, Solaris, OpenVMS, Windows 95/98/NT/2K and XENIX.





Inno Pascal : Inno Pascal is a simple Pascal compiler for Win32. It produces compact, native-code x86 executables without requiring any external assemblers or linkers. It was written entirely from scratch; it is not based on any other existing compilers. Full source code is included under the GPL license.





Harbour Project : Harbour is an Open Source Clipper Compatible Compiler. It includes OO extentions, and lots of useful adds. The Licence is GNU+Harbour Exception, what means that the licence does not infects the programs you produce with the compiler.











2°)Compilers construction toolkits





Here is the compilers construction toolkit list. If you want to add a new one to this list, click here.





Bison and Flex : Yacc and Lex clones. Creates parsers and scanners for compilers.


TPYacc and TPLex : Port of the Yacc and Lex tools to Turbo Pascal. This tools creates parsers and lexical scanners for compilers.


Coco/R : Coco/R combines the functionality of the well-known UNIX tools lex and yacc, to form an extremely easy to use


compiler generator that generates recursive descent parsers. Available versions ( Oberon, Modula-2, Pascal, Delphi, C and Java) for more info see http://cs.ru.ac.za/homes/cspt/cocor.htm


antlr : another tool for language recognition Tool written in Java for generating recognizers in Java or C++. No money required for use, but download requires online registration for authors tracking purposes. Runs with SUN Java SDK.


Delphi Compiler Generator : Runs on Win32 only, written in Delphi, source code included. Free (as in "free beer", not "free speech") for non commercial use


GENTLE Compiler Construction System : This compiler construction tool purports to provide a uniform framework for language recognition, definition of abstract syntax trees, construction of tree walkers based on pattern recognition, smart traversal, simple unparsing for source to source translation and optimal code selection for microprocessors. Note however that if you use it to create an application, the licensing terms require that your applications be licensed under the GNU GPL.


Jacc : Jacc is a general-purpose parser generator that given a LALR(1) context-free grammar generates the source(s) of a C++ class that implements a parser for the language defined by the grammar. Jacc has a robust and powerful semantic value type system that allows the user to benefit by the OO language environment. Another innovative feature is its customizable code generating back end - the Jamp macro processor which generates the final sources based on a template file and attributes defined in the jacc grammar file. This way the user has better control to the style and structure of the generated code.





3°)Tutorials and articles





Here is the tutorials and articles about compiler writing. If you want to add a new one to this list, click here.





Let's build a compiler : A very good tutorial on writing a simple compiler in 16 articles. By Jack W. Crenshaw.


Parsing techniques : Free book to download in postscript or pdf about parsing techniques.





4°)Links to compilers related sites





Compilers.net : Directory and search machine on compilers and programming languages


Free compilers list : Lots of links about compilers and construction tools. One of the best !


The comp.compilers archive : Archive of the comp.compilers newsgroup.


http://www.dunfield.com/downloads.htm : "C" compiler and related files


Free BASIC translators : Free BASIC Translators Home Page


The Free Country - Developer City : Free programming resources including compilers.


Free developer resources : List of free developer resources like: compilers, setup programs, patch makers, and more.


DevLibrary : Huge programming web site with hundreds of tutorials and files on several languages.


http://cspt1.cs.ru.ac.za/compilers/ : An introduction in C++ to Compilers and Compiler Generators.


http://www.dreamwater.org/jamesfox/fciwi... : An index to many free compilers and interpreters for Windows.


http://www.scriptol.org : List of programming languages and resources: free compilers, IDEs, etc....





http://www.bloodshed.net/compilers/index...
Reply:http://www.turboexplorer.com


How to generate fake windows errors using a c++ compiler ?

I have an .exe program that generates fake windows errors.


Since is not not possible to view the source code i'd like to create my own .exe in Visual Basic.


The problem is that i don't know which instructions to use.


Have any ideea ? :d 10x

How to generate fake windows errors using a c++ compiler ?
Good question dear after making the aapication in c++ or another language then make the exe file of this application via visual basic it can simply finish by vb. if you having the problem so just send a query via contact section of given url below .../


http://www.offshoredotnetdevelopment.com


Take a look at my C++ program and tell my why it doesnt work. whats wrong with my program?

This program should count the numbers from 1 to the num(input number), but it doesnt work properly. I use Dev-C++ compiler.





Here is my program:





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


#include %26lt;iostream%26gt;





using namespace std;


int main()


{


int i,num,sum;


i=0;


cout%26lt;%26lt;"Please enter a number : \n";


cin%26gt;%26gt;num;


cin.get();


for (int num,sum,i; i%26lt;num;)


{


sum=sum+i;


}


cout%26lt;%26lt;sum;


system("pause");


return sum;


}

Take a look at my C++ program and tell my why it doesnt work. whats wrong with my program?
Your problem is in your for loop.





for (int num,sum,i; i%26lt;num;)





In this statement, you are creating a variable that is called num that only exists in your for loop block. You do not need the variable num declared in your for loop.





What is happening is that you read input from the user, and store it in a variable called num. Later on however you create a new variable called num in the new context (your for loop) and this new value of num has a default value of 0. As soon as you create it in the for loop, you no longer have access to the num value that you read data into.





Change it to:


for (int sum,i; i%26lt;num;)
Reply:when using namespace std:


#include %26lt;cstdio%26gt;





int num, sum = 0;


no "i" since you will be redeclaring it inside the loop


remove cin.get();


remove i = 0;


for (int i = 1; i %26lt; num; i++) sum += i;
Reply:This statement:





for (int num,sum,i ... )





re-declares those variables and they are visible only in your for loop. They are different variables than those in your main function. This is called variable shadowing. You can remove that first part of the for loop statement altogether.
Reply:try:





cin%26lt;%26lt;"Please enter a number : \n";


cout%26gt;%26gt;num;


cout.get();


for (int num,sum,i; i%26lt;num;)


{


sum=sum+i;


}


cin%26lt;%26lt;sum;

crab apple

Where can I find a C++ compiler for my cell phone?

it's K750 SonyEricson

Where can I find a C++ compiler for my cell phone?
search here:http://rds.yahoo.com/_ylt=A0geu7C50BFH6t...


Does anyone know a good C# compiler for windows xp?

To compile C# code the only thing you really need is the .net framework sdk. It's available for download directly from Microsoft.com.





This will allow you to compile C# files using the commandline...which can be cumbersome.





If what you really mean is an IDE...or "Integrated Development Environment" try checking into C# Express Edition. This is a scaled down, easy to use version of Visual Studio (the traditional IDE that Microsoft sells) but C# Express is available for free.





If you are looking to build C# console applications or Window Forms consider SharpDevelop. This is an excellent open source IDE that is also free and fast. I've used this on a number of occasions for Window Forms development and it works absolutely great.





Good luck!





DevC++ is not a C# compiler but a C++ compiler...major difference.

Does anyone know a good C# compiler for windows xp?
DevC++
Reply:The Microsoft one is good:


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


For anyone with the turbo C compiler?

can you send me the graphics.h header file.

For anyone with the turbo C compiler?
Have you tried the TurboC home page?





http://www.sandroid.org/TurboC/





You should be able to download and unzip/untar to get the header file you need. I don't use it, so I can't send it to you :(


Where can i find the c compiler in vista os?

Whilst there is no built-in C compiler (and never will be) you can download and install the .Net SDK from Microsofts website which will provide you with the ability to compile for .Net (C++, C#, VB, ASP) architecture.

Where can i find the c compiler in vista os?
You won't find any c compilers for vista yet simply because none have been released yet. Wait until Vista will be oficially released, that is at the begining of next year.

strawberry

Where can I download a C compiler that is beginner-friendly?

www.bloodshed.net

Where can I download a C compiler that is beginner-friendly?
you can get it from here


What is the Latest version of C Language and C Compiler and the sites belonging to C?

C is not a proprietary language, but an open standard that has ANSI Standards associated with it. That is also the reason that there is no one C site. There are, however, thousands. And hundreds of compilers, ranging in price from free for a download to thousands of dollars. I've included a good site to find a decent free compiler for C and C++ (you'll want to explore that as well) and some tutorials too. Good luck. Pivy.


How to make a website with a built in c compiler in it?

how can i upload the compiler,and how would it work

How to make a website with a built in c compiler in it?
You can't make a website with a built-in C compiler, if you could it would be too much of a security risk. The main obstacle I see is the ability to write and or execute an executable from a web page.


Problem w/ BGI in C programs?

my program works with the C compiler but doesnt work after it is compiled.


if you run it w/ command prompt, it says "BGI Error: Graphics not initialized (use initgraph)"

Problem w/ BGI in C programs?
You need to call initgraph() as the first BGI function. You also need to link to your program graphics library and install some BGI driver from your code or convert BGI driver(s) to .obj file(s) for further linkage to your program.


Read TC++ help: it contains code examples.
Reply:Have you tried initializing the graphics using initgraph()? A compiler can only detect syntactical errors such as misusing variables or not provide the correct arguments for a function. It has no way of determining if you are logically doing something in the wrong order. This is why humans are still the best programmers.

kudzu

Where can I download c-- comiler?

c-- compiler used for interliig programming in operating system(in BACI)

Where can I download c-- comiler?
try http://gcc.gnu.org
Reply:u can try





www.acms.arizona.edu/education/ opti_583x/sample_code/downloadTC.html - 4k
Reply:download c compiler for these links





enjoy------


What is the best C++ compiler for windows? Why?

Try out visual c++ 6.0





It has a cleaner source than the newer ones so expect it to run smooth on any pc.

What is the best C++ compiler for windows? Why?
I've used VC++ 6.0 and the modern 8.0 and both are pretty much the same.





8.0 is free however, and also comes with the most up-to-date libraries available.





If you are used to using 6.0, 8.0 won't take any time to learn.
Reply:Just going to second the first vote: MSVC++ 6.0 !


Hi guys! main turbo c++ compiler download karna chahta hu for free. PLLLLLLLLLLLLLLLZ HELP.?

Stick with Borland

Hi guys! main turbo c++ compiler download karna chahta hu for free. PLLLLLLLLLLLLLLLZ HELP.?
download it from download.com


Is there a free c++ compiler for vista??

use visual studio 2005 express c++





http://msdn2.microsoft.com/en-us/express...

Is there a free c++ compiler for vista??
I've heard varying comments on whether or not Dev-C++ will work in Vista. This could be because of several factors, but my guess is that it does with the MinGW compiler (standard with the install). You may also have issues to deal with as far as permissions and the directory structure of the install. You can try and lose nothing but some time, after all, it is free. Below is a link to a site that has a list of free compilers with download links. One of them should work. I hope this helps you out. Pivy.

garland flower

Need help with dev c++ compiler error, attempting to use directx?

I am having problems compiling this program. It is probably too long to be posting here, although it's really not long at all. It is the program for the tutorial located here http://msdn2.microsoft.com/en-us/library...





When I try to compile, it says 31 errors, but most if not all appear to be warnings (idk if warnings prevent compilation). They are:





'pragma once' is obselete in strsafe.h





'com_interface' only supported with


-fvtable-thunks in unknwn.h





and the rest say (theres a lot of em):


'com_interface' attribute directive ignored 'com_interface' only supported with -fvtable-thunks





Thanks for your time. I really do appreciate being able to ask questions here cuz i get lost a lot.

Need help with dev c++ compiler error, attempting to use directx?
Just from first glance, it seems like you have a header declaration problem. Are you sure your INCLUDE path is pointing the the correct version of the headers you need?





Most warnings should not prevent a compile, but they often indicate problems that will cause runtime errors, so they really should be fixed.


Could I download the Turbo C/C++ Compiler Free from internet.if yes from where and How.plz reply soon n detai?

hey u can download C-Free Compiler from


www. download.com





You can do both C %26amp; C++.


It has good %26amp; easy to use graphical user interface.





Here is the download link:


http://www.download.com/3120-20_4-0.html...

Could I download the Turbo C/C++ Compiler Free from internet.if yes from where and How.plz reply soon n detai?
yes u can from download .com you get many software 4 free...........
Reply:I didn't know whether it can be downloaded from net, but i have the software. if u like i can send it u. i need ur mail id.





ramajeyam@hotmail.com
Reply:tell Me your Email ID i will send U,


other wise


mail me ur information on razi_software@rediff.com





lik email Id if u lik





ok


best of luck
Reply:ya , U can download it freely from the net. U can search for "TurboC download" on google for it.





or Visit this site


http://www.programmersheaven.com/downloa...
Reply:ok


Where can i download Turbo C/C++ compiler for free?

Windows Version

Where can i download Turbo C/C++ compiler for free?
From here:


http://www.codegear.com/Default.aspx?tab...





Thanks,


Gabriel Topala


http://www.gtopala.com
Reply:This is better





www.bloodshed.net


Is there a good c++ compiler for Window ME?

Or will any of them do?





I wanted to download Bloodshed Dev, but they didnt have one listed for Window ME.

Is there a good c++ compiler for Window ME?
Dev-C++ uses MingW for a compiler. MingW works on ME as well. I'm not certain if Visual C++ Express 2005 works on ME. It should.





Seriously, upgrade from ME to XP or 2000 at least (or Vista for the latest OS). Aside from ME being a terrible OS, it is a bit limiting from a programmer's point of view. Many tools, Unicode libraries, etc. won't work on ME.

blazing star

How i dowmload turbo c++ compiler in my pc from internet????????

Go to google


type in:


"freeware compiler c++"


Then sort through the list to find a good one.





There are many good freeware programs out there.

How i dowmload turbo c++ compiler in my pc from internet????????
Turbo C++ is a Borland product which is protected by copyright law. You must purchase it if you wish to use it.





Why Turbo C++? It's obsolete. Use a modern compiler like Microsoft Visual C++, Metrowerks Codewarrior, etc.





There are also free ones if you google for them.


Can anyone help me with a C program?

so what i have to do is make a pyramid of asteriks like this:





*


***


*****


*******


in c programming! Any help would be greatly appreciated :D





ps. does anyone know where i can download a C compiler?

Can anyone help me with a C program?
When you count the number of asterisk you will notice it


as increasing per line








* %26lt;- 1


** %26lt;- 2


*** %26lt;- 3


**** %26lt;- 4


***** %26lt;- 5





which mean you wouuld print


on the 1st row - 1 asterisk


on the 2nd row - 2 asterisk


on the 3rd row - 3 asterisk


on the 4th row - 4 asterisk


on the 5th row - 5 asterisk





This translate that you will need a nested for loop


Outer loop will count from 1 to 5


Inner loop will count from 1 to current row count





main () {


int row,asterik;





for (int row = 1; row %26lt;= 5; row++) {


for (asterisk = 1; asterisk %26lt;= row; asterisk++) {


printf("*");


}


printf("\n");


}


}


}











playing with the terminating condition of the inner loop


will display a different shape, try this instead of


terminating at asterisk %26lt;= row


terminate at asterisk %26lt;= 6 - row





main () {


int row,asterik;





for (int row = 1; row %26lt;= 5; row++) {


for (asterisk = 1; asterisk %26lt;= 6 - row; asterisk++) {


printf("*");


}


printf("\n");


}


}


}
Reply:printf(" * \n");


printf(" ** \n");


etc etc
Reply:The printf function should work for you.





printf("*\n"); is an example. Learn how to do it now, it only gets harder as you get further.





Did your book come with one? They should have some free ones out there.
Reply:an easy and scalable way to do this is to use a for loop





would be something like this:





int rows = 5;


for(int x = rows; x%26gt;0; x--){


for(int i=-1; i%26lt;rows-x; i++){


System.out.print("*");


}


System.out.print("\n");


}


}


}





which produces:


*


**


***


****


*****





this example is in java not c but you can see the basic syntax and convert to c
Reply:#include%26lt;stdio.h%26gt;





int main(void)


{


int x = 0;


int y = 0;





for (int x = 1; x %26lt;= 5; x++)


{


for (int y = 1; y != x; y++)


fprintf(stdout, "*");


}


return 0;


}





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


Where Can I get C++ Compiler?

Personally, I use DEV-C++ because its free and good enough for me :)


Download it here:


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

Where Can I get C++ Compiler?
The GNU Compiler Collection provides free compiters for C, C++, and a lot of other languages...


It is one of the best compilers available.
Reply:Any software store - Best Buy, Barnes and Nobel had them too.


Friday, July 31, 2009

How do I make graphics in C++?

Hi ...


I just started learning C++ today, so I'm a complete n00b , but I got up to making while, do while, for loops and input/output statements/ variables/data classes / break statements








My question is I don't understand how you have graphics/games ...it looks like it's all text based ... I know this sounds retarded because I don't know anything yet, but


can somebody tell me how I could make a very basic graphic game or something





and I also wanted to make a chat room bot -





I know there must be some kind of link between the internet and c++ compiler, but where would I have to search to get this information / where should I start looking








thanks.

How do I make graphics in C++?
Your a long ways away from making a game in C++. If your using an SDK like VS2005 then you can easily make pre-fabbed forms using the form wizards. Otherwise you have to construct what you want from basically the ground up. If you want a window you have to create a window giving it the styles and depth that you want. That's just your main window. You then need to do the same for every button, edit control, and everything else that you want inside of the parrent control. If you just want to make graphics maybee C++ isn't what you are looking for. Although you could take a deeper look into Direct X and some game design books.
Reply:OpenGL for 3D junk.


For basic 2D use Qt, WxWindows etc.

imperial

Looking for a free windows C C++ compiler with IDE that supports DBT_DEVICEQUERYREMOVE?

I'm currently using lcc-win32, but it doesn't seem to support the ability to allow a device to be ejected such as an ipod. more details on DBT_DEVICEQUERYREMOVE here


http://msdn.microsoft.com/library/defaul...





thanks jc

Looking for a free windows C C++ compiler with IDE that supports DBT_DEVICEQUERYREMOVE?
You can't beat Visual Studio for an IDE and the Express version is free.
Reply:Visual C++ Express is just AWSOME. You may download it and register for FREE for a limited time, and the license DOES allow for creating commercial applications, etc.


Check out you don't actually have to use any of the .NET features, and use it just as a great compiler/IDE.


Those who use c++, from where can I download freely c++ tutorials and also a good c++ compiler?

This site is a great start with lots of support:


http://www.cplusplus.com/


And this is the best free compiler for starters:


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


Best luck!

Those who use c++, from where can I download freely c++ tutorials and also a good c++ compiler?
vbobchoinfdhfd


I need a free C++ compiler which isn't huge?

I need to download it using a dial-up connection.

I need a free C++ compiler which isn't huge?
GCC





depending on what you mean by 'huge'
Reply:borland c++ 5.5 is avilable for download for free
Reply:google search for delphi c++ n c if it works ...dont know if its free tho...(plz help me bump my points up)
Reply:I have used visual studio for years. It works good. Try the free version, is just as good.





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





I guess is pretty big. If it doesnt work, try this one





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


Where can i download c compiler for free?

can any1 send me a link


some where u can easily download it

Where can i download c compiler for free?
www.sourceforge.net
Reply:hi please check this out :





http://www.thefreecountry.com/compilers/...
Reply:They are ten a penny, try any of the following places:


...bleepingcomputer.com


...codeitbetter.com


...sourceforge.com


or simply Google 'free C compilers'





So what you waitin' for, download one and get working on a Vista replacement ;-)
Reply:the best site is


gcc.gnu.org

elephant ear

Where can i download C compiler for mac?

Apple developer forums


http://www.apple.com/downloads/macosx/de...


What is GCC ( GNU C++ Compiler ) ? what does it do ?

I need full explanation of GNU .. i mean what it is acyually for ..

What is GCC ( GNU C++ Compiler ) ? what does it do ?
yes, gcc works on windoze. You can even cross-compile linux programs using gcc on windoze (i.e., run a gcc on windoze on a program source to generate a linux (or any other supported architecture for that matter) executable). So, yes, you can do all the same stuff with it you can on a normal OS.


Also, gcc is not just a "C/C++" compiler. The abbreviation "gcc" stands for "GNU compiler collection". It compiles C, C++, Fortran, Java, Ada, Objective-C, and some other languages.


Finally, linux and BSD aren't really "GNU operating systems", although, a large portion of their software (such as most shell file manipulation utilities and programming tools - awk,make,tar,gzip,grep,gdb etc) has indeed been developed by GNU project, but kernels (that actually define the "OS" for all practical purposes - that's what essetially makes, say, linux different from BSD, while both are running gnu software on top of their respective kernels. MAC OS btw, is a BSD too)are independent developments.


The X servers, used by various *nix flavours are also created by an project, separate from GNU, called "X concortium"
Reply:It all started in 1983, when the ideea of creating a Unix-like operating system came to life. GNU comes from "GNU's not UNIX".


All software that have been developed under GNU project were absolutely free, and this included not only entire operating systems (like Linux, BSD, ReactOS and so on) but other applications as well (X server, system kernels, boot managers, office applications...)


GCC is GNU C/C++ compiler, so a compiler for C language that will run on GNU compatible operating systems. Not only that it's absolutely free to use and modify, but it's also one of the best C compilers out there.


As I already said it works only on Linux, BSD and other compatible OS, but it was also ported to windows as well (of course it had to be adapted to windows structure so doesn't mean that everything you can do with gcc on Linux ofr example you can do in windows and vice vers).


For a list of compilers adapted after gcc look here:
Reply:You are not going to get it here for 2 points. Find google.





A compiler is a special program which takes a program which someone has written and converts it into a final executable program. All executable programs of any size are compiled, whether in Windows or Unix or Linux.


Change Icon Of Exe in Visual C Program.?

I am programming with Visua C++ compiler. But I am strictly writing a C Program. I want to change the icon of generated exe file. How do I do that?





If you answer is "right click on exe and in properties tab change icon.. please don't answer".. that is lame, not protable and not what I am looking for.





Thanks in advance.

Change Icon Of Exe in Visual C Program.?
From the IDE you should be able to edit or create a resources (.rc) file. This file controls what icons are available and used with Win32 API and MFC applications. If you are writing a C program in "DOS" mode, no resource file is used and so you have no direct icon control other than the lame answer you complained about. Please note, *IF* you aren't using Win32 API(available in C) or the MFC(not available in C!), then you *CAN'T* use a resource file and control the icon without setting it manually or through a program installation you've written for your program.


Sorry, if your program runs in a DOS box, you just can't do certain things that work with the GUI. That's progress!


What is the best C++ compiler?

dev c++ free


or


microsoft visual c++ 2005 express also free





how ever since the microsoft 1 relys so heavly on the .net framwork i perfer dev c++





its also i belive a lot easier to work with and works best since if your like me i never belive in starting a visual 32bit program like that start a console 1 and use window.h to write ur own 32bit window rather gettin ide to do it





with linux kde


use kde studio works best gnome iv never used c++ on it so ur on ur own there





are you trained in c++ if not have a few of these links to help u





http://www.cplusplus.com/doc/tutorial/





also check this i found it to be intreasting


http://www.uniqueness-template.com/devcp...





but i wouldnt sujest it as a first language

What is the best C++ compiler?
OK first question is what operating system are you using?


Not everybody still uses Windows.





If you are on Windows then I would have to say that Visual Studio is the best to work within.





If you are on Linux then there are a huge range of choices - all you need to do is download them and try them out. It's not like Windows where you need to pay for things.





And as for your question , do you mean the best as in producing optimised code , best to work within , best as in easiest to work with?

lady palm

Is there a site which allows me to run c++ programs on web?

I dont have permission to install c++ compiler on my office computer. But in free time I want to practice c++ programs. Is there a site which allows me to run c++ programs on some web server free of cost?

Is there a site which allows me to run c++ programs on web?
Use netmeeting to get to your computer


Go to Start%26gt; Run%26gt; conf And cofigure it right then Go to your other Comp, Then do that on there And type in your IP Address
Reply:i dont know about this but i give you a wab site link so please see this


http://www.joelonsoftware.com/





http://freshmeat.net/articles/view/138/
Reply:You could look for an independent ISP or hosting service that provides Windows Virtual Hosts, pay for a plan, and place your stuff there, using Remote Desktop to access the system.
Reply:why don't you invest in some remote computer software to access your own computer at home from the office. that way you're not running it on their computer but your computer. the other option is to run a live CD which doesn't write anything to their computer (no installing of anything) and you can access anything you place on the CD or internet. for further information see remote desktop computing.


Are there any free c++ compiler programs?

It depends on your platform, however usually there is a GCC/G++ implementation for most.





Linux: gcc/g++ usually come pre-installed





Dos: http://www.delorie.com/djgpp/





Windows: If you download the Cygwin distribution, it will include gcc/g++ you can use to compile.





http://www.cygwin.com/

Are there any free c++ compiler programs?
http://www.delorie.com/djgpp/
Reply:Bloodshed software's dev-C++.
Reply:Yes, Microsoft has a free edition of Visual Studio (Visual Studio Express) and has a C++ edition.





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





It includes both an IDE (Integrated development Environment) and the complier. It's a very large download though. If you are on dial-up you may want to see if you can download it from a friend or a library.


Can I download the Turbo C/C++ Compiler Free from internet.if yes from where and How.plz reply soon n detail?

You can download some or Borland's Turbo C and C++ compilers for free because they are creating a museum site for some of the older versions and releasing the compilers for free as a result.





This link has these downloads and heaps of other compilers you can download for free:





http://cc.uoregon.edu/cnews/spring2003/f...

Can I download the Turbo C/C++ Compiler Free from internet.if yes from where and How.plz reply soon n detail?
http://www.vetusware.com/download/Borlan...


What is the best C++ compiler for Ubuntu?

try


Dev C++


www.bloodshed.net

What is the best C++ compiler for Ubuntu?
I think the command is:-


gcc %26lt;filename%26gt; %26lt;options%26gt;





try looking at the man pages for it for the full usage its very robust





/home/$man gcc
Reply:the GNU c++ compiler, g++, is the standard compiler for *nix.





I suppose other companies market their own compilers, but for general use why not go with what's free (and probably already installed on your machine).

snow of june

Which is the best c compiler?

turbo

Which is the best c compiler?
I would say GCC the linux compiler
Reply:i liked microsoft's compiler
Reply:There is nothing which is exactly "BEST"...


The "Best" solution depends upon your requirement.





If you are learning c on windows platform, then turboc or borland compiler will serve that purpose.





If you want real life software development then Microsoft's VC++ compiler can be used. It is used for both c and c++.





If you are using linux or unix platform, then gcc compiler will help you..





I mean everything depends on your requirements MAN !!


Which is the best c++ compiler?

say if you are a professional in programming and know how to deal with the command line execution then you can down load Borland command line compiller for free. if you are a starter or at least have academic knowledge of c and c++ and you are using "namespace std " concept in c++, which is a standard c++(ANSI c++ 1998) then down load "Bloodshed Dev-c++" which uses IDE (integrated development enveronment) like you have the options to compile,run,open,save,project and lots more..this is for open source c and c++ syntex. if you want real computer gui programming, then ou have to go for visualstudio.net (2005) which requires master level knowledge in programming not like


#include%26lt;iostream%26gt; //.h is befor ANSI 1998 syntex


int main()


{


cout%26lt;%26lt;"Hello";


return 0;


}





both the compilers are free to download and visualstudio.net you have to purchase.

Which is the best c++ compiler?
it's your choice, you'll have to try different ones until you'll feel comfortable with it,


check www.thefreecountry.com for free compilers





If you want cmd line compilers, you can use borland c++5.5 version or gcc,


if you want compilers with and IDE try bloodshed dev c++ it's very good
Reply:In terms of likely to implement the standards most correctly: GCC (Gnu's C Compiler). It is the reference platform for all other compilers.





However, if you're looking for other features such as a wiz-bang graphical interface, then you answer will be operating system independent.
Reply:its BORLAND c++





its very easy to use, no complex ...


or u can also use visual c++ but the person requires skills commands





hope u can get it
Reply:i guess BORLAND C++...........
Reply:well in school we use DevC++ to make and compile our programs
Reply:most used and well known to all is borland c++. hence learning and programming through borland C++ will be usefull.
Reply:borland


What's the best C# compiler?

I'm new to programming and I can't afford Visual Studio. Any free/shareware out there. What do ya'll like? Thanks

What's the best C# compiler?
There are a few free C# compilers around, including those from Microsoft, Borland, etc.





Free C# Compilers and Interpreters


http://www.thefreecountry.com/compilers/...
Reply:Visual Studio Express is a free version. Doesn't come with all the bells and whistles... but it does what you need it to do. If you ever intend to get into the job market using C# you will want to be able to say you used Visual Studio so download it and get cracking!


Why does my Turbo C compiler produce a fatal error whenever I use a pointer?

Need help.

Why does my Turbo C compiler produce a fatal error whenever I use a pointer?
change the memory module to huge while compile ur code. try simple codes like





int main()


{


int *p;


p = (int *) malloc (sizeof(int));


scanf("%d", %26amp;p);


printf("%d",*p);


}





u can find differ, i think...
Reply:U might be using the pointer wrongly.... post a sample code here..

sweet pea

How to use turbo c compiler?

in Turbo C compiler use these short cuts


Alt+F9 for compilation


Ctrl+F9 to run


Alt+F5 to debug


F7 to debug





u can find more in 'Help' menu

How to use turbo c compiler?
Hay friend, using Turbo C compiler is very easy. To use Turbo C compiler, first write your C progame and then using mouse cursour click on compiler. And select compile option it will show you errors in your program and in which line it is present. So use it and for more question send your question to "www.sourabhmhaisekar1@yahoomail.com" So seaaa!
Reply:Hello,


First unzip the file and then you will find tc file with icon just double click and then set the path in lib and directories then write a program complie it.
Reply:Use Dev-C++. Its better than any other compilers.





Turbo C has many drawbacks.





Use it. Because it uses GCC 4.0. which is also used to compile BSD and MacOS X operating saystems.
Reply:Refer This site:





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


I make programs in c++ on turbo c++ compiler , the same programs don't run in visual studio 2005?

What should i do?I am not able to run the simplest of all programs that is to print hello world , please help me

I make programs in c++ on turbo c++ compiler , the same programs don't run in visual studio 2005?
Copy you code into the Visual Studio IDE and recompile.





In .NET, as someone attempted to note earlier, the Common Language Runtime actually is the language used for the program, not Visual C++. Visual C++ is really just a scripting language in the .NET Framework.
Reply:How will it run ?





Visual studio 2005 is .net framework. and yes it supports c++.





But the code written in turbo c++ must support MSIL.
Reply:You create project and add your "Hello World" program.


it should run..


if u give exactly what is happening can help more


Problem in compilation or running?
Reply:turbo C++ use some header files llike %26lt;graphics.h%26gt; and a like while this header files won't work directly on visual c++ so if u are using such header files keep working on turbo


peace

bottle palm