Programming Basics

  Home arrow Programming Basics arrow Page 10 - Working with text files
PROGRAMMING BASICS

Working with text files
By: Codewalkers
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 12
    2004-01-06

    Table of Contents:
  • Working with text files
  • Opening a text file
  • Writing data into a text file
  • Closing a text file
  • Reading from a text file
  • Deleting a file
  • Other functions regarding text files
  • An example
  • Advanced examples
  • Conclusion

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    Working with text files - Conclusion


    (Page 10 of 10 )

    As we come to the end of this tutorial I imagine you are now with a reasonable knowledge and skill of how to use text files to help your needs in various situations. You will find it is really easy when you have more practice with them.

    Happy coding with text files!!!

    About the Author

    Subhash Madhawa ( also known as CodeKadiya ) is a Sri Lankan living in Colombo, and he is engaged in his secondary education. He wishes to persuade his higher education in computer studies. He started his programming career at the age of 13 years and had reasonable experience on Visual Basic before he stepped on to web developing with PHP/MySQL. Though his career in PHP programming is quite small, he has knowledge and experience in other web development languages such as HTML, JavaScript, Active Server Pages. He spends he free time by playing game of Cricket and enjoys music.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.
    blog comments powered by Disqus

    PROGRAMMING BASICS ARTICLES

    - Control Flow Constructs
    - More Time Manipulation with PHP
    - Validating and Manipulating Dates with PHP
    - Using the Date Constructor in PHP
    - Calendar Construction with PHP
    - PHP`s Calendar Package
    - Getting Modified Versions and Correct Dates ...
    - Combining Date Functions in PHP
    - Using PHP for Date and Time in Programming
    - More Exception Handling with PHP
    - Exception Handling in PHP
    - Error Logging and Handling Exceptions
    - Configuration Directives for Error and Excep...
    - Error and Exception Handling
    - Python Modules for Games


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 2 - Follow our Sitemap