C & C grocery store currently operates under a goal approach. They were committed to customer service and satisfaction. This approach provided the grocery chain with the profitability and growth they strived to obtain. The stores operative goals were attained and the chain had over 200 stores in operation. For years overall performance for C & C was excellent and came with ease. Unfortunately employee development and innovation and change weren't a top priority and it began to show. To remain successful C & C had to outsource and get advice from a team of consultants. The team dissected the company from top to bottom and advised the chain to implement an internal approach to go along with the goal approach. Implementing the internal approach will give the store managers full control of their stores which they do not currently possess. The store managers should be knowledgeable in all areas of the store to be able to fully communicate with staff. It was difficult for the district managers to give each store location the time and attention they needed when they were responsible for several other stores. Giving store managers more responsibility was a terrific idea of the consultants because the store managers have more day to day customer and employee interaction and could better assist needs. C & C was in desperate need of providing employee training and development. Cross training is beneficial for company as well as employees. Employees get the opportunity to learn other job positions and have the ability for advancement opportunities within the company. The company benefits from cross training because it provides flexibility if a store is short staffed, and it provides empowerment. A store full of happy employees from management down will give more incentive to continue to provide excellent customer service and satisfaction.

The consulting team served as an analyzer and was very beneficial because they also encouraged C & C grocery to take on a focus...

...fundamental data types have pre-defined operators associated with them. For example, the C++ data type int, together with the operators +, -, *, and /, provides an implementation of the mathematical concepts of an integer. To make a user-defined data type as natural as a fundamental data type, the user-defined data type must be associated with the appropriate set of operators.
Memory management operators
* new (allocate memory for object)
* new[ ] (allocate memory for array)
* delete (deallocate memory for object)
* delete[ ] (deallocate memory for array)
The memory management operators can be overloaded to customize allocation and deallocation (e.g. to insert pertinent memory headers). They should behave as expected, new should return a pointer to a newly allocated object on the heap, delete should deallocate memory, ignoring a NULL argument. To overload new, several rules must be followed:
* new must be a member function
* the return type must be void*
* the first explicit parameter must be a size_t value
To overload delete there are also conditions:
* delete must be a member function (and cannot be virtual)
* the return type must be void
* there are only two forms available for the parameter list, and only one of the forms may appear in a class:
* void*
* void*, size_t
Program implementing new and delete operator overloading in C++.
#include &lt;iostream&gt;
#include...

...questions on ANSI C. PART - A
With every use of a memory allocation function, what function should be used to release allocated memory which is no longer needed? a.) b.) c.) d.) unalloc() dealloc() release() free()
What will print when the sample code above is executed? a.) b.) c.) d.) y= y= Compiler Error y=
The definition of a above explicitly initializes its first four elements. Which one of the following describes how the compiler treats the remaining four elements? a.) The remaining elements are initialized to zero(0). b.) It is illegal to initialize only a portion of the array. Either the entire array must be initialized, or no part of it may be initialized. c.) As with an enum, the compiler assigns values to the remaining elements by counting up from the last explicitly initialized element. The final four elements will acquire the values 4, 5, 6, and 7, respectively. d.) They are left in an uninitialized state; their values cannot be relied upon.
Which one of the following functions is the correct choice for moving blocks of binary data that are of arbitrary size and position in memory? a.) b.) c.) d.) memcpy() memset() strcpy() memmove()
What value does testarray[2][1][0] in the sample code above contain? a.) b.) c.) d.) 5 7 9 11
Which one of the following provides conceptual support for function calls? a.) b.) c.) d.) The system stack The data...

...History of C+
The creation of C++ was first put into motion in 1979 by its creator Bjarne Stroustrup. Bjarne was working on his PhD thesis at Cambridge University. He was using a large and detailed simulator, that he had written in Simula, to simulate running software over a network of computers. He found programming in Simula enjoyable and was impressed by how the programs class structure helped him organize his code. As the size of his program increased, he found that the language became increasingly more helpful.
Simula's class structure allowed him to organize his program as a collection of smaller programs, which made programs easier to read, write, debug, and maintain. However, when it came to the implementation of his Simula program, his project nearly ended in disaster. "It took longer to compile 1/30th of the program and link it to a precompiled version of the rest than it took to compile and link the program as a monolith"(Stroustrup, 1993, p. 3). The runtime of the program was simply unacceptable; to keep from having to scrap the project Stroustrup rewrote his simulator in BCPL (an early version of C). Stroustrup had a horrible experience programming in BCPL, however the simulator did run at acceptable speeds. Stroustrup vowed never again to take a project with inadequate programming tools. As a result, Stroustrup began working on a new programming language that combined the Object oriented features of Simula67 and...

...OBJECT ORIENTED
PROGRAMMING (OOP)
USING C++
A QUESTION BANK
Chinmay D.Bhamare
2014
CHINMAY D BHAMARE,CHALISGAON
Its my first Object Oriented Programming (OOP)
language Question Bank. In this notes all types of
question are available related to c++. Most of the
questions are related to BCA syllabus.
So enjoy this notes and make your study easy
- chinmay D. Bhamare
(Smt.S.M.Agrrawal Inst.Of Mgt.,Chalisgaon)
Write Ans. Of Following Question .
What is class?
The class is one of the defining ideas of object-oriented programming. Among the important
ideas about classes are:



A class can have subclasses that can inherit all or some of the characteristics of the class. In
relation to each subclass, the class becomes the superclass.
Subclasses can also define their own methods and variables that are not part of their
superclass.
The structure of a class and its subclasses is called the class hierarchy.
Data Types ?
Boolean –bool
Character -char
Integer -int
Floating point- float
Double floating point- double
Valueless- void
Wide Character –wchar_t
What is Object ?
A class provides the blueprints for objects, so basically an object is created from a
class. We declare objects of a class with exactly the same sort of declaration that we
declare variables of basic types. Following statements declare two objects of class Box:
Box Box1;
Box Box2;
// Declare Box1 of type Box
// Declare Box2 of type...

...Advantages
• Programming test
• Bibliography
INTRODUCTION
C++ (pronounced "See plus plus") is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features.[1] It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement to the C programming language and originally named "C with Classes". It was renamed to C++ in 1983.
C++ is widely used in the software industry, and remains one of the most popular languages ever created. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. Several groups provide both free and proprietary C++ compiler software, including the GNU Project, Microsoft, Intel, Borland and others.
C++ is also used for hardware design, where design is initially described in C++, then analyzed, architecturally constrained, and scheduled to create a register transfer level hardware description language via high-level synthesis.
The language began as enhancements to C, first adding classes, then virtual functions, operator overloading, multiple inheritance, templates, and exception...

...How to use Dev-C++
Introduction
Dev-C++ is a full-featured integrated development environment (IDE), which is able to create Windows or DOS-based C/C++ programs using the Mingw compiler system (included with the package), or the Cygwin compiler. These are the recommended requirements of Dev-C++: Microsoft Windows 98, NT or 2000 32 MB RAM 233 Mhz Intel compatible CPU 45 MB free disk space Dev-C++ allows you to write, compile and run a C or C++ program. C++ programming language is an enhanced version of C language that provides object-oriented programming (OOP) capabilities. It is a superset of C, which means that you can use a C++ compiler to compile C programs. Object oriented programming techniques differ significantly from the sequential programming used in C programming language. Although a C++ compiler like Dev-C++ allows you to compile a C program that includes some features of C++, in this course we will concentrate on C programming language. A program written in pure C language may be compiled and run using other C compilers, like Turbo C etc.
Dev-C++ interface
When you click on the Dev-C++ icon window opens (Figure 1). on your...