<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>C on </title>
    <link>/tags/c/</link>
    <description>Recent content in C on </description>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Tue, 01 Oct 2013 20:31:38 +0000</lastBuildDate><atom:link href="/tags/c/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>C pointers – introduction</title>
      <link>/pointer-in-c/</link>
      <pubDate>Tue, 01 Oct 2013 20:31:38 +0000</pubDate>
      
      <guid>/pointer-in-c/</guid>
      <description>There are certain tasks in C programming and other languages like PHP, what can only be done with pointers, like reading from a file requires a file pointer. Also to have a good understanding of pointers can give a great confidence to start improving the memory usage with decreasing the value duplication in programs.
A pointer is an address of a memory location where an actual value is stored. Every variables memory location can be accessed by using the ‘&amp;amp;’ am-percent.</description>
    </item>
    
    <item>
      <title>Array in c</title>
      <link>/array-in-c/</link>
      <pubDate>Wed, 18 Sep 2013 20:41:14 +0000</pubDate>
      
      <guid>/array-in-c/</guid>
      <description>Arrays in any programming language is one of the “power tools” you can use to organize data of same type. On the positive side elements of an array can be accessed in constant time because of the maintained indexes. On the downside array is fixed size and taking space after each other in memory which is not to efficient.
Array declaration and accessing elements works as in other languages, with an example:</description>
    </item>
    
    <item>
      <title>Structures in c – basics</title>
      <link>/structures-c-basics/</link>
      <pubDate>Thu, 12 Sep 2013 20:43:23 +0000</pubDate>
      
      <guid>/structures-c-basics/</guid>
      <description>Structures in c are used to represent data what have connections to each other in a single variable. This could be a record from a database.
Structures can be declared outside the functions to give access for all the function in the program. Other options for declaration is in the main header file(good idea), or inside main or other function which would make it available only for local use. A good practice is to not only declare the structure by create a type of that structure.</description>
    </item>
    
    <item>
      <title>C programming – where to start</title>
      <link>/c-programming-start/</link>
      <pubDate>Fri, 06 Sep 2013 20:46:01 +0000</pubDate>
      
      <guid>/c-programming-start/</guid>
      <description>I think to have a decent understanding of c, or start learning c programming is really good even if somebody is not planning to work with the language itself. Most of the languages are based on c or are in some way related to it. Most of the currently used popular languages have at least the syntax related to c.
This book can give a really great start on understanding and writing basic c functions.</description>
    </item>
    
    <item>
      <title>C typedef basics</title>
      <link>/c-typedef-basics/</link>
      <pubDate>Sun, 25 Aug 2013 20:51:14 +0000</pubDate>
      
      <guid>/c-typedef-basics/</guid>
      <description>If c is not your first language, you will really miss boolean primitive type. In other languages boolean is already defined, but in c there is no such type, it is actually using integer values instead.
It is really simple to implement a boolean value with typedef:
Other option is to include stdbool.h.
Using typedef as an alias makes code more readable.
The example above shows that accessing the values is along the same rules as using struct.</description>
    </item>
    
    <item>
      <title>C primitive data types</title>
      <link>/c-primitive-data-types/</link>
      <pubDate>Tue, 20 Aug 2013 20:48:23 +0000</pubDate>
      
      <guid>/c-primitive-data-types/</guid>
      <description>In the C programming language variables are declared before the program itself starts, before functionality. This applies to functions also.
With an example:
The following program declares c primitive data types and pointer data types and does print the size for them too.</description>
    </item>
    
  </channel>
</rss>
