Sep 15

Lecture 2: Operators and operands; statements; branching, conditionals, and iteration

Instructors: Prof. Eric Grimson, Prof. John Guttag

View the complete course at: http://ocw.mit.edu/6-00F08

License: Creative Commons BY-NC-SA
More information at http://ocw.mit.edu/terms
More courses at http://ocw.mit.edu

Duration : 0:50:49

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,

Sep 13

Lecture 1: Goals of the course; what is computation; introduction to data types, operators, and variables

Instructors: Prof. Eric Grimson, Prof. John Guttag

View the complete course at: http://ocw.mit.edu/6-00F08

License: Creative Commons BY-NC-SA
More information at http://ocw.mit.edu/terms
More courses at http://ocw.mit.edu

Duration : 0:53:30

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,

Sep 11

Assembly language example # 3: input and output characters.

Duration : 0:9:52

Read the rest of this entry »

Technorati Tags: , , , , ,

Sep 7

www.realprogramming.com

Learn to program your own video games!

Check out some of our fun video game development classes. Kids from beginner to elite learn real computer science and math while making real video games!


Try us out with a FREE sample class!

Call RP4K toll free: 1-877-307-3456

Locations throughout Canada with franchising opportunities.

…and we’re growing!

Duration : 0:1:43

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Sep 5

All of this code is FREE on my website http://thenewboston.com

Duration : 0:8:7

Read the rest of this entry »

Technorati Tags: , , , , , , ,

Sep 3

Alice is an innovative 3D programming environment that makes it easy to create an animation for telling a story, playing an interactive game, or a video to share on the web. Alice is a freely available teaching tool designed to be a student’s first exposure to object-oriented programming. It allows students to learn fundamental programming concepts in the context of creating animated movies and simple video games.

For more information and FREE download: http://www.alice.org

To support the work of the Alice team, visit: http://www.cmu.edu/giving/give.shtml?PCH=626

From the “Inspire Innovation” areas of excellence videos - for more about Carnegie Mellon’s comprehensive campaign, visit www.cmu.edu/campaign

Duration : 0:3:43

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , , ,

Sep 1

Part 8 - http://www.youtube.com/watch?v=uw95S87TW8s

All of this code is FREE on my website http://thenewboston.com

Duration : 0:6:11

Read the rest of this entry »

Technorati Tags: , , , , , , ,

Aug 28

Ryan Wendel, Xavier High School, Cedar Rapids, Iowa, discusses the Computer Programming Career Edge Academy at Kirkwood Community College. You can find out more about this academy at http://www.kirkwood.edu/site/index.php?p=12727

Career Edge Academies are career-focused, college credit courses for high school students, available through Kirkwood Community College provided at no cost to students or parents. This program is funded by your school district. Targeted towards high school juniors and seniors, Career Edge Academies offer a hands-on way for young students to explore careers and experience college-level classes. Students earn dual credit, which means the classes not only fulfill their high school graduation requirements, they also count toward a future college degree. And, the credits transfer; students can choose to attend Kirkwood after high school, or another college. Because individual school districts pay for the classes, they are offered at no charge to students or their families. Learn more at http://www.kirkwood.edu/careeracademies

Duration : 0:1:38

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

Aug 26

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

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , ,

Aug 24

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.

Duration : 0:2:20

Read the rest of this entry »

Technorati Tags: , , , , , , , , , ,

« Previous Entries