C is one of the most common computer programming languages today. C++ is an extension to plain C that allows object oriented programming and is not discussed here. Some other programming languages are:
BASIC - good for beginners, however some say
the syntax (programming grammer) is
a bit awkward compared to more modern
languages. Modern versions are GWBasic,
QBasic (Quick-Basic), and Visual Basic
(VB) which adds some functionality for
making some Windows type programming into
the language, but it is noted for not
being a sound logically structured
programming language.
Fortran, Pascal - older languages, but good.
JAVA - a more modern language that is good for
many machines.
HTML - for making webpages
Java Script - for adding a lot of functionality
to webpages.
machine language - just numbers - a “low-level” the most basic programming for a computer. All computer programs eventually wind up to this in computer memory.
Assembly Language - like machine language, but a lot of istance is given to make it easier to read and write it. Some computers might come with a program called DEBUG that is a simple program for making computer programs.
C can be used for both low level (machine code) and high level programming (especially C++).
————————————————
There can be a lot to cover with computer programming. I can only cover some basics
of it with these video/discussions. Still, a major use for programming is number crunching; An input of numbers, some calculations with them, and an output of the results. These vidoes and responses will be geared to functions rather than specific large programs, so that way, many more people can contribute code and ideas. For the basics of C programming and syntax, there are many online documents.
————————————————
You need a C compiler (program) to process your C programs (called “source code”) into machine language. There are many free ones. Some are quite large to handle for a beginner. A good place to start is to get a small one. And I recomend the Tiny C Compiler (TCC). Its free. This compiler does not have a GUI (Graphical Users Interface) … basically a Windows program with menu’s. Nor does it have an IDE - Integrated Development Enviornment where you can edit, and select compiler options and settings and run/debug your programs. It is quite possible that you can make simple ones yourself, even its just batchfiles (.bat programs, operating system commands in the form of a script or textfile).
1. Download the Windows binary distruibution of
TCC from:
http://fabrice.bellard.free.fr/tcc/
2. Unzip this downloaded .zip file. You need an
installed ZIP (compression/decompression)
utility to do this. The extracted files
will be in the TCC-0.9.23 folder. This will
contain the following folders/directories:
TCC
DOC
EXAMPLES
INCLUDE
LIB
3. TCC does not need to be “installed” like most
Windows programs. To avoid always
telling TCC where some of the required code
locations are, such as the INCLUDE and LIB
directories, you can simply place these
two directories into the TCC folder since it
will automatically search its own directory
there if none is specified.
4. You can use any text editor, such as Notepad,
to write a C program or batch (.bat) file.
For a C program, use .c as the filename
extension, and .bat for a batchfile. You may
want to know some Batchfile programming to
ist making C programs and other things.
TCC is initially a command line (operating system command line) C compiler. You must either type the commands to compile a program or make batchfile programs that can be run by entering their name or pressing their icons.
You can click on the TCC icon, but it runs and you are not left in the command line - DOS operating system mode, but are returned quickly to Windows. To get to the operating system/DOS mode you can make a batchfile with the following command in it:
CMD (might be command.com on earlier computers)
Place this batchfile in the TCC directory of course. To get back to the Windows program/operating system, enter the command: EXIT
If you would like to see TCC’s menu you can then
run the above batchfile and enter TCC, or make a batch file such as:
TCC
CMD
When running a C program or batchfile, you can exit it early by pressing one of the following:
CTRL + C
CTRL + Break
CTRL + Alt + Del (and select what program to
quit)
You can place your C programs right into the TCC folder, or make a folder such as CPrograms in the TCC folder. You would then compile the programs with commands such as:
TCC myfile1.c or
TCC CPrograms\myfile1.c
Duration : 0:0:14
When first starting to write computer programs, use a programming language called Python to write simple math programs. Find out how to download Python from python.org with help from a software developer in this free video on computer tech support.
This is computer programming class
Computer scientists demonstrated that criminals could hack an electronic voting machine and steal votes using a malicious programming approach that had not been invented when the voting machine was designed. The team of scientists from University of California, San Diego and the University of Michigan, and Princeton University employed return-oriented programming to force a Sequoia AVC Advantage electronic voting machine to turn against itself and steal votes.
http://www.DigitalSupport.com If you need computer programming help, Digital Support is the answer. With 24/7 live remote support, your PC or Mac will run like new again. Digital Support offers the best in class when it comes to Antivirus protection and System Renewal software. Need a C tutorial or help with HTML code? Let Digital Support be your guide- Call 866-981-0519 for PC programming help.
Lecture by Professor Mehran Sahami for the Stanford Computer Science Department (CS106A). In the first lecture of the quarter, Professor Sahami provides an overview of the course and begins discussing computer programing.
All of this code is FREE on my website http://thenewboston.com
Part 9 - http://www.youtube.com/watch?v=uOUpEKh8l60
SEED Magazine presents “Science in Silicon”
May 16, 2008 lecture by Rob Miller for the Stanford University Human Computer Interaction Seminar (CS547).