am sick of using unix each time to compile my c program, is there any alternative compiler for mac ox or just how can i use the compiler for xcode???
132594
You don't _have_ to use XCode -- it'll be the easiest, however, for Mac specific apps. To get XCode compiler / environment installed, you need to install the Developer Tools off your OSX installation CD. If you don't have the CD, you can download it from the link. Once you have it installed, try the second link below for an introduction.\n\nMac uses BSD as it's core, so you can use GCC or any other free compilers available out there for the *nix world.
173345
What you would need is a disassembler for the specific processor that the software runs on. Even then, the disassembled executable will be difficult to follow, as many compilers create very bizarre executable code for perfectly sensible source code. It's only worth doing for small programs and only if it's the only way to get the assembly language source. There is no way to get back to the original C / C++ source, no matter what anybody may write.\n\nIf this request is for a large program (>2000 bytes) that runs on a PC, then forget it. It's only worth doing for embedded software, which is typically fairly small.
63375
If J2EE was as bad as you think it is, why is it so widely used? Answer: it's not.\n\nIt's been a very long time since this technology could be accused of being generally inefficient. JIT and adaptive in-time compilers can actually recompile byte-code into assembley during runtime depending on how it's currently being used. This can produce faster execution in certain cases than C or C++.\n\nMost of the pain comes from starting the runtime, in an enterprise environment this is not an issue.\n\nPS. Remember it's just a specification. If you want to do Java just like C# (ie. compiled and ready to go as a binary), take a look at http://gcc.gnu.org/java/
224822
It can't be done directly, but porting it via RealBasic is an option (and at that point, you could build your app out to Mac, Windows or Linux).\n\nhttp://www.realbasic.com/support/whitepapers/portingvisualbasic/
220595
I am not sure what program you tried, but here is one that should work on borlands compiler.\n\n#include <iostream>\n\nint main() {\n\n    std::cout<<"Hello, world!&#92;n";\n}\n\nI have included the 'std::' namespace in front of the cout.\n\n<Edit>\nAre you running the program from the command line, or just clicking on the exe?\nIf clicking on the exe, a command line will pop up, then disappear after displaying hello world.\nYou need to run it from the command line.
365355
I used one once many years ago, but can't find it.  Here is one I found using Google:\n\nhttp://www.innovation.ch/java/java_compile.html
183577
Both Dev-C++ and Visual C++ express support C, still if you have no intention to work with C++ someday it might be better to get yourself a C dedicated compiler and IDE. I recommend either lcc-win32, or Pelles C, each has a very good compiler and a good IDE, Pelles C IDE is a little more friendly and its user interface is more modern.\nYou will find links for more information of both at the resources section of my answer.\nThe question whether to learn C before Java can have many answers depending on your situation. If your major is Programming, or if you think you will be doing serious programming someday, learning C first is a good advice. It gives you a better starting point into the field of programming as a whole. If you develop a good understanding of C, learning Java should be an easy task. On the other hand if you are going to study Java as a side course for some purpose, learning C as an introduction to Java would be too much.
32321
Details of the algorithm for conversion along with\nsource program written in C can be found at.\nhttp://www.codepedia.com/1/Art_Expressions_p1\n\nA good short article on this topic.\nhttp://www.cs.man.ac.uk/~pjj/cs2121/fix.html
147118
#include <stdio.h>\n\nint main (void)\n{\nint i, j;\n\nfor (i = 5; i > 0; i--)\n{\nfor (j = i; j > 0; j--)\nprintf ("*");\n\nprintf ("&#92;n");\n}\n\nreturn 0;\n}\n_____\n\n#include <stdio.h>\n\nint main (void)\n{\nint i, j;\n\nfor (i = 1; i <= 5; i++)\n{\nfor (j = 1; j <= i; j++)\nprintf ("%d ", i);\n\nprintf ("&#92;n");\n}\n\nreturn 0;\n}
230480
To compile and run C++ code you can either use Microsoft Visual C++, Microsoft Visual Studios, or Borland's C++ Compiler 5.5.  There are other compilers out there, but these are the 3 that I have personally used before.  The Borland Compiler is a free download from http://community.borland.com/article/0,1410,20633,00.html while the Microsoft programs are not free.  I'm not familiar with this AC-Tool program you're using though, or what it's being used for in this case.\n\nWhen I used an earlier version of the Borland Compiler in my college days about 4 or 5 years ago, you had to write your C++ program in a text editor, I recommend using Notepad, and saving it as a .CPP file, just change the extension from .txt to .cpp when you go to save it.\n\nUsing Borland was a little cumbersome as it was a command line compiler, so you have to use the windows DOS prompt.  It may have been changed to a GUI style of application, but I don't know and can't find out at the moment as I can't downloand and test this thing at work.\n\nHowever, if you explore the Borland forums a bit, you should find a wealth of knowledge on how to use the compiler.  Hope this helps you out a bit.
540079
try this stuff... pls understand the logic...\n\n#include<stdio.h>\n\nint main()\n{\nint no,rem;\nscanf("%d",&no);\nwhile (no)\n{\nrem = no % 10;\nprintf("%d",rem);\nno = no / 10;\n}\n}
556444
The almighty C++ and many more languages have free compilers, articles and links to other good things at the URL below.  Enjoy.
479926
I'm a computer science major at the university of louisiana at lafayette.  Our computer lab that we write our programming assignments all have linux enviornments.  Our introductory level course is taught in C++.\n\nThere are two main compilers that we use.  one is the GNU compiler (g++).  I'll reference the link for the website.\n\n;-)
103745
IN computer language ,everything need to be converted into machine level language. THen it is executed by the processor.\nIn your program also, 1st preprocessor directive include<stdio.h> defines the standard function like printf.\nmain is SPECIAL function  and print is standard input statement.\nCompile covert your source into machine level language. while linker link the files with macros,preprocessor directives. Run command execute the program..//this is abt windows.\nIN unix\ninstead of turboc, there is CC compiler. which compiles the code. while to run the program just type ./a.out\n\nso steps to doin uNIX are:\n\n1. vi filename.c\n2.cc fileaname.c\n3./a.out\n\n\nHi! what type of more detail u want? about execution in unix or programming in unix?or anything else..?
56000
There is no compiler-independent support for multi-threading in C. That is not to say you can't do it, it will just be different with each compiler.\n\nI personally use Borland C++ Builder (HUGE fan of Builder), and there is a "thread" class that you can use for multi-threaded applications. It is a bit of work to get your first time up and running, but now it takes me about 2 minutes to change something from main thread to its own thread in Borland.
341837
not sure...\n\nhttp://www.versiontracker.com/php/search.php?mode=basic&action=search&str=screen+capture&plt%5B%5D=macosx&x=0&y=0\n\nhttp://www.versiontracker.com/macosx/
216944
GCC, the GNU Compiler Collection provides a completely free compiler on many platforms, including DOS.  Best of all, it is completely cross platform, so the code you write for DOS can also (theoretically) be cross compiled for Windows, Linux, etc.\n\nOh, and it is completely FREE