token.phrase.structure.grammar.syntax.

Token. something serving as an indication,proof,or expression of something else. Phrase. Two or more words in sequence that form a syntactic unit that is less than a complete sentence. Structure. mode of arrangement of parts. Grammar. The elements of any science , art , or subject. Syntax. The study of rules for the formation of …

object oriented programming

Class Definition Related div.entry h2.title, div.entry h1.title { padding-bottom: 22px; background-color: #4e9258 ; font-family: serif; font-size:150%;} Object-oriented programming (OOP) is a programming paradigm that uses “objects” – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs Reference/Source: http://en.wikipedia.org/wiki/Object-oriented_programming Code Exposition p.first{ color: blue; } p.second{ …

gcc limits and -Wformat

#include <stdio.h> #include <limits.h> int main (void) { unsigned long ul = LONG_MAX; short int si = SHRT_MIN; printf (“%d\n”, ul); printf (“%s\n”, si); return 0; } $gcc printme.c $./a.out -1 Segmentation fault $gcc printme.c -Wformat printme.c: In function ‘main’: printme.c:7: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’ …