Skip to main content

Family Guy vs The Simpsons

What is your favourite animation series? I enjoy watching Family Guy. Growing up I used to read about how The Simpsons was a favourite of many. I am not going to do a comparison of the two anime but invite your comments.
A posted a poll on Twitter and Family Guy was voted as the best. What's your take?

Structure of a C Program

A C Program has the following sections;

Documentation: This is where the name of the writer is placed as well as a description of the program.
Preprocessor/Link: This is where C libraries are called so that certain functions are able to work in the program.
Global declaration: The functions and global variables, those variables which should be available to all statements in the program are placed under this section.
Definitions: Constants are defined in this section. The declaration is not a statement and therefore should not be terminated by a semicolon. Capital letters are used to represent a constant.
Main Function: Program execution begins in the main function.
Sub Programs: These are user-defined functions
Local Variables: These are variables declared in a function and only that function can access the variable.

Below is sample code demonstrating recursion as well as showing the full structure of a C Program.

Comments

Popular posts from this blog

How to write and compile code as well as to publish android apps on a smartphone.

Getting Started
The most challenging part when getting started in developing mobile apps on a mobile device is finding the perfect Integrated Development Environment (IDE). Once you get the right IDE you might need to learn how to effectively use it before you can be productive. I have made all that easy by creating  a tutorial which covers all aspects from the tools you need and how to use the tools up to publishing your app. This article is just an overview of the course and you can jump into the tutorial  now
Prerequisites Prior knowledge of how to develop simple android applications is an advantage as this course mainly focuses on how to use smart phones in the development process and therefore does not dwell much on teaching an in-depth knowledge of how to create different types of Android apps. However, if you are totally new to Android development you can still be able to learn how to write code and complete this tutorial at the same time by reading Java for Dummies and Android d…

How Econet helped shape my career

I can code in several languages though I specialize in front-end web development, here is my portfolio , thanks to Econet Zimbabwe. 

During the  days when I started writing code in early 2014 I visited the Econet Zimbabwe website and found that they had some zero rated websites. This meant that, as an econet subscriber, I could access some sites for free without the need to buy any internet bundles.



The zero rated content was arranged into different categories and I headed to the education section where I started reading articles on coding. I enjoyed the tutorials titled "Learn Python The Hard Way". I followed most if not all the instructions on a PC I had assembled by myself. I became proficient in coding in Python.



My relationship with econet did not end in learning to code from zero rated content. In 2016 while attending a course in photojournalism I met a guy who was wowed by my achievements in coding at that time, by then I had already become a Google developer and I ha…

My top six social media apps

I have placed social media apps into six categories and I am going to tell you my favourite app in each and one of the categories. I have six classifications of social networking platforms namely: 1. Instant messaging apps2. Live streaming apps.3. Anonymous messaging apps.4. Blogging platforms.5. Video sharing apps.6. Image sharing apps.
 WhatsApp gained traction due to its ease of login and absence of adverts. It is also affordable and does not have privacy issues and for that I place it on first position in the category of instant messaging apps. There are several great alternatives to WhatsApp which are Viber, Signal, Messenger, Telegram, Line and Wechat. 

In the second category, live streaming apps, my favourite is Bigo Live which uses video streaming as its mainstay. The younger generation is moving away from texting to live streaming. According to research , Facebook users are aged on average between 24 to 35. Tik Tok is also the in thing these days but it currently does not have …