Archive for category Code Uncode

Beginning iPhone App Dev Issues: Part 2 (Running App on the device issues)

iPhone development is fun most of the time, but can be more than frustrating at times as well. Apple didn’t make the running app on the device a simple task. A developer has to deal with a lot of things like AppIDs, identifiers, certificates and Provisioning profiles before he/she is able to see it running [...]

Tags: , , , , , , ,

Beginning iPhone App Dev Issues: Part 1 (viewDidLoad, viewWillAppear and didReceiveMemoryWarning)

iPhone app development is one of the most exciting and interesting work sector these days. The very initial iPhone app developers were mostly veteran Mac OS application developers, but as time progressed and the app store started climbing the peak, more and more software developers and even non-developers started getting into the field. Being a [...]

Tags: , , , , , , ,

SAP WorkFlows !!! from Scratch

SAP is a multinational software development and consulting firm, providing enterprise softwares and support to Global organizations. SAP Business Workflows can be used to define business processes that are not yet mapped in SAP R/3 system. Workflows may include simple procedures, or complex business processes, run once or several times in a day. This post [...]

Tags: , , , , , , , , ,

Yet another rant on new/delete and malloc/free

malloc returns void pointer to the starting memory address of the allocated memory upon successful memory allocation. Depending upon compiler you might also have to type-cast it. However, for portability it is always good idea to type cast it. One thing which I see most people not following when using malloc is “error-check”. It is [...]

Tags: , , , , , , , , , , ,

Common mistake when mixing C with C++

Consider a scenario where you are working with UNIX sockets. Sending/Receiving data across the network. Now, it is good practice to always send data as a “packet” instead of just array of char. Now following good practice of sending packet(structure/class) across the connection suppose we have a packet like this: enum { DEFAULT, LOGIN } [...]

Tags: , , , , , , ,