Thursday, 20 November 2014
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>
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
|
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.
Table Adapter |
Solution:
Tuesday, 13 May 2014
C++ Library Management System Project (LMS)
C++ Library Management System Project (LMS)
|
Library system Features/Methods:
- Add Book
- Add Teachers
- Add Students
- Issue book to teachers
- Issue book to student
- Return book from teachers
- Return book from students
- Display all books
- Display all teachers
- Display all students
- Check book is issued or not?
- Check all issued books
Friday, 14 March 2014
C++ Banking System Project
Here is a small Bank system using C++. It is not a
professional Bank process system. Basically this tutorial is about learning C++.
It is a Small C++ course project and C++ basic syntax and structure cover on
it.
C++ Banking system features/Methods:
- Login Authentication - 4 logins with user name & password
- Account Open
- Deposit amount
- Withdraw amount
- Display all accounts
- Search account by CNIC No
Saturday, 8 March 2014
Calculator Tutorial in JavaScript
This tutorial is about a web base simple calculator which is created
in HTML and JavaScript language. JavaScript is very simple and intelligent
language. It is a scripting language based on client-side scripting. You can
use this script in anywhere on HTML page.
This tutorial is covering all the simple calculator
functionality, like Addition, Subtraction, division,
multiplication. Its functionality is similar to Windows calculator.
multiplication. Its functionality is similar to Windows calculator.
Calculator Tutorial in JavaScript:
Saturday, 11 January 2014
Display data from database depending on selected drop down value
Hi friends this tutorial is about how to display data from database depending on selected drop down value in PHP. Normally have different ways for this work. Here i am using very simple way.
Through java script it is very simple to display data from database depending on selected drop down value.
In this tutorial i use a very simple example like when you select a class from drop down list then all the students of that particular class will display.
Through java script it is very simple to display data from database depending on selected drop down value.
In this tutorial i use a very simple example like when you select a class from drop down list then all the students of that particular class will display.
Now let's start the tutorial:
First of all we create three .PHP files.- connection.php // make connection to database
- index.php // for view class and students.
- get_student.php // get data from database and display on index.php file
Tuesday, 7 January 2014
Populate Select List PHP Mysql
This tutorial is about to "Populate Select List" in PHP using MySQL. Get values which you want to populate into DropDownList, Combobox or Select List from MySQL through query, and then these values add into Select List using PHP code.
Too many ways to populate or bind the Select List, DropDownList, Combobox.
Too many ways to populate or bind the Select List, DropDownList, Combobox.
Steps to Populate Select List:
Subscribe to:
Posts (Atom)