Currently browsing category

Programming Tips & Tricks

ipc

Inter Process Communications Technologies

A networked platform is actually only part of the story. Although networking solutions permitted PCs to communicate with each other and share resources such as printers and disks, applications needed to be able to send and receive data and coordinate their actions with other applications running at the same time on other computers. …

CPlusPlus

A Brief History of C++

Nowadays computers are able to perform many different tasks, from simple mathematical operations to sophisticated animated simulations. But the computer does not create these tasks by itself; these are performed following a series of predefined instructions called computer languages. A computer language is a set of instructions and a series …

UCsim

uCsim the 8051 simulator for SDCC

uCsim: the 8051 simulator for SDCC uCsim is a microcontroller simulator for SDCC. It is free and opensource under GNU GPL. Currently it supports MCS51 family. AVR core, Z80, HC08 and XA are supported by UNIX version only. For the 8051, the recognized types are: 51, 8051, 8751, C51, 80C51, …

0

Missionaries and Cannibals problem in AI

Introduction Missionaries      and   Cannibals    problem     is very  famous      in  Artificial  Intelligence    because    it was     the   subject     of   the    first  paper     that  approached       problem   formulation   from   an analytical   viewpoint.     The   problem   can   be   stated   as   follow.   Three   missionaries   and   three cannibals are on one side of a river, along with a …

assert

assert()

void assert (int expression); Evaluate assertion If the argument expression of this macro with functional form compares equal to zero (i.e., the expression is false), a message is written to the standard error device and abort is called, terminating the program execution. The specifics of the message shown depend on the specific implementation in …

c-cpp

Assigning Values to An Array After Declaration

Once an array has been declared, it is good to know less tedious way of assigning values to its members than the following: iaMyArray[0]=8; iaMyArray[1]=3; iaMyArray[2]=4; iaMyArray[3]=0; iaMyArray[4]=0; iaMyArray[5]=1; iaMyArray[6]=8; iaMyArray[7]=8; You can initialize arrays on their declaration but when you want your array to be initialised differently according to …

arm_logo

Why am I getting a FLEXlm -15 license error, even though my license server is running?

Answer If you get the following error message on your client when you try to use a licensed feature, even though your license server has definitely been started, then the communication between the server and client has probably been blocked. “<command line>”: Error: A1439E: Cannot obtain license for “<featurename>” with license …