openasthra tidbits

C/C++ Tidbits | Home

Swapping nodes in a single linked list

Balanced (AVL) Binary Search Trees

Printing Binary Trees in Ascii

Binary Search Trees

Safe String Copy(strcpy) and Concatenate(strcat) Operations

i64toa - Converts a 64 bit integer to string

Circular Linked Lists

Printing linked List in Reverse without Reversing The List Actually

Sorting a Linked List with QuickSort - Simple Algorithm

Sorting a Linked List with Selection Sort

Detecting a loop in single linked list

Printing array spirally - recursive routine

Why sizeof is an operator, not a function?

What is allowed in C, but not in C++?

Linked Lists

Sorting A Linked List with Bubble Sort

C++ Basics - Tutorial

Reversing a double linked list

Detecting broken links in double linked list

Stream buffering

Reversing a single linked list using stack

Reversing single linked list recursively

inline bool isprime()

Unsigned long long (uint64) to string (ulltostr)

ANSI C Vs K&R C

A tip for writing conditional statements

A note on using Unions

Reversing a circular single linked list using pointers

Circular Doubly Linked List With Out Using Special Head or Tail Node

A Simple Timer…

Palindrome Checker

String Reversal

Printing array spirally - c program

ASCII Case Conversion

How to distinguish parameter passing techniques?

Data types in C

Dynamic width and precision in printf

Stdarg: Variable Arguments

Binary Streams Utility Classes

UTF8 To Unicode conversion program

gettimeofday function for windows

Unsigned long to string (ultostr)

Bad Standard APIs

Different signature problem with extern variables

Remove Characters within a String

Reverse Words in a String (In-Place)

String to Integer (atoi)

Max Sum between two array indexes

Find out a number is prime number or not?

Print In Reverse-Order

Program that prints itself

Optimization by loop re-factoring

char** from static variables

Stack

Binary to decimal

Convert integer to binary string

Advanced Test in C: The 0×0A Best Questions for C Programmers

Calling conventions on the x86 platform

A simple window application

Double Linked List With Out Using Special Head or Tail Node

Using the auto_ptr concept in C++

const correctness

Swapping variables without additional space

Implicit Type Conversions - part 2

Implicit Type Conversions

Program Linkage

Name Mangling

C Obscurity Tests (with reasons behind them)

Sorting a Linked List

Increment(++) and decrement(–) operations

Static volatile const int x=1 valid ?

Find Max and Min of two integers without branching

Convert Unicode to Utf8

Swap Bits in a Byte without using any extra variable

Convert DOS, UNIX, APPLE Line Feeds and Carriage Returns (CR, LF)

Reference Counting

Reverse linked list using pointers

Binary decimal conversion….

Displaying execution time of a program

Finding endianness

String Pattern Matching: Write a function that checks for a given pattern at the end of a given string


(c) OpenAsthra