Créer un compte gratuit Rejoignez Calaméo pour publier et partager vos documents !
Notez et commentez vos publications favorites, téléchargez des documents, partagez vos lectures avec vos amis.
sgganesh

sgganesh  >  My publications

Inde
 
Membre depuis 3 an(s)
 
Affichage :
"Cracking the C, C++ and Java Interview" book brochure

Pages : 2649780070077928 Price : Rs. 250. 00 Professional July 2009 CRACKING THE C, C++CRACKING THE C, C++ AND JAVA INTERVIEWAND JAVA INTERVIEW 9780070077928 Pages : 264 Price : Rs. 250. 00 S G Ganesh is currently working at Siemens, Bangalore. He has also authored the book 60 Tips on Object Oriented Programming. PRIVACY NOTICE:... Plus

Par

Document Adobe PDF

Publiée le 2 Sept. 2009

Pages: 1

Lectures: 104

Téléchargements: 0

12-JoP-Dec-07

122 DECEMBER 2007 | LINUX FOR YOU | www. linuxforu. com C M Y K recently read an interesting article [C++ Report, Vol. 6, no. 3, ‘How to write buggy programs’ by Andrew Koenig], which is about writing incorrect programs. I’ve taken the following (slightly modified) piece of code from that article to illustrate how compiler... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 1

Lectures: 5

Téléchargements: 0

Table of contents - 60 tips on OOP book

TABLE OF CONTENTS Class Design 1. Provide consistent and intuitive class interface. 5 2. Provide common properties of classes in a base class. 9 3. Do not expose implementation details in the public interface of the class. 12 4. Consider providing helper classes while designing large classes. 14 5. Keep the data members... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 3

Lectures: 12

Téléchargements: 0

Writing-Efficient-Code-Feb-08

12 February 2008 | LINuX For you | www. openITis. com c m y k Insight hen can we write highly efficient code? It is when we understand how the underlying machine works and make best use of that knowledge. One well-known way to write highly efficient code is to write code in assembly. There are many disadvantages with this; for... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 3

Lectures: 15

Téléchargements: 0

06-JoP-June-07

www. linuxforu. com | LINUX FOR YOU | JUNE 2007 C M Y K 87 I n my previous column, we saw some of the pitfalls of using + and – operators to swap two variables without using a temporary variable: *i = *i + *j; *j = *i - *j; *i = *i - *j; Think about the logic in using + and – for such swapping. Can we use any other operators for... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 1

Lectures: 2

Téléchargements: 0

UnderstandingAndUsingReflection

Understanding and Using Reflection Summary: Reflection is a powerful language feature. Java supports ‘structural-reflection’, which is safe to use. With reflection, it is possible to do two basic types of operations on code: inspection and manipulation. Reflection enables using ‘signature based polymorphism’ as an... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 8

Lectures: 4

Téléchargements: 0

19-JoP-July-08

juLY 2008 | LINuX For You | www. openITis. com12 S. G. GaneSh The Joy of Programming L ast month, we introduced a problem in Java: given two integers i and j, the following statement does not swap the values of two variables correctly i ^= (j ^= (i ^= j)). To understand what is happening, let us analyse the byte code generated for... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 1

Lectures: 5

Téléchargements: 0

27-JoP-Mar-09

12  |  March 2009 | LINUX For YoU | www. openITis. com S. G. Ganesh The Joy of Programming  | Guest Column  I nteger overflow happens because computers use fixed width to represent integers. So which are the operations that result in overflow? Bitwise and logical operations cannot overflow, while cast and arithmetic... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 1

Lectures: 1

Téléchargements: 0

Java-Multithreading

12 MARCH 2008 | LINUX FoR YoU | www. openITis. com c m y k Multi-threading Let’s get the basics of multithreaded programming in Java, and then write some simple programs. Overview An Introduction to

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 4

Lectures: 15

Téléchargements: 0

13-JoP-Jan-08

www. linuxforu. com | LINUX FOR YOU | JANUARY 2008 C M Y K 127 1) This program had an assertion failure. Why? struct bitfield { signed int b : 1; } bit; int main() { bit. b = 1; assert(bit. b == 1); } 2) This function worked fine for many years and suddenly, for some value of i, the assertion failed. What was that value of i for... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 1

Lectures: 2

Téléchargements: 0

Presentations-UnusualJavaBugsAndDetectingThemUsingFOSSTools

Unusual Java Bugs and Fighting them Using FOSS Tools S G Ganesh Research Engineer Siemens (Corporate Technology), Bangalore Open Source India Week The TechZone: Developer Track—Bangalore 12-Feb-2008

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 31

Lectures: 2

Téléchargements: 0

AnIntroductionToC++Templates

An Introduction to C++ Templates Why Templates? Generic programming has become a dominant programming paradigm in C++, particularly after the incorporation of the Standard Template Library (STL) as part of the standard library in 1996. Templates - the language feature that supports generic programming in C++ - was originally conceived... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 5

Lectures: 2

Téléchargements: 0

07-JoP-Jul-07

www. linuxforu. com | LINUX FOR YOU | JULY 2007 C M Y K 87 MMMMM ost of us associate C, or any other programming language for that matter, with serious coding. However, programs can also be written just for fun or aesthetic purposes—like drawing interesting patterns or pictures. ASCII art refers to drawing pictures using only... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 1

Lectures: 5

Téléchargements: 0

MotivationExtract

Believe in the Beauty of Your Dreams Charles was born in a poor family and lived in streets. He attended school only for four years and barely knew to read and write. The kid s burning desire was to become a writer, but everything seemed to be against him and the difficulties seemed insurmountable. He found a job in a warehouse and... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 2

Lectures: 0

Téléchargements: 0

20-JoP-Aug-08

www. openITis. com | LINUX For YoU | AUgUsT 2008 83 S. G. GaneSh The Joy of Programming 1 .   Which operator in C can result in a ‘divide by  zero’ error other than the / (division) operator? 2.   The conditional operator (? :) is equivalent to ... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 1

Lectures: 2

Téléchargements: 0

01-JoP-Jan-07

www. linuxforu. com | LINUX FOR YOU | JANUARY 2007 C M Y K 119 Quines Write a program that prints the source code of that program itself (such programs are known as ‘quines’). The solution need not be generic; it is enough that the program written prints itself. Note:Note:Note:Note:Note: You should not resort to shortcuts such as... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 1

Lectures: 12

Téléchargements: 0

JDJ-FOSS-Java-Tools

JDJ. SYS-CON. com10 May 2008 ny large Java source base can have insidious and subtle bugs. Every experienced Java programmer knows that finding and fixing these bugs can be difficult and costly. Fortunately, there are a large number of free open source Java tools available that can be used to find and fix defects early in the... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 4

Lectures: 6

Téléchargements: 0

14-JoP-Feb-08

c m y k 127www. openITis. com | LINUX For YoU | FebrUarY 2008 In the following programs, assume that necessary header files are included. Q1. Will this program result in an assertion failure? int main() { assert(sizeof(void *) == sizeof(int *)); assert(sizeof(int *) == sizeof(int **)); } Q2. What will this program print? int main()... Plus

Par

Document Adobe PDF

Publiée le 7 Juin 2009

Pages: 3

Lectures: 0

Téléchargements: 0