Home » Archives for September, 2009
Why Human Resource Management concerned with us?
Why Human Resource Management concerned with us?
Get results with the help of others:
In order to achieve organization objectives, there are different techniques that help manager to oversee the performance of employees in required direction. Effective human resources management is required to get things done by the manager through the efforts of working in an organization.
Avoid Common Personnel Mistakes:
To...
Importance and Factors of Human Resource Management
Importance of HRM
Now a day the organization’s success depends on people-embodied, knowledge, skill and abilities embedded in the members of organization. These abilities and skills are the foundation of an organization’s core competencies.
To create organizations and help them to survive, HRM plays a very important role. We are living in an organizational world and surrounded by organizations....
What is Human Resource Management?
What is Human Resource Management?
Every organization consists of three basic components i.e. Purpose, People and Structure. Human Resource Management (HRM) is the study of activities undertaken by the people working in an organization. HRM is the management of individuals working in an organization. It is particularly related to human/person can say it is the management of people. It is a managerial...
Put Function in C++
Put Function in C++:
The “put” function is used to write a single character at a time into formatted (or sequential) input/output file.
The syntax of this member function is:
object.put (character);
Where:
Object: represents an object of ofstream (or fstream) class.
Put: represents a member function of the object.
Character: ...
C++ Detecting end of file
C++ Detecting end of file:
The “eof” stands for “end-of-file”. It specifics the end of last record of the file.
The “eof” is a member function of object of ifstream (or fstream) class and it is used to detect the end-of-file. This function returns true value (or 1) if the end-of-file is reached otherwise it returns false value (or 0).
Normally...
Reading Data from a File in C++
Reading Data from a File in C++:
The data written or stored in a formatted input/output file is read back from the tile into the memory in the same order in which it is stored. The data from the file is read by opening the file in input mode. For this purpose, an object of ifstream (or fstream) class is created and the same data tile in which records are stored is attached with...
Writing Data into a File in C++
Writing Data into a File in C++:
The insertion operator (<<) is used with “cout” object to send output to the screen. The same operator is used with the object created by ofstream (or fstream) class to send the output to the data tile on the disk. When the program ends, the object created for the file is also destroyed and the data file attached with the object is automatically...
Formatted Input Output in C++
Formatted Input Output in C++:
In formatted input/output data is stored in the file as a series of characters. One character or digit takes one byte to store n the disk. Thus the number 216.98 takes 6 bytes —one byte for each digit, including the decimal point. Similarly, data or records from these files are accessed in the same order in which they arc written on the disk.
...
cerr C++
The “cerr” Object:
The “cerr” object is usually used for printing error messages. This object is similar to “cout” object. The difference is that unlike “cout” object, the output sent by the “cerr” object is not buffered and is displayed immediately. Thus there is a better chance of it being displayed.
The open operation can he tested...
File Operations in C++
File Operations in C++:
The data files can he opened into different modes. These modes are defined in “ios” class. The resolution operator (::) is used between the “ios” and the mode code. The different file operation modes and their uses are:
ios : : out Opens file in output mode to write data into the file. If the file with same name already exists on the...