Categories
C and C++ → Tips and Tutorials

What are the basics of main()

function main() is the application''s main routine where a program starts execution.It is the first user-written function run when a program starts.Object-oriented C++ programs consist mostly of classes, but there''s always at least one C-l...
  • Platforms
    • Linux,
    • Windows
  • Licenses
    • Freeware
DETAILS

qsort: sorting array of strings, integers and structs

qsort() is standard C function for sorting arrays. It is defined by ISO C standard, and implemented in most C/C++ standard libraries(stdlib.h). This article contains an example of using qsort() for sorting integers, strings and structs.
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX,
    • Sun Solaris
  • Licenses
    • Other Free / Open Source License
DETAILS

Graphics.h - C Language Reference

Graphics programming in C Language is discussed rarely. This tutorial discusses some important functions of graphics.h in C Language, at the end there is a simple program to demonstrate the use of graphics functions.
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX,
    • Sun Solaris
  • Licenses
    • Freeware
DETAILS

C++ dynamic array template class

This article provides example of dynamic array implementation using C++ templates. It uses standard malloc/realloc memory allocation functions and simple &"doubling size&" resizing strategy. Our AeDynArray class interface resembles ...
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX,
    • Sun Solaris
  • Licenses
    • Other Free / Open Source License
DETAILS

Referral Spam with C#

How to write a referal spam application. Its a good introduction to web browser control and C# in general.
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

C Language - The Preprocessor

In this tutorial you will learn about C Language - The Preprocessor, Preprocessor directives, Macros, #define identifier string, Simple macro substitution, Macros as arguments, Nesting of macros, Undefining a macro and File inclusion.
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

C Programming - File Management

In this tutorial you will learn about C Programming - File management in C, File operation functions in C, Defining and opening a file, Closing a file, The getw and putw functions, The fprintf && fscanf functions, Random access to files and f...
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

C Programming - Linked Lists

In this tutorial you will learn about C Programming - Linked Lists, Structure, Advantages of Linked List, Types of linked list and Applications of linked lists. A linked list is called so because each of items in the list is a part of a structu...
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

C Programming - Dynamic Memory Allocation

In this tutorial you will learn about C Programming - Dynamic Memory Allocation, Dynamic memory allocation. Memory allocations process, Allocating a block of memory, Allocating multiple blocks of memory, Releasing the used space and To alter the size...
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

C Programming - Structures and Unions

In this tutorial you will learn about C Programming - Structures and Unions, Giving values to members, Initializing structure, Functions and structures, Passing structure to elements to functions, Passing entire function to functions, Arrays of struc...
  • Platforms
    • Windows
  • Licenses
    • Freeware
DETAILS

Page:
©2003-2019 jCay.com