Code Monkey home page Code Monkey logo

data-validation's Introduction

Data-Validation

Check for validity of data input by user.

A mini-project on validation of data which the user enters.

This project involves the creation of E-mail account of a user and checks in each step whether the input provided by the user is valid or not.

For more knowledge on input validation, please refer to wiki page. https://github.com/malverick/Data-Validation/wiki

The project is implemented in two ways:

  1. A stand-alone independent C program

  2. A library called data_validate is created in which the prototype is defined for each and every function and the user just need to import the library in his main program and work accordingly. There is a file data_validate.h which contains all the function decalrations(it's return type and formal parameters) and global declarations if any. Another file data_validate.c which contains definitions of all the functions declared in data_validate.h. Finally, there is main.c which is for testing the header file/library created.

To run the project -

  1. Clone the repository or download ZIP.

For cloning

1. Open terminal
2. `git clone https://github.com/malverick/Data-Validation.git`
3. `cd Data-Validation`

(Now you are in the project directory)

For downloading ZIP

1. Click on `Clone or Download` option at extreme right of header and `Download ZIP` from there.
2. Open terminal
3. `cd /dir/containing/downloaded/zip`
4. `unzip Data-Validation-master.zip`
5. `cd Data-Validation-master`

(Now you are in the project directory)

  1. If you want to test the stand-alone C program then,

    1. cd Stand-alone\ C\ program/
    2. gcc main.c
    3. ./a.out
  2. If you want to test the header file then,

    1. cd Library/
    2. gcc data_validate.c main.c
    3. ./a.out

data-validation's People

Contributors

sumitmadhwani avatar aarushverma96 avatar karantatiwala avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.