Skip to main content


Showing posts from September, 2019

C Programming - file manipulation

Access Modes
“r” File is opened for reading only, does not create a file.
“w” File is opened for writing only (start from the beginning of the file, wipes any stored data)
“a” File is opened for appending only (start from the end of the file without deleting anything)
“r+” File is opened for reading plus (read and insert (overwrite) starting from the beginning of the file, can not create a new file)
“w+” File is opened for writing (create, read and write, wipes any stored data)
“a+” File is opened for appending (read the whole file or writing at the end

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.

C Program to Arrange Numbers in Ascending Order

The following is the source code for a c program which arranges numbers in ascending order.

 The integer n is for capturing the value of arryA[j] before swapping the numbers. Failure to capture that number before its value changes will result in all numbers defaulting to the maximum or lowest number in the list depending on the condition stated in the if statement.

Ways of Increasing Traffic to Your Website

Organic Traffic
First and foremost, your site should be indexed by search engines so that it can start appearing on Search Engine Result Pages (SERPs). For your site to be quickly indexed you need to submit a site map to each of the major Search Engines like Google, Binge and Yandex. Do not worry about Yahoo as it is a meta search engine which means that it uses other search engines to provide search results. Yahoo has its own website crawlers but it supplements that with the Binge search engine. Therefore submitting a site map to Binge will make your website to also appear on Yahoo SERP. Referrals
Create and curate content for social media which can grow your brand as well drive traffic to your website. You need a social media strategy in order to be effective. This might include a Social Media Management tool and a buyer persona. The first one will help you schedule posts and the latter guides you in posting content which is relevant to your audience. You can also create back links …

Top 20 essential websites in Zimbabwe

There are quite a number of websites with valuable content for users. I have compiled a list of the websites in this article. This is where most Zimbabweans get job alerts. Some users are in WhatsApp groups which are run by administrators of the site. This is a website designed for high school students. It has past exam papers and notes for most subjects. The site is promising to be the best among educational portals in Zimbabwe. The content is currently available for free. The creator of the content is an accountant by profession and therefore is not surprising to find that commercial subjects are updated first. The Zimbabwean Wikipedia. It is great for using as a research platform when writing articles. It is quite a great initiative and is an example of how people are now using technology to provide solutions to local problems. This is a great platform for local arts news. The site received an award in the bloggin…

Who is your real enemy?

Some people need to make enemies  first before they can work towards thier success in life. In other words when they become successful it would be because they worked hard in a bid to spite someone. Is that philosophy necessary? If you look into such people's stories you are likely to see that their real enemies were not the people they thought they were fighting against but something else like a low self esteem or poverty. This article helps you to know who your real enemy is.
Consider a child growing up in a poor family. The parents might be frugal in order to make ends meet. Therefore if the child requests for something that might be deemed by the parents as not a priority he or she is likely not to get it. Some children who have faith in their parents will understand  the situation and resolve to  work hard so that when they grow up they will be able to provide everything for themselves as well as their parents. There are some undiscerning  children who would consider they pa…

Propositions and Predicates

Predicate Logic (True or False) Select A Predicate Below

E(x, y) X(a, b, c)

A proposition is a statement which is either true or false but not both. A predicate is  a statement containing a variable. This means that for some values of the variable it is true while false for some values.

Google Drive Direct Link Generator

Google Drive Direct Link Generator


Do you have any files on Google Drive that you would like to share with others so that they can easily download them? We all know that if you share a file from Google Drive the person you send the link to can not directly download the file. The file first opens in Google Drive before and then one has to click on the option to download. Follow the instructions below on how to make any file saved on Google Drive downloadable by just clicking on a link.


Step 1 You must have a file saved on Google Drive. If you do not have it yet then upload a file to Google Drive.

Step 2 Click on the file you have uploaded on Google drive and turn on link sharing.

Step 3 Now edit permissions on the link sharing so anyone with the link can view.

Step 4 Now go on to the file and click. An option to copy the file's link will appear. Copy the link.

Step 5 Now go and paste the link into the above link generator and click the generate button.

A new l…

Limitations of the Internet, A Zimbabwean Perspective

Internet has its pros and cons. This article is about the disadsvantages or limitations of the internet in a Zimbabwean context. Language. English is the main language of the internet. Zimbabweans are ranked as one of the nations with the highest literacy rates. However, the thrill of reading articles in your own vernacular language can not be compared to anything else. Unfiltered content. There is fake news being peddled on the internet. The amount of rumours and speculation makes it difficult to to know what to believe. There is uncensored content like violence and pornography as well which can cause moral degradation. Teenagers who are still in school are now attending to Vuzu parties where they get involved in group sex and take drugs. This behavior is said to have emanated from South Africa. Internet can speed up such cultural interchange which can be detrimental to a society. Broadband and Dial Up. The internet speeds range from very low to high. Some parts of Zimbabwe can not acc…

Email Signature Generator

Email Signature Generator












LOGO/AVATAR (you can upload image to Google Drive and create link )

Apply Signature
Your email signature will appear here. Copy and paste it in the Gmail app.
StewartMukonziFreelance Digital MarketerMarketingTimid CoderP: +263999210M: +263F:  +263999210A: ZRP Borrowdale Camp199 HebronW: http://www.stewartmukonzi.blogspot.comE: 

Alternative to a tripod- canon DSLR cameras

There are times when we have to use a slow shutter speed when taking photographs. However, we might end up with blurry images if we do no use the appropriate equipment. In this article I write about two alternatives which you can adopt.

When should you use a tripod? If your shutter speed is greater than 2 seconds you should use a tripod as camera shake is then likely to occur no matter how steady you hold the camera. Another way to know if you are likely to experience camera shake is to check the focal length of your lense. If the focal length is say 55mm then you should keep your shutter speed less than 1/55 seconds. It is just a rough estimate and if you can keep even less it will be ideal. The following are alternatives to a tripod.

Remote trigger. You can opt for a remote trigger. Place your camera on a flat surface facing the subject. Make all the necessary adjustments in terms of aperture, ISO and shutter speed etc,  on the  camera and compose your image. When satisfied plug in …

Photography Styles

There are quite a number of styles of photography which one can explore. I would like to share a few of them and the main techniques they use.

Macro photography. It is used to take life size or greater than life sizes images of small objects like insects. It is also used for taking photographs of products which is a lucrative business and is also important to master if you need to succeed in e-commerce. There is a phenomenon known as focus breathing and also blurring of some parts of an image taken  using a macro lens. To fix that  one has to take multiple shots and overlay them in a photo editing software to come up with a perfect image. Street Photography. This is accomplished by taking candid or unposed photos of people, usually strangers, often while they are  unaware on the streets. Tourist do the same with ease, however, for a local it might be challenging as not all people enjoy having their photos taken without permission. Therefore, to avoid being shouted at, street photograp…

What is my Niche?

Welcome to my  content hub! In This post I answer the question about what my niche is. This will give you a clue on what topics to expect on this  blog. It  can also help you navigate my blog so that you can easily access topics that tickle your fancy. I have included links which you can follow with ease.

Every blogger has or should have a niche or a subject to focus on. I also have a particular subject that I frequently write about. Before I tell you, I think it is important for you to know what makes me enjoy blogging in the first place? This question can help you understand where I draw my strengths and how I create content for this blog or curate content for social media.

Digital marketing , It helped me a lot. I am mostly fascinated with one particular aspect of digital marketing which is content marketing. This led me to study multimedia technology , content is King.  it made me enjoy blogging. Any other skills that  I have only help me be a better digital marketer. Therefore I …

Use A Grey Card to Master A DSLR's Manual Mode

The purpose of upgrading from a point and shoot camera to a Digital Single Lense Reflex (DSLR) is usually to improve the quality of photographs that you can take and the ability to be more creative. However, quite a number of people end up getting frustrated after seeing no change in their photographs after the upgrade. In this article I write about one important tip you need to  try to start enjoying taking great photographs again, that is the use of a grey card.

A DSLR camera when operated in automatic mode rarely brings changes to your photography. Though you might benefit from the ability to capture more details due to the increase in pixels, it will not be long till you start to view your DSLR as cumbersome and therefore not ideal to carry around when you travel. This happens when you have not mastered operating the  camera in manual mode. There are a few things you need to learn first before you can be comfortable using the manual mode but the most important concept is that of …

Techniques and Tools To Improve Smartphone Photography

Most photos be it of families on vacation or for use on websites either by individuals or journalists and bloggers are now being shot using smartphones. Therefore there is a need for learning some techniques and tools which can ultimately enhance smartphone photography.

White Balance. Professional photographers know that White Balance (WB) sometimes needs to be corrected but those who have never heard about that tip might not know how it adjusting the WB can dramatically improve your photos.

HDR. Indoor photos and photographs of buildings usually comprise both areas of highlights and shadows. An experienced photographer knows that most all cameras can not capture properly both highlights and shadows correctly without compromising on some details. To avoid loss of detail in your composition you should turn on HDR on your smartphone's camera. You will notice a great improvement instantly.

Tools (mobile apps for editing photos)
Photoshop Express

Every Dating App Should Have These Features

A lot of people visit online dating sites in Zimbabwe to find potential suitors. However, there is an inherent risk of being duped or opening doors to spammers. Some people have a negative view on dating sites and as such completely stay away from them. They believe the sites promote immoral behavior. This article is to help those who would like to try the dating sites to find real love , to do so securely without compromising their privacy.

I have compiled a list of features which I feel are required to protect users of dating apps from bad elements of society.

A profile verification- The profile pictures need to be verified to eliminate catfishers. This is usually done by uploading a picture of the user after following certain instructions on how to pose for the photo.Nude Photo Detection- This is essential in preventing the uploading of nude pictures. Some users, especially men, bombard women with such pictures and this is totally uncalled for. Dirty Talk Detection- some users enjoy…

How To Use An Electric Iron When Off The Grid

Most people in Zimbabwe resort to the use of gas stoves when there is a power outage. However, you still need to iron your clothes and with an electric iron being the only option available one needs to think outside the box. This post shows you, in pictures, how to use the iron with a gas stove.

1. Light the gas stove and place the electric iron making sure that the flames do not reach the plastic parts of the iron.

2. Keep the iron on the stove for a minute or so or until it's warm enough.

3. If you do it right, your electric iron will still function when you connect it to the grid.

How To List Your Business Online

Have you created an online strategy yet? If yes, I bet listing your business is among some of your top priorities as an online presence is essential for any business to thrive in this digital era. In this article I will show you how to list your business in a few minutes. But before I do that, let me delve into the advantages first.

I will give a few examples of some of the benefits of listing your business starting with touch points.

Increase in Touch Points. You create more touch points or chance of people interacting with you business. This also means an increase in lead generation

Convenience to Existing Customers.  Technology makes our lives easier. By embracing technology as a business, you tend to bring convenience to your customers. This improves customer retention. Satisfied customers are likely to recommend your services or products by word of mouth (WOM).

Cutting down on Expenses. The traditional form of advertising is more expensive than digital marketing. There by …