infolink

Wednesday 28 May 2014

Write data in text file C++ Filling



To read and write data into file is called filling. Here you learn how to write data in text file.
First include fstream library.

#include <fstream>

#include <fstream>
 Then in the main function make an object of ofstream and pass the text file name with extention as a parameter to object like this:

ofstream myfile("items_file.txt");

After that open this file and write data in the file.


Example:

Monday 26 May 2014

An error has occurred during Report Processing



Error:


An error has occurred during report processing. Exception has been thrown by the target of an invocation. Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

An error has occurred during report processing. Exception has been thrown by the target of an invocation. Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

An error has occurred during Report Processing
This tutorial is about how to solve the above mention error. This error is occurred when the unique, foreign-key field is existing in Table Adapter of DataSet. And this Table Adapter is used in the report Data Source. 

DataSet Table Adapter
Table Adapter

Solution:

Tuesday 13 May 2014

C++ Library Management System Project (LMS)

C++ Library Management System Project

C++ Library Management System Project (LMS)


Library system Features/Methods:

  1. Add Book
  2. Add Teachers
  3. Add Students
  4. Issue book to teachers
  5. Issue book to student
  6. Return book from teachers
  7. Return book from students
  8. Display all books
  9. Display all teachers
  10. Display all students
  11. Check book is issued or not?
  12. Check all issued books