Sunday, September 29, 2013

C# Tutorial 89: How to Publish an Application in C# and Make the Install...















--------------------------------------------------------------------
How to Create Installation Setup for Your C# Application Project
Howto make setup file from project in VS2012 C#
How to Create an Installer For a WinForm Application
How to make an installer for my C# application?
How can I deploy a C# application
Deploying a C# application
Visual Studio Create Setup project
How to make setup file using VS 2010 in C# window forms
How do I create setup in c#
Create a simple installer from Visual Studio
How make Setup installation file of my Completed C# project
Make an Installation program for C# applications
C# publish application properties

How to use Cmake with Qt Creator for Building C++ programs


















------------------------------------------------------------
How to install cmake on ubuntu linux
Using CMake to Build Qt Projects ubuntu
c++  Using Cmake with Qt Creator ubuntu linux
c++  cmake does not find qt 5.1.1 ubuntu
c++ Error while building custom Qt library with CMake
Qt Creator, CMake and C++/Qt
Using CMake to build a Qt application
"Hello World !" using Qt with CMake
Configuring CMake for QT development

How to install Qt Creator and SDK on Linux Ubuntu
















---------------------------------------------------
How to Install Qt SDK on Ubuntu Linux
Ubuntu 12.04 to 13.04 Install Qt Creator and SDK
How to install qt sdk Ubuntu
Installing Qt SDK on Linux
How to install Qt Creator Ubuntu
Download Qt, the cross-platform application framework Ubuntu
Searches related to qt install
Installing Qt for Windows
qt install windows
Searches related to qt gui tutorial
qt gui tutorial python
qt gui tutorial linux
qt gui tutorial c++
qt creator gui tutorial
qt c++ gui tutorial
python qt gui tutorial
qt4 tutorial
qt designer examples
qt linux install
qt install plugin
qt install tutorial
qt install x11
qt install mac
qt install instructions
qt install event filter
How can I install Qt 5.x on
Qt Installer Framework
How to Install Qt SDK on windows

How to Install Node.js on Ubuntu













-------------------------------------------------------------------------
Installing Node.js
How to Install Node.js
installation - How do I install the latest version of node.js
Installing Node.js on Ubuntu
How to install latest version of Node.js on Ubuntu
Searches related to how to install node.js on ubuntu
install node.js debian
sudo apt-get install nodejs
sudo apt-get install node
ubuntu npm
ubuntu nodejs package
apt-get node js ubuntu
apt-get node
debian squeeze nodejs
How to install the latest node.js on Ubuntu

Tuesday, September 24, 2013

How do I create a backup image of an SD card Ubuntu Linux

How to make a image of a SD card ubuntu Linux

Step-1
Insert the SD card/USB stick in your computer
Now give the following command to find out the SD card in your system
# df –h

you will get a response like /dev/XXXXX  e.g  /dev/sdb1

Step 2
We must unmunt the Device whose image we want to make .So give the following command to unmount the device
# umount /dev/XXXXX 

Step-3
Now we are ready to make the image
give the following command to make the image called sdimage.img in you designated folder.
# sudo dd if=/deve/XXX of=~/sdimage.img 
 
The image can take few minutes(10 to 20 min.) to be fully ready .So wait for some time and don't worry if you don't see any response for some time.

Now your image of SD card is ready.

Step-4
If you want to transfer the image you have to another SD card follow the commands below
1.) change SD CARD !!!!!
2.) # umount /dev/XXXXX
3.) # sudo dd if=~/sdimage.img of= /deve/XXX 







-------------------------------------------------------------------
 image to SD card from Ubuntu
SD card clone using dd command
Create SD Card image 
Creating a copy of an SD image with Ubuntu
Searches related to make image of sd card ubuntu
create bootable sd card ubuntu
create sd card image windows
create sd card image mac
Step-by-step Ubuntu SD Card Setup 

Sunday, September 22, 2013

Write a C++ Program Banking Record System

Banking Record System in C++





#include<iostream>
#include<fstream>
#include<cstdlib>
using std::cout;
using std::cin;
using std::endl;
using std::fstream;
using std::ofstream;
using std::ifstream;
using std::ios;
class account_query
{
    private:
        char account_number[20];
        char firstName[10];
        char lastName[10];
        float total_Balance;
    public:
        void read_data();
        void show_data();
        void write_rec();
        void read_rec();
        void search_rec();
        void edit_rec();
        void delete_rec();
};
void account_query::read_data()
{
    cout<<"\nEnter Account Number: ";
    cin>>account_number;
    cout<<"Enter First Name: ";
    cin>>firstName;
    cout<<"Enter Last Name: ";
    cin>>lastName;
    cout<<"Enter Balance: ";
    cin>>total_Balance;
    cout<<endl;
}
void account_query::show_data()
{
    cout<<"Account Number: "<<account_number<<endl;
    cout<<"First Name: "<<firstName<<endl;
    cout<<"Last Name: "<<lastName<<endl;
    cout<<"Current Balance: Rs.  "<<total_Balance<<endl;
    cout<<"-------------------------------"<<endl;
}
void account_query::write_rec()
{
    ofstream outfile;
    outfile.open("record.bank", ios::binary|ios::app);
    read_data();
    outfile.write(reinterpret_cast<char *>(this), sizeof(*this));
    outfile.close();
}
void account_query::read_rec()
{
    ifstream infile;
    infile.open("record.bank", ios::binary);
    if(!infile)
    {
        cout<<"Error in Opening! File Not Found!!"<<endl;
        return;
    }
    cout<<"\n****Data from file****"<<endl;
    while(!infile.eof())
    {
        if(infile.read(reinterpret_cast<char*>(this), sizeof(*this))>0)
        {
            show_data();
        }
    }
    infile.close();
}
void account_query::search_rec()
{
    int n;
    ifstream infile;
    infile.open("record.bank", ios::binary);
    if(!infile)
    {
        cout<<"\nError in opening! File Not Found!!"<<endl;
        return;
    }
    infile.seekg(0,ios::end);
    int count = infile.tellg()/sizeof(*this);
    cout<<"\n There are "<<count<<" record in the file";
    cout<<"\n Enter Record Number to Search: ";
    cin>>n;
    infile.seekg((n-1)*sizeof(*this));
    infile.read(reinterpret_cast<char*>(this), sizeof(*this));
    show_data();
}
void account_query::edit_rec()
{
    int n;
    fstream iofile;
    iofile.open("record.bank", ios::in|ios::binary);
    if(!iofile)
    {
        cout<<"\nError in opening! File Not Found!!"<<endl;
        return;
    }
    iofile.seekg(0, ios::end);
    int count = iofile.tellg()/sizeof(*this);
    cout<<"\n There are "<<count<<" record in the file";
    cout<<"\n Enter Record Number to edit: ";
    cin>>n;
    iofile.seekg((n-1)*sizeof(*this));
    iofile.read(reinterpret_cast<char*>(this), sizeof(*this));
    cout<<"Record "<<n<<" has following data"<<endl;
    show_data();
    iofile.close();
    iofile.open("record.bank", ios::out|ios::in|ios::binary);
    iofile.seekp((n-1)*sizeof(*this));
    cout<<"\nEnter data to Modify "<<endl;
    read_data();
    iofile.write(reinterpret_cast<char*>(this), sizeof(*this));
}
void account_query::delete_rec()
{
    int n;
    ifstream infile;
    infile.open("record.bank", ios::binary);
    if(!infile)
    {
        cout<<"\nError in opening! File Not Found!!"<<endl;
        return;
    }
    infile.seekg(0,ios::end);
    int count = infile.tellg()/sizeof(*this);
    cout<<"\n There are "<<count<<" record in the file";
    cout<<"\n Enter Record Number to Delete: ";
    cin>>n;
    fstream tmpfile;
    tmpfile.open("tmpfile.bank", ios::out|ios::binary);
    infile.seekg(0);
    for(int i=0; i<count; i++)
    {
        infile.read(reinterpret_cast<char*>(this),sizeof(*this));
        if(i==(n-1))
            continue;
        tmpfile.write(reinterpret_cast<char*>(this), sizeof(*this));
    }
    infile.close();
    tmpfile.close();
    remove("record.bank");
    rename("tmpfile.bank", "record.bank");
}
int main()
{
    account_query A;
    int choice;
    cout<<"***Acount Information System***"<<endl;
    while(true)
    {
        cout<<"Select one option below ";
        cout<<"\n\t1-->Add record to file";
        cout<<"\n\t2-->Show record from file";
        cout<<"\n\t3-->Search Record from file";
        cout<<"\n\t4-->Update Record";
        cout<<"\n\t5-->Delete Record";
        cout<<"\n\t6-->Quit";
        cout<<"\nEnter your choice: ";
        cin>>choice;
        switch(choice)
        {
            case 1:
                A.write_rec();
                break;
            case 2:
                A.read_rec();
                break;
            case 3:
                A.search_rec();
                break;
            case 4:
                A.edit_rec();
                break;
            case 5:
                A.delete_rec();
                break;
            case 6:
                exit(0);
                break;
            default:
                cout<<"\nEnter corret choice";
                exit(0);
        }
    }
    system("pause");
    return 0;
}








C++

  1. Write a C++ program to Make Simple calculator
  2. Write a C++ program to arrange 10 numbers in ascending order
  3. Write a C++ program to calculates the following equation for entered numbers (n, x). 1+ (nx/1!) - (n(n-1)x^2/2!)
  4. Write a C++ program to 1. Initialize Matrices 2. Print Matrices 3. Multiply Matrices 4. Transpose of 2nd Matrix 5. Move Row and Column of 2nd Matrix 6. Quit
  5. Write the C++ program for processing of the students structure
  6. Write a C++ program that gets two strings from input and stores them in variables such as str1 and str2
  7. Write a C++ program that gets one text with the maximum of 256 characters from input and converts it to standard format based on the following rules and prints the final standardized text
  8. C++ Mini-Project: Human Resource Management Program
  9. Write a C++ program to Solve Quadratic equation
  10. C++ program for Calculation of the surface and the volume of a cone
  11. C++ Program to show Fibonacci Series
  12. C++ Program for Decimal to Hexadecimal Conversion
  13. C++ program to convert decimal number into binary
  14. C++ PROGRAM TO CHECK WHETHER A NUMBER IS NOT A PERFECT NUMBER OR NOT
  15. C++ program to find prime numbers in a given range
  16. C++ program to find Armstrong number
  17. C++ program to find prime number
  18. C++ program to convert a string into upper-case or lower-case
  19. C++ program to concatenate strings
  20. How to Run and install the mongo c++ drivers (MongoDB) On Ubuntu Linux
  21. How to Install Crypto++ Library with the Eclipse IDE on UBUNTU12.10 OS.
  22. Build and Run Sample Code Using Log4Cpp from Source Code on Ubuntu
  23. C++ counting the number of lines in a text file
  24. How do you implement the factorial function in C++
  25. C++ program to find HCF n LCM of two numbers
  26. The most elegant way to split a string in C++
  27. C++ Program for Printing 1 to 1000 without loop
  28. PASS BY REFERENCE C++ EXAMPLE
  29. C++ PROGRAM TO FIND WHETHER A NUMBER IS EVEN OR ODD
  30. C++ code to print all odd and even numbers in given range
  31. C++ Program to Check Palindrome Number
  32. C++ code to get sum of all odd numbers in given range
  33. C++ program to find ASCII Code for Characters and numbers
  34. Compiling and Integrating Crypto++ into the Microsoft Visual C++ Environment + Running Sample program
  35. Write a c++ program that calculates the average of three numbers
  36. C++ program compute hourly pay taking overtime into account
  37. C++ program to print 5 rows of 10 stars
  38. Write a C++ program that can print a temperature conversion
  39. Write a C++ program to construct a pyramid of stars
  40. C++ PROGRAM FOR RANDOM NUMBER GENERATOR
  41. Program for climbing worm program in c++
  42. C++ Program to display current date and time
  43. A C++ program to print the half pyramid
  44. C++ program to print pyramid of numbers
  45. C++ program to print pyramid of numbers
  46. C++ program to make a hollow square using loops
  47. Write a C++ Program for Calculating Slope of a Line Given Two End Points
  48. How to install Package build-essential on Ubuntu Linux
  49. Installing Eclipse IDE with C/C++ plugin(or CDT) in Ubuntu Linux
  50. How to Install, Build and Use the Boost C++ libraries in eclipse IDE on UBUNTU LINUX
  51. Write a C++ Program Banking Record System
C++ Conversion


-----------------------------------------------------------------
Mini project Banking Record System in C++
Mini project Banking Record System in C++
C++ Banking System Project
Source Code For Bank Management System In C++
Banking management system in c++ project
Bank Account System in C++ using Classes
Bank Management System in C++
C++ banking system using console and file to store records
Banking system in c++
Program of maintaining banking account information system
c++ projects on internet banking system





C# Tutorial 88: How to Search Listbox and get all matches using C#














---------------------------------------------------------------------
Making a Searching List Box C#
Create a list of choices by using a list box C#
How to make a ListBox Search C#
Trying To Create Search A ListBox C#
Create list box of search terms
Dynamic restrict data in List box c sharp
Textbox to make a selection (like a listbox)? C#
Categorizing List Box Data Advanced Fuzzy Search C#
Listbox search operator for "unequal" C#

How to Install, Build and Use the Boost C++ libraries in eclipse IDE on UBUNTU LINUX












--------------------------------------------------
how to install boost library on ubuntu and run simple program in eclipse IDE
Howto: Install Boost from source
Ubuntu with Boost Library
How and where to install Boost Library? -

[SOLVED] updating Boost libraries on
Boost Libraries C++ with Ubuntu
Thread: Howto: Install Boost from source
How to use boost library on ubuntu
Searches related to how to install boost library on ubuntu
ubuntu install gd library
ubuntu install openssl library
install curl library ubuntu
ubuntu install shared library
ubuntu install pcre library
ubuntu boost library path
apt-get install boost
boost c++ ubuntu

Saturday, September 21, 2013

Installing Eclipse IDE with C/C++ plugin(or CDT) in Ubuntu Linux

Installing Eclipse IDE with C/C++ plugin(or CDT) in Ubuntu Linux










C++

  1. Write a C++ program to Make Simple calculator
  2. Write a C++ program to arrange 10 numbers in ascending order
  3. Write a C++ program to calculates the following equation for entered numbers (n, x). 1+ (nx/1!) - (n(n-1)x^2/2!)
  4. Write a C++ program to 1. Initialize Matrices 2. Print Matrices 3. Multiply Matrices 4. Transpose of 2nd Matrix 5. Move Row and Column of 2nd Matrix 6. Quit
  5. Write the C++ program for processing of the students structure
  6. Write a C++ program that gets two strings from input and stores them in variables such as str1 and str2
  7. Write a C++ program that gets one text with the maximum of 256 characters from input and converts it to standard format based on the following rules and prints the final standardized text
  8. C++ Mini-Project: Human Resource Management Program
  9. Write a C++ program to Solve Quadratic equation
  10. C++ program for Calculation of the surface and the volume of a cone
  11. C++ Program to show Fibonacci Series
  12. C++ Program for Decimal to Hexadecimal Conversion
  13. C++ program to convert decimal number into binary
  14. C++ PROGRAM TO CHECK WHETHER A NUMBER IS NOT A PERFECT NUMBER OR NOT
  15. C++ program to find prime numbers in a given range
  16. C++ program to find Armstrong number
  17. C++ program to find prime number
  18. C++ program to convert a string into upper-case or lower-case
  19. C++ program to concatenate strings
  20. How to Run and install the mongo c++ drivers (MongoDB) On Ubuntu Linux
  21. How to Install Crypto++ Library with the Eclipse IDE on UBUNTU12.10 OS.
  22. Build and Run Sample Code Using Log4Cpp from Source Code on Ubuntu
  23. C++ counting the number of lines in a text file
  24. How do you implement the factorial function in C++
  25. C++ program to find HCF n LCM of two numbers
  26. The most elegant way to split a string in C++
  27. C++ Program for Printing 1 to 1000 without loop
  28. PASS BY REFERENCE C++ EXAMPLE
  29. C++ PROGRAM TO FIND WHETHER A NUMBER IS EVEN OR ODD
  30. C++ code to print all odd and even numbers in given range
  31. C++ Program to Check Palindrome Number
  32. C++ code to get sum of all odd numbers in given range
  33. C++ program to find ASCII Code for Characters and numbers
  34. Compiling and Integrating Crypto++ into the Microsoft Visual C++ Environment + Running Sample program
  35. Write a c++ program that calculates the average of three numbers
  36. C++ program compute hourly pay taking overtime into account
  37. C++ program to print 5 rows of 10 stars
  38. Write a C++ program that can print a temperature conversion
  39. Write a C++ program to construct a pyramid of stars
  40. C++ PROGRAM FOR RANDOM NUMBER GENERATOR
  41. Program for climbing worm program in c++
  42. C++ Program to display current date and time
  43. A C++ program to print the half pyramid
  44. C++ program to print pyramid of numbers
  45. C++ program to print pyramid of numbers
  46. C++ program to make a hollow square using loops
  47. Write a C++ Program for Calculating Slope of a Line Given Two End Points
  48. How to install Package build-essential on Ubuntu Linux
  49. Installing Eclipse IDE with C/C++ plugin(or CDT) in Ubuntu Linux
  50. How to Install, Build and Use the Boost C++ libraries in eclipse IDE on UBUNTU LINUX
  51. Write a C++ Program Banking Record System
C++ Conversion
----------------------------------------------------
Searches related to cdt plugin eclipse IDE
C/C++ On Eclipse
UBUNTU: Installing C/C++ plugin(or CDT) in Eclipse
cdt plugin eclipse juno
 How to install eclipse c++ ide?
eclipse CDT
 how do i install eclipse IDE and CDT
Thread: How do I install eclipse c++ plugin?
cdt plugin eclipse europa
eclipse cdt plugin download
zylin cdt eclipse plugin
eclipse cdt plugin url
No C++ option after install Eclipse CDT
eclipse c++ plugin install
eclipse c++ plugin download
eclipse c ide


How to install Package build-essential on Ubuntu Linux




















-----------------------------------------------------------
Searches related to build essential ubuntu terminal
download build essential for ubuntu
ubuntu 11.04 build essential
What's the command to install the build-essential
ubuntu 11.10 build essential
ubuntu 12.04 build essential
ubuntu build essential installieren
sudo apt-get install build-essential does not work
Package build-essential is not available

Tuesday, September 17, 2013

QT C++ GUI Tutorial 12- How to open a new window after successful Login


























----------------------------------------------------------------------------------
c++ - How would I open a new window from a button in the main
How to show another window from mainwindow in QT Login
How to move to another window in Qt by a pushbutton Login
How to open a new window in Qt Login
Open new window when button on main-window is clicked

Thread: Open new window on menu action.
 QMainWindow open a new QMainWindow
Thread: Open a window inside another window Login
Thread: right way to open a new window Login
Open a window inside another window Login

Write a C++ Program for Calculating Slope of a Line Given Two End Points

Write a C++ Program for Calculating Slope of a Line Given Two End Points

It uses the following formula given points are (x1,y1) and (x2, y2)

slope = (y2 - y1) / (x2 - x1)





#include <iostream>
#include <math.h>
 
void main()
{
    float slope;
    float x1, y1, x2, y2;
    float dx, dy;
 
    std::cout << "Program to find the slope of a line given two end points\n";
 
    std::cout << "Enter X1: ";
    std::cin >> x1;
 
    std::cout << "Enter Y1: ";
    std::cin >> y1;
 
    std::cout << "Enter X2: ";
    std::cin >> x2;
 
    std::cout << "Enter Y2: ";
    std::cin >> y2;
 
    dx = x2 - x1;
    dy = y2 - y1;
    slope = dy / dx;
 
    std::cout << "Slope of the line with end points (" << x1 << ", " << y1 << " and (" << x2 << ", " << y2 << ") = ";
    std::cout << slope << "\n";
 
}


OUTPUT

Program to find the slope of a line given two end points
Enter X1: 2.5
Enter Y1: 7.5
Enter X2: 12.5
Enter Y2: 18
Slope of the line with end points (2.5, 7.5 and (12.5, 18) = 1.05
Press any key to continue . . .





C++

  1. Write a C++ program to Make Simple calculator
  2. Write a C++ program to arrange 10 numbers in ascending order
  3. Write a C++ program to calculates the following equation for entered numbers (n, x). 1+ (nx/1!) - (n(n-1)x^2/2!)
  4. Write a C++ program to 1. Initialize Matrices 2. Print Matrices 3. Multiply Matrices 4. Transpose of 2nd Matrix 5. Move Row and Column of 2nd Matrix 6. Quit
  5. Write the C++ program for processing of the students structure
  6. Write a C++ program that gets two strings from input and stores them in variables such as str1 and str2
  7. Write a C++ program that gets one text with the maximum of 256 characters from input and converts it to standard format based on the following rules and prints the final standardized text
  8. C++ Mini-Project: Human Resource Management Program
  9. Write a C++ program to Solve Quadratic equation
  10. C++ program for Calculation of the surface and the volume of a cone
  11. C++ Program to show Fibonacci Series
  12. C++ Program for Decimal to Hexadecimal Conversion
  13. C++ program to convert decimal number into binary
  14. C++ PROGRAM TO CHECK WHETHER A NUMBER IS NOT A PERFECT NUMBER OR NOT
  15. C++ program to find prime numbers in a given range
  16. C++ program to find Armstrong number
  17. C++ program to find prime number
  18. C++ program to convert a string into upper-case or lower-case
  19. C++ program to concatenate strings
  20. How to Run and install the mongo c++ drivers (MongoDB) On Ubuntu Linux
  21. How to Install Crypto++ Library with the Eclipse IDE on UBUNTU12.10 OS.
  22. Build and Run Sample Code Using Log4Cpp from Source Code on Ubuntu
  23. C++ counting the number of lines in a text file
  24. How do you implement the factorial function in C++
  25. C++ program to find HCF n LCM of two numbers
  26. The most elegant way to split a string in C++
  27. C++ Program for Printing 1 to 1000 without loop
  28. PASS BY REFERENCE C++ EXAMPLE
  29. C++ PROGRAM TO FIND WHETHER A NUMBER IS EVEN OR ODD
  30. C++ code to print all odd and even numbers in given range
  31. C++ Program to Check Palindrome Number
  32. C++ code to get sum of all odd numbers in given range
  33. C++ program to find ASCII Code for Characters and numbers
  34. Compiling and Integrating Crypto++ into the Microsoft Visual C++ Environment + Running Sample program
  35. Write a c++ program that calculates the average of three numbers
  36. C++ program compute hourly pay taking overtime into account
  37. C++ program to print 5 rows of 10 stars
  38. Write a C++ program that can print a temperature conversion
  39. Write a C++ program to construct a pyramid of stars
  40. C++ PROGRAM FOR RANDOM NUMBER GENERATOR
  41. Program for climbing worm program in c++
  42. C++ Program to display current date and time
  43. A C++ program to print the half pyramid
  44. C++ program to print pyramid of numbers
  45. C++ program to print pyramid of numbers
  46. C++ program to make a hollow square using loops
  47. Write a C++ Program for Calculating Slope of a Line Given Two End Points
  48. How to install Package build-essential on Ubuntu Linux
  49. Installing Eclipse IDE with C/C++ plugin(or CDT) in Ubuntu Linux
  50. How to Install, Build and Use the Boost C++ libraries in eclipse IDE on UBUNTU LINUX
  51. Write a C++ Program Banking Record System
C++ Conversion
------------------------------------------------------
 C++ - Calculating Slope of a Line Given Two End Points
  C - Calculating Slope of a Line Given Two End Points
  Finding the equation of a Line Given Two End Points C++
  Equation of a Line - C and C++ 
C++ Given two points, find a third point on the line
I Have Wrote A C Program To Solve The Slope
 Slope Of A Line Through 2 Points