Showing posts with label From. Show all posts
Showing posts with label From. Show all posts

Tuesday, 20 September 2016

C Program to Copy Text From One File to Other File



#include<stdio.h>

void main()
{   
    /*
    File_1.txt is the file with content and,
    File_2.txt is the file in which content of File_1
    will be copied.
    */
    FILE *fp1, *fp2;
    char ch;
    int pos;
 
    if ((fp1 = fopen("File_1.txt","r")) == NULL)    
    {    
        printf("\nFile cannot be opened");
        return;
    }
    else     
    {
        printf("\nFile opened for copy...\n ");    
    }
    fp2 = fopen("File_2.txt", "w");  
    fseek(fp1, 0L, SEEK_END); // file pointer at end of file
    pos = ftell(fp1);
    fseek(fp1, 0L, SEEK_SET); // file pointer set at start
    while (pos--)
    {
        ch = fgetc(fp1);  // copying file character by character
        fputc(ch, fp2);
    }    
    fcloseall();    
}



Explanation:


1.  In this step trying open the file File_1.txt in read mode

    if ((fp1 = fopen("File_1.txt","r")) == NULL)    
    {    
        printf("\nFile cannot be opened");
        return;
    }

2.  Open the file File_2.txt in Write mode

fp2 = fopen("File_2.txt", "w");  

3.  Read Charecters from File_1.txt  (  ch= fgetc(fp1);  )  and at the same time it Write into File_2.txt  (   fputc(ch, fp2); ) 
    while (pos--)
    {
        ch = fgetc(fp1);  // copying file character by character
        fputc(ch, fp2);
    } 



Wednesday, 31 August 2016

Ayurveda Ottamoolikal Malayalam Android Application Free Download It :- All Traditional Knowledge About Single Medicine Therapy From India ( Thaaliyola Books )

Ayurveda Ottamoolikal Malayalam Android Application



KSEB MOBILE APPLICATION NAMED AS KSEB POCKET Free Download It For All Android Users From Playstore

KSEB POCKET




                    KSEB              :-              KERALA STATE ELECTRICITY BOARD



KSEB Pocket is an android application specially designed for all KSEB subscribers in Kerala. It's providing features are listed below,

1.  User Registration .

2.  Bill Payment . 

3.  Quick Bill Pay .

4.  Complaint Registration . 

5.  View Complaint Status . 

6.  New Alerts .

7.  And Many More

Kerala State Electricity Board Ltd (KSEB Ltd) is a public sector agency under the Government of Kerala, India, that generates,transmits and distributes the electricity supply in the state. Established in 1957, the agency comes under the authority of the Department of Power. The KSEB, constituted by the Government of Kerala, by order dated 7.3.1957, under the Electricity (Supply) Act, 1948 is in the business of Generation, Transmission and Distribution of electricity and striving to provide quality electricity at affordable cost to all classes of consumers in the state of Kerala. 

The history of electricity in the state is around one century old. The first effort in this direction was a private endeavour. Like many other modern infrastructure facilities, electricity also was first brought to the state by a British company - the Kannan Devan Hill Produce Company, Munnar. The first generating station of the state was set up on the right bank of a tributary of River Periyar in 1940. It was a hydroelectric project and that tributary named Mudirappuzha continues to be the site of large a number of hydroelectric projects in the state.

After a spell of 17 years, the attention of the state authorities turned to newer forms of generating energy. The Gov of Travancore set up a facility to supply electricity to the households of Thiruvananthapuram town. In 1927, a Thermal Power Station was established under government ownership at Thiruvananthapuram for production of electrical energy on commercial lines. Three oil engine generators, of a capacity of 65 kW each, were installed and commercial production started in 1929.This station was located at Thampanoor at Thiruvananthapuram. An Electrical Wing under the State Public Works Department was entrusted with the administration of the scheme.

The next significant development was the formation of a separate department for electricity in 1932 by His Highness Sri Chithirathirunal Maharaja and his Diwan Sir C P Ramaswami Iyer. The formation of the Electricity Department paved the way for notable developments in the field. Thermal generating stations were set up at Kollam, Kottayam and Nagercoil (now in Tamil Nadu) in 1934. By that time, the possibilities of hydroelectric generation attracted the attention of the technologists and the authorities.

Kerala being a land of mountains and rivers, it presented a fertile field for hydroelectric generation. The vast potential for hydroelectric generation in the state prompted the state authorities to take steps to establish stations for hydroelectric generation. The first of these ventures was the Pallivasal Hydroelectric Project, the construction of which was started in 1933. The first stage of the project was commissioned in 1940. Its capacity was 13.5 mW. By that time, a comparable electric transmission network had also been completed with 66 kV substations at Alappuzha, Mavelikkara, Kothamangalam, Kundara, Kalamasserry, Viyyur, Aluva, and Thiruvananthapuram, which were also commissioned in 1940 itself during April -May months

The Kerala state Electricity board started functioning under the direction of a newly formed Kerala government, on 31 March 1957. The first governing body consisted of 5 members, and was headed by the Chairman K P Sreedhara Kaymal. The staff of the erstwhile Department of Electricity of the Thiru-Kochi state were transferred to the KSEB.
The board has also set up several more hydel power stations within the state. As of 2008, the KSEB Ltd has a total installed capacity of State to 2657.24 MW and a consumer base of over 91,59,399.




Friday, 6 May 2016

How To Make Money From HubPages Guide 2016

HubPages is one of the most rewarding make money opportunity. Its a place where you can publish, discover and interact with people with common interest. HubPages is considered as one of the most premium website where people from any part of the world can write about any topic and in turn can earn lots of money.
How much you will earn depend on how well you write, perform and interact with other HubPages publisher  (Hubbers). One of the best thing here is that joining HubPages is absolutely free and you can start making money from the day 1.

How to make money from HubPages

The only thing you need to make money from HubPages is passion for writing what you know and like to share with other and a HubPages account. So first thing you have to do is visit HubPages and create a new account.
Your HubPages URL address will look like this make-money-from-hubpagespravink.hubpages.comwhere ‘pravink’ will be replaced by your username. After creating an account, click on ‘Start a New Hub’ and it will ask you 5 steps to complete for your first Hub to be published.
Just focus and understand this better. So don’t be in hurry for making money. Spend at least 1 week understanding everything on HubPages, publish 4-5 Hubs, check others Hubs and when you think, you are comfortable with HubPages, its time to move on with money making program in HubPages.

Ways to Make Money from HubPages

There are number of options, you can earn money on HubPages. Just have a look on all the HubPages earning programs-
  • HubPages Earnings Program: Ad Program
  • HubPages Earnings Program: eBay Program
  • Google AdSense
  • Amazon Associates
1. Ad Program – HubPages is partnered with a number of quality and premium ad sources. So in order to earn from this Ad program, you can configure your HubPages account to show these premium ads on all your published hubs along with other earning program like AdSense.
To configure this, just login to your HubPages account, then click on ‘my account’ and then click on ‘Earnings’ tab. You will find ‘Ad Program’ from the ‘Settings’ option. Just click on “Configure” link to configure the Ad Program.
Complete the steps and you will be ready to start with the Ad Programs. HubPages premium Ads will be shown on all your Hubs and you will get paid for showing these ads.
2. eBay Program – HubPages is also partnered with eBay and if you are signed with HubPages earning program can earn from eBay. To Apply for eBay Affiliate Program You will Need –
  • AdSense Account
  • Pay Pal Account
  • Tax information
  • HubPages Earnings Program Account
Those Hubbers not in the HubPages Earnings Program cannot run the eBay Affiliate program. So in order to get started with eBay program, you need to signup with HubPages Earnings Program.
3. Google AdSense – This program is from Google and you need a AdSense account in order tomake money from AdSense. If you don’t have AdSense account, you can signup here. Fill all the details there and in the website URL, you can mention your HubPages URL. This is one of the best source of making money on HubPages.
4. Amazon Associates – You can get started directly with this if you already have an Amazon account but if you don’t have one, you can directly create with in HubPages itself. You can sell the Amazon products through the Amazon capsules in HubPages. There are hundreds of products that will match the contents of your hubs and list those products in all your hubs.
Making money on HubPages is very simple if you are passionate and create high quality hubs. Besides this, you need to be an active member there and try to make connections with other hubbers. Read there hubs and leave comments so that they can visit your hubs and follow you.