I have downloaded a few compilers, but i dont know how to use them!!! Could anybody show me an easy to use compiler or a tutorial on how to compiler a program? As you can see from my post count and everything im pretty new and i have just started to become interested in programming, but i dont know how to compile a program so i cant start learning. Thanks in advance everybody.
7 replies to this topic
#1
Posted 02 February 2012 - 09:24 AM
|
|
|
#2
Posted 02 February 2012 - 11:11 AM
What operating system are you using? GCC is the easiest one I know to work with.
sudo rm -rf /
#3
Posted 02 February 2012 - 11:30 AM
I agree, GCC is easy.
You can also get CodeBlocks, which is an IDE, that uses GCC by default. All you have to do is click build and run, and it will compile your program and run it (as long as there are no errors).
You can also get CodeBlocks, which is an IDE, that uses GCC by default. All you have to do is click build and run, and it will compile your program and run it (as long as there are no errors).
#4
Posted 02 February 2012 - 11:37 AM
Of course, you can configure the options as well using a simple checkbox-based interface. Definitely go with Code::Blocks. It's free, too.
sudo rm -rf /
#5
Posted 02 February 2012 - 12:25 PM
Here are a few tutorials for vc++ 2010
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.
#6
Posted 03 February 2012 - 05:16 AM
I agree with everyone else, I use gcc and its great!
#7
Posted 03 February 2012 - 11:13 AM
Most compilers are either controlled by another program (Code::Blocks can control GCC/MinGW, make files, etc.), or are run through the command line. EVERY compiler that is worth a darn is inherently not simple. That's not to drive you nuts, but because there are a lot of options available, and the programs they need to be able to compile can be compiled in a lot of different ways.
GCC is a compiler that has several books written on it (some free), so that may help you understand how much can be involved. One is available here: Using the GNU Compiler Collection (GCC)
Ultimately, you may do better to pick one compiler, and ask us questions about how to use it. Once you're comfortable with a compiler, it is easy. I code C/C++ programs in text editors, and drop to command line to compile them. I don't think about the process until something goes wrong. Since you're new, you're still learning the process.
GCC is a compiler that has several books written on it (some free), so that may help you understand how much can be involved. One is available here: Using the GNU Compiler Collection (GCC)
Ultimately, you may do better to pick one compiler, and ask us questions about how to use it. Once you're comfortable with a compiler, it is easy. I code C/C++ programs in text editors, and drop to command line to compile them. I don't think about the process until something goes wrong. Since you're new, you're still learning the process.
#8
Posted 03 February 2012 - 11:58 AM
Though GCC is definitely not simple, I think it's more intuitive than other ones I've tried, namely ICC and ml (32-bit).
sudo rm -rf /
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









