Name: [3253] gasto
Member: 105 months
Authored: 41 videos
Description: C/C++ and python programmer. Some knowledge of graphic design too. Interested in Game Artificial Intelligence and Artificial Life. Currently studying(by myself)too many things to be worth the mention. Happy to contribute to the 'help-without-compensation-asked' community. I hope every one that r ...

C Tutorial - C syntax - [ID:545] (5/8)

in series: C programming tutorial.

video tutorial by gasto, added 03/08

Series ID: 138 Video ID: 545

In this occasion, we build a simple program that prints 3 numbers, with the help of the printf() function defined in <stdio.h> . The concepts of C's storage class specifiers are explained (probably the most confusing aspect of the C syntax). The difference between definition and declaration is explained and the concept of 'extern'(storage class specifier); 'char', 'short', 'int'(types) is clarified. Block scope is demystified, and the storage classes characteristics(duration, scope and linkage) are explained by examples.

Visit the C Console Programming video series for updates on C programming from me.

// Csyntax.cpp : Defines the entry point for the console application.

#include "stdafx.h"

extern short shortnum;
extern void doSomething(void);

int _tmain(int argc, _TCHAR* argv[])
	//extern short shortnum;
	char letter = 't';
	char * string = "hello everyone";
	float floatnum = 4.45462;
	int num = 3;
	short assignment = shortnum;
	short shortnum = 2;

	if (num <= 2) {shortnum = 4;}
	printf("%d \n", shortnum);
	return 0;

void doSomething(void){
	//static variable = 1;
	printf("%d \n", shortnum /*,variable*/);

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 0 (since July 30th)
  • Plays in last week: 0
  • Published: 102 months ago

Thank-yous, questions and comments

If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?

You may also want to see our ShowMeDo Google Group to speak to our active users and authors.

Your email address will not be published.

Show some quick comments >>

All comments excluding tick-boxed quick-comments

Your video has been edited. This is an automatic post by ShowMeDo.

9. pearceynta Sun, 28 Feb 2010 09:45

Nice and clear! Thanks!

8. anonymous Mon, 12 Oct 2009 14:59

Very good presentation. I believe that it would be help to beginer to expert programmer. Please be keep up posting. Thank you.

7. anonymous Sun, 02 Aug 2009 14:57

I totally did not expect this all I know is that I wanted you to have my son stevie

6. anonymous Wed, 22 Jul 2009 16:34

Long but very informative.

5. anonymous Thu, 09 Jul 2009 14:03

i had search many blogs but i didn't expect that SHOWMEDO help me so.. thank u sir i wana happy

keep some more for us

4. anonymous Mon, 11 May 2009 02:40


Don't worry. Although receiving some extra money wouldn't hurt, I'm doing it to help back a community that has already served me.

2. anonymous Wed, 12 Mar 2008 14:02

nice gasto, if i had money i would spend some :)

please make more tutorials. i like it very much.

Video published, thanks for contributing to ShowMeDo

Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for gasto

The basics of Javascript.

Thank you very much for the video

Bold Womens Adidas Big Tongue High Tops Luminous Upgrade Second Generation National Flag Shoes Classical
70 months ago
Python, sweet as candy.

insightful:keep it up

Balenciaga Loafers For Women On Sale Black Leather 2016 11 8.5
72 months ago


Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.