Skip to content

Learn C Games Programming Blog

A blog about C, programming games and my ebook(s).

  • About Me
    • Links to all blog posts
  • C Code Links
  • C#/MonoGame links
  • C++ Stuff
  • Games Sources
  • Links to C Utilities
  • Tips
  • Tutorials
    • A quick overview of computers, machine code, assembly language, editing, compilers, compiling and debugging
    • Atoms game – tutorial one. Intro to C programming
    • Atoms Game (aka Chain Reaction) an alternative C tutorial
    • Atoms Game. Tutorial two – doing computer moves
    • Atoms tutorial three – finishing off
    • How to install SDL on Linux
    • Slay – tutorial three – the map generator
    • Slay Tutorial One – How to implement Slay for Linux
    • Slay Tutorial Two- Draw hexagonal maps
    • Tutorial eight – About pointer variables
    • Tutorial eleven – looping in C
    • Tutorial five – structs
    • Tutorial four. All about arrays in C
    • Tutorial nine – A look at functions in C
    • Tutorial One – Introducing C Programming
    • Tutorial seven. About pointers and strings
    • Tutorial six. About pointers
    • Tutorial ten – Simple control flow in C
    • Tutorial three. Enum variables
    • Tutorial two – Variables
    • What is a pointer in C

Tutorial two on variables published

Posted on September 29, 2020September 29, 2020 by David
green and black typewriter with white printer paper
From Unsplash.com

This is the second in a series of C Tutorials that I originally published on about.com between 2006 and 2013.  I’m republishing them on here.

This one is about C variables and lets you run code online using Codepad.org and ideone.com online C compilers.

(Visited 1 times, 1 visits today)
Posted in C, tutorialsTagged variables

Post navigation

A lovely MiniGolf game in C
To brace or not to brace

Most Popular Posts

Recent Posts

  • Thinking about Slay tutorial 7- Game AI
  • Thinking about my Inselkampf reimagination
  • Slay tutorial three published
  • A newish game platform
  • A look at a Raspberry Pi Pico

Recent Comments

  • SDL-TTF now on Raspberry Pi | Learn C Games Programming Blog on Timing of SDL vs TTF fonts
  • Timing of SDL vs TTF fonts | Learn C Games Programming Blog on That Clang C compilation
  • A different way of generating a dungeon level | Learn C Games Programming Blog on Thoughts on generating a dungeon level
  • More thoughts on shuffledness | Learn C Games Programming Blog on How to measure how shuffled a deck of cards is
  • Actually going schemaless in C# | | Learn C Games Programming Blog on Trying to go schemaless

Categories

  • 64-bit
  • alternative
  • Blog
  • bugs
  • C
  • C#
  • C++
  • Clang
  • Code::Blocks
  • collections
  • Debugging
  • design
  • Ebook
  • engines
  • Errors
  • Excerpt
  • Extensions
  • Game
  • Graphics
  • hardware
  • Ideas
  • libraries
  • linux
  • mobile
  • MonoGame
  • networking
  • Notes
  • Other stuff
  • pointers
  • question
  • rants
  • raspberry-pi
  • Recreational
  • reference
  • resources
  • SDL
  • server
  • Source code
  • syntax
  • Techniques
  • This website
  • Tips
  • Tools
  • touchscreen
  • tutorials
  • utility
  • visual studio
  • Visual Studio Code
  • visualisation
  • Web
  • Windows

Archives

  • January 2021 (27)
  • December 2020 (31)
  • November 2020 (30)
  • October 2020 (30)
  • September 2020 (30)
  • August 2020 (30)
  • July 2020 (31)
  • June 2020 (31)
  • May 2020 (31)
  • April 2020 (30)
  • March 2020 (31)
  • February 2020 (2)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Theme: Overlay by Kaira.  A blog by David Bolton