Domaine : tutoriel
Tag : langage vb
Aller à l'accueil


TAGS SPECIALISES :

apprendre visual basic
cours vb access
programmation visual basic
programmation en visual basic
débuter en informatique
free visual basic
apprendre le visual basic
vb express
formation vba gratuite
visual basic cours
cours vba access
visual basic programmation
programme vb
programme en vb
cours en visual basic
application vba
vb 2008
le langage vb
cours vba
cours sur vba
visual 6.0
visual basic access
visual basic code
vb language
programmer en vba
programming vba
visual basic 6
programmation en vb
apprendre vb
vba programmer
visual basic gratuit
programmation vba access
vba access
cour vba
programme vba
access visual basic
programmation vba
programme en vba
apprendre le vb
language vb



C Computer Programming Language #1 - Intro





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 assistance 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 assist 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

code pour embarquer la vidéo : >>>    http://www.youtube.com/embed/A6EOqR06vcs    <<<






TAGS GENERAUX :

  tuto informatique  tuto web  tuto vba  tuto zend  tutoriel internet  tutoriel facebook  tuto facebook  tutoriel informatique  spip tutoriel  tutoriel spip