Thread: beginner questions.

  1. #1
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256

    beginner questions.

    Pretty simple. I couldn't really find any info on this in your FAQ and in the search.

    I've already had ample experience with writing code using a separate program. If any of you have ever heard of the First Robotics Competition, it's the program they distribute that lets you edit and upload code to your robot. But what I don't know is how, exactly, to go from a saved text file to a running program. I know you have to complie it, but I've never had to actually use a compiler directly. And, after it's compiled, how do you run the program?

    Also, I have a Borland C++ Compiler on my computer from a few years ago. Would that suffice for a C compiler. I've been told it would, but I just want to make sure.

    Thanks a lot.

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    494
    Yes your compiler most likely will do the job, but if its too old it might give your errors depending on how you have code your program. http://www.bloodshed.net/dev/devcpp.html has a good compiler for download. you use the text editor of the IDE and and you compile it, at the end you will generate a .exe file which you can launch by just double clicking at the file.
    When no one helps you out. Call google();

  3. #3
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256
    Sounds simple enough. And you say that compiler comes with a text editor? Oh, and does te download include files such as Stdio.h and all the rest of those?

  4. #4
    Registered User
    Join Date
    Nov 2004
    Location
    USA
    Posts
    516
    yes, it does..you get all the headers, including stuff like windows.h n stuff like that...along with all the libraries you might need..its a nice compiler with a text editor, and the best part is that it is FREE
    Code:
    >+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    494
    Yes thats correct, most compilers now have their own text editor click here http://www.bloodshed.net/dev/images/main.png. You can download devc++ from the link on the previous reply. All the header files(.h) files are included, but you can create your own header files and include those on your programs just as well.
    When no one helps you out. Call google();

  6. #6
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256
    Quote Originally Posted by PING
    and the best part is that it is FREE
    And that's all that r matters, isn't it? Thanks a lot, guys.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Some beginner questions.
    By Meikj in forum C++ Programming
    Replies: 3
    Last Post: 05-01-2009, 11:37 AM
  2. Total beginner questions
    By Sparky in forum C Programming
    Replies: 5
    Last Post: 06-22-2008, 04:50 AM
  3. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  4. several beginner questions...
    By Taikon in forum C Programming
    Replies: 2
    Last Post: 02-09-2005, 09:53 AM
  5. 2 beginner questions
    By GCat in forum C++ Programming
    Replies: 15
    Last Post: 11-24-2004, 03:55 AM