Showing posts with label File operation. Show all posts
Showing posts with label File operation. Show all posts

Friday, July 11, 2008

Visual Basic

Visual Basic is Easy to learn Programming language. With Visual Basic you can develop Windows based applications and games. When first released in 1991, it was similar to Microsoft's QuickBASIC, With its visual user interface development tools.

Introduction to Visual Basic >>>
History of Visual Basic >>>
Graphical User Interface (GUI)s >>>
Getting started with Visual Basic* >>>
Visual Basic Integrated Development Environment >>>(IDE)*
Application of VISUAL BASIC >>>

Data types and modules >>>
Data types >>>
Variables >>>
Constants >>>
Modules >>>

Operators >>>
Arithmetic operators >>>
Logical operators >>>
Relational operators >>>

Arrays >>>
Introduction of array >>>
Declaration of array >>>

Conditional statement and loop structure >>>
If..then..statement >>>
If..then..else statement >>>
Select case statement >>>
Do..Loop structure >>>
For..next structure >>>

Procedure >>>
Sub procedures* >>>
Function procedures* >>>
Property procedure >>>

Functions >>>
Visual basic function >>>
Methods and events
>>>

Methods >>>
Syntax for calling Methods >>>
Events >>>
Example of an event in an application >>>

Working with forms >>>
Form basis >>>
Form properties >>>
The form events >>>
The form methods >>>
Setting runtime and design time properties* >>>
Setting start up form* >>>

Creating simple application in visual basic >>>
Structure of a visual basic application >>>
Designing the visual interface form >>>
Adding code for the program >>>
Compiling the project >>>
Creating an exe >>>
Running the project >>>
Making different applications* >>>

Working with files >>>
Saving project or files>>>
Opening existing project>>>
Adding file to the project >>>
Removing file from the project >>>
Removing project >>>
Exiting from Visual Basic >>>

Saturday, May 10, 2008

File operation

File operation

There are two distinct ways to perform the file operation in C:

1. Low level I/O operation (it uses UNIX system call
therefore we won't discuss here)

2. High level I/O operation (it uses function in C's Standard I/O library)

List of I/O function with their operation:

fopen() creates a new file for use or opens an existing file for use.
fclose() close a file which has been opened for use.
getc() reads a character to a file.
putc() writes a character to a line.
fprintf() writes a set of data values to a file.
fscanf() reads a set of data values from a file.
getw() reads an integer from a file.
putw() writes an integer to a file.
feof() test for an end of file condition.

Copyright

Copyright © 2008 C Tutorial, All rights are reserved