Q&A for How to Create a Simple Program in C

Return to Full Article

Search
Add New Question
  • Question
    What is the difference between C and C++?
    Community Answer
    C is an in-depth language, everything you need to write. C++ is object-oriented base needed to create objects for classes.
  • Question
    How do I create a declaration of variables?
    Community Answer
    Use "int x;" without quotes will declare an integer variable x. You can replace 'int' with 'char', 'float', 'double', and many other variable types. You can also use "int x = 5;" to both declare x as an integer and set it to the value 5.
  • Question
    How do I make an HTML program?
    Community Answer
    Code the program in Notepad, then save the file with an .htm extension on your desktop. After that, you can run the html program in your web browser.
  • Question
    What tools do I need to become a programmer?
    Denneisk
    Top Answerer
    To be a programmer, all you really need is a text editor and a compiler (although you might not even need that for some languages). This can be as simple as Notepad and the GNU Compiler Collection (GCC), or an integrated development environment (IDE) like Visual Studio. What comes next is learning how to speak like a programmer (syntax) and learning how to be a programmer (critical thinking).
  • Question
    Where can I find a simple C program?
    Community Answer
    You could check online or at your local book store or library for books on basic programming and find such programs therein.
Ask a Question

      Return to Full Article