C++ Code – Wave File Converter from Text File
This C++ program is capable of turning a text file describing the notes of a piece of music into...
Read MorePosted by M. Saqib | Jan 7, 2021 | C++ Source Code: C++ Programming Concepts |
This C++ program is capable of turning a text file describing the notes of a piece of music into...
Read MorePosted by M. Saqib | Dec 19, 2017 | C++ Programming: Different Articles on C++ Programming |
In C++, files are referred to as flow of streams (data) into and out of programs. Streams are basis data type to handle all input and output (I/O) operations. There are different kinds of streams of data flow for input and output. Each stream is associated with a class, which contains member functions and definitions for dealing with that particular kind of flow.
Read MorePosted by M. Saqib | Jan 17, 2009 | C Programming Source Code |
This is a small C language program that can read a text file. The program is given file name as command parameter and it reads the file line by line. The program will prints out number of characters and words in each line.
Read MorePosted by M. Saqib | Sep 9, 2008 | PHP Source Code |
This is simple PHP script to show the contents of an XML file on html page. The script uses PHP XML parser to traverse through the xml file and print it’s contents. This extension requires the libxml PHP extension to be enabled.
Read MorePosted by M. Saqib | Sep 9, 2008 | Java: Java Programming Concepts |
The program demonstrates sorting techniques by sorting a list of words based on their frequency count. Novice programmers can learn about basic file handling, data structures, generics, and sorting algorithms through this program, gaining foundational knowledge applicable to a wide range of Java applications.
Read MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
File input and output operations are essential to many C++ programs, but they can be cumbersome and difficult to manage. Fortunately, C++ provides a powerful mechanism for handling these operations: streams. Streams are a high-level abstraction that simplifies the process of reading and writing to files.
Read MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
The C program is a file listing utility that displays information about files in a specified directory. It uses command line arguments to display the listing in a tree style. The program iterates through the files in the specified directory and shows all the files and folders in specific directory with the file size, last modified date and other file attributes.
Read MorePosted by M. Saqib | Sep 9, 2008 | C Programming Source Code |
This is a simple C program that copies the contents of one file onto another file. It is similar to Unix’s cp command. This C program is called with two parameters i.e. the names of two files. The contents of the file referenced in second parameter are copied onto the file which is referenced by first parameter.
Read More