The Right time to use Struct, Pointer, Function and Array

Struct Struct is a data type that can perform multiple data storage interlinked (such as name, id number, age) as a whole. Struct consists of several members, members of the struct called members, and members can also be called a regular variable. Members in a structure may consist of different data types, such as pointers, integer, character, and others. Here is an example of structure. the general form: struct Tag...

Posted by
Unknown

More

How to Install Qt Creator and SDL in Windows

How To Install Qt Creator Whether you are creating a mobile app, desktop application or a connected embedded device, Qt Creator is the cross-platform IDE that makes application and UI development a breeze. Since time-to-market is key, the IDE includes productivity tools that speed up your development time. Here is step by step to install Qt Creator in Windows : 1.  You must have Qt Creator...

Posted by
Unknown

More

The Explanation About Stdarg in C

#Include <Stdarg.h> To declare a function that will use a variable number of arguments, you must make sure you have at least one defined argument in the argument list; that is, a specific argument with a name and type associated with it. You can have as many real arguments as you would like; you just have to have at least one. Following the last defined argument, you should place the C-symbol that indicates...

Posted by
Unknown

More

The Explanation About File in C

           To use file I/O in C, you generally have stdio.h included at the top of your file (most C programs include this anyway): #include <stdio.h>            In C, you declare a file pointer variable for any file you want to use. For example, the following line declares a file pointer variable called "infile"...

Posted by
Unknown

More

Array in C

         There are times when we need to store a complete list of numbers or other data items. You could do this by creating as many individual variables as would be needed for the job, but this is a hard and tedious process. For example, suppose you want to read in five numbers and print them out in reverse order. You could do it the hard way as: main(){    ...

Posted by
Unknown

More

Recursion

Recursion is the process of defining a problem (or the solution to a problem) in terms of (a simpler version of) itself. For example, we can define the operation "find your way home" as:     - If you are at home, stop moving.     - Take one step toward home.     - "find your way home".        Here the solution to finding your way home is two steps (three...

Posted by
Unknown

More
Diberdayakan oleh Blogger.

Text Widget

Popular Posts

Recent Posts

Copyright © 2025/ Learn About C / C++

Template by : Urangkurai / powered by :blogger