June 21, 2015

C Program to create and write a File

#include<stdio.h>
#include<conio.h>

int main()
{
FILE *fp;
char ch;
fp = fopen("one.txt", "w");
printf("Enter data");
while( (ch = getchar()) != EOF) {
    putc(ch,fp);
}
fclose(fp);

return 0;
}

25 comments:

  1. Every weekend i used to go to see this site, because i wish for enjoyment, for the reason that this this site conations in fact nice funny information too.

    ReplyDelete
  2. Excellent tips, thanks for sharing it, Oswaal Books

    ReplyDelete
  3. नोटबंदी के 50वें दिन, मोदी सरकार के फैसले से निराश हैं जनता
    Readmore todaynews18.com https://goo.gl/NJUQY9

    ReplyDelete
  4. Thank you for your sharing this good article.
    please welcome to gclub kasino online all game click here to join us now
    thank you!


    goldenslot casino
    บาคาร่าออนไลน์
    gclub casino


    ReplyDelete
  5. distance learning for

    everyone and everywhere. It's a free educational portal.

    ReplyDelete
  6. Very Nice post is this and Keep Sharing this type of blog.Write My Essay

    ReplyDelete
  7. Mobile Repairing course in Noida & Delhi Call 9811-184-872.
    Techno Certified is the best mobile repairing training institute in Delhi/Ncr. Learn Mobile repairing Course and become a mobile Engineer at very low cost.
    Mobile Repairing course in Noida & Delhi

    ReplyDelete
  8. Good Post about C-program.
    Thanks for such good content.Your information is useful. Festival Dates and Days

    ReplyDelete
  9. Pretty great post. I simply stumbled upon your weblog and wanted to say that I have really loved browsing your blog posts
    indian schools in ajman | british schools in ajman

    ReplyDelete
  10. The C program for creating and writing a file that you give is very useful to me. It helps my work a lot
    run 3

    ReplyDelete
  11. Well Thanks For Posting Such An Outstanding Idea. I Like This Blog & I Like The Topic And Thinking Of Making It Right.
    Cost Accounting Help

    ReplyDelete
    Replies
    1. We have all the experts who know everything about accounting and will surely get the job done for you However, we are here to give you that spark back. We have a whole team of professional people who know all about accounting and how to solve different questions. Therefore, you can always count on us to get everything done If you are looking for a unique and an efficient way in solving your accounting homework helpers then you should consider our accounting assignment helper No matter where you stay, we will be able to deliver your accounting case study on time without any hassle. Moreover, we know all the right knowledge about accounting so you can trust us.

      Delete
  12. the setting up costs of the business, stationery, computer(s), software purchases, premises, advertising, fax machines, telephones, installation for tel. lines, broadband, rental deposit, staff, registration costs for the company, desks, chairs and everything else you can think of.

    fax advertising

    ReplyDelete
  13. Locutores Baratos ofrece sus servicios de locuciones baratas a la mayor calidad profesional. Solo en locutoresbaratos.com

    Accede a nuestras locuciones baratas para pedirnos presupuesto. De forma inmediata te contestaremos.

    ReplyDelete
  14. Managerial accounting Assignment help
    Are you an accounting student manager? Unable to complete your administrative accounting work and need help completing it? You do not understand the questions so you can not solve the problems? Are you looking for good grades to improve your final grade? So you have come to the right place. Here you will definitely find the best teachers who will pay attention to your application requirements for the task of administrative accounting.

    Administrative accounting tasks require a great deal of Managerial accounting Assignment help thinking and questions are formulated accordingly. At the beginning of any business management program, managing accounting can be a daunting task. So it would be wise to seek help in resolving these questions. At Thetutorshelp.com, tutors are of high quality and help students learn the basics. They ensure that students are able to solve their assignments and use their solution as reference material. Students will understand the basic concepts of the topic with the help of the given solutions.

    Understanding management accounting takes a lot of time because the basic concepts are not so easy to understand. Thetutorshelp.com tutors have helped students solve their long-term tasks by providing administrative accounting tasks.

    Understanding administrative Accounting

    Administrative accounting is different from regular accounting studies. However, at first glance, the case may seem like regular accounting; There is a big difference between regular accounting and administrative accounting. Regular accounting keeps accounting books while the task of administrative accounting helps in clearing the accounts and basically helps the management in making the right decisions regarding expenses and investments. From a financial standpoint, administrative accounting helps function managers make the right decisions. Through the topic, different boundaries and opportunities can be explored and understood, thus enabling the business to grow and grow.
    Managerial accounting Assignment help

    ReplyDelete
  15. Management Homework Help:
    Management homework help is a method to lessen the homework trouble for management students. Management homework help is popular with students who are seeking a management degree. Studying management can open an ocean of career opportunities for students. A student can expect a lucrative package in many reputed organizations by getting a management degree. However, writing homework can be challenging for students due to the complexities of the homework and also owing to the time constraints faced by most students. Also, often students lack the required writing skills, and hence they fail to achieve the desired scores in the homework. In such situations, hiring a professional can be of great assistance. By delegating the task load to the experts, the students can focus on other things that can boost their overall scores in academics. In addition, hiring management homework help will be helpful to students who constantly struggle to finish their homework on time.
    https://www.onlinetutorhelps.com/Management-homework-help/
    Management Homework Help



    ReplyDelete
  16. Thank you for such valuable information about how to create and write a File to C Program , if you would like to know about best schools in Bengaluru, visit Best Cbse Schools Near Me

    ReplyDelete
  17. สล็อต พีจี มีทั้งเกมสล็อตและยิงปลา รวมแล้วมากกว่า 100 เกมให้เลือกเล่น อย่างจุใจภาพสวยและแจ็คพอตแตกง่ายที่สุด พีจี เล่นง่ายได้เงินจริง เล่นเกมสล็อต กับพีจี แจ็คพอตแตกง่ายที่สุด

    ReplyDelete
  18. Web Designing Company In Chandigarh-Robtechworld cares about understanding you and your customers.

    ReplyDelete
  19. We are Best digital marketing agency in wolverhampton and we can help you take your business to the next level!

    ReplyDelete

C program to Read From a File

#include <stdio.h> #include <stdlib.h> void main() {     FILE *fptr;     char filename[15];     char ch;   ...