Write some Software

Completed Posted Nov 18, 2015 Paid on delivery
Completed Paid on delivery

Data File Validation

You must write a C program that reads in a data file and validates the fields to ensure they conform to the file specification below (length of data i.e. < 50 characters and numeric ranges i.e. 1-1024).

The output from the program should be two files, one file containing the erroneous records and the other a suitable file for the simulator that should be saved as "[login to view URL]". The program should prompt for the input files filename that is to be processed.

Functional Specification

 The program at start up should display a banner stating your name, course and id.

 The program must prompt for the name of the input file. If it doesn't exist the program should stop with an error message.

 The program must process every line in the file by reading each line and breaking down the data and storing it in a struct data structure that you must design. The program should also store all the valid records in memory and only write them out to file when the text file has been fully processed. (HINT: malloc, calloc)

 Each packet should have all the fields validated such that they conform to the table below.

Source

1-1024

Destination

1-1024

Type

0-10

Port

1-1024

Data

1-50 Char

 All records that conform to the specification should be output to a file of the name "[login to view URL]"

 All invalid records must be placed in a file named "[login to view URL]". As the program runs it must display any records that have been rejected due to failing validation onto the screen with a sequence number incremented as each error is found.

 The program must display at the end of the run the number of packets placed in the [login to view URL] file and the number of error records removed.

C Programming

Project ID: #8929240

About the project

16 proposals Remote project Active Nov 19, 2015

Awarded to:

it2051229

Hi, I have read the requirements and I would like to do this project if given the opportunity. I am a computer science practitioner and having the "C and Algorithms Certification Badge" in my profile gives me confidenc More

$36 SGD in 1 day
(514 Reviews)
7.0

16 freelancers are bidding on average $95 for this job

vrcoder

Hi, I'd like to help. My full profile on this site: 280+ completed projects, customer rating 5.0/5 (click on my name).

$50 SGD in 1 day
(277 Reviews)
7.3
ZhangDaLong

Hi, client. Your task is no problem for me. Obviously there is no problem. I can complete it within half a day. Please help me get a star and a good review. Thank.

$59 SGD in 0 days
(21 Reviews)
4.3
oda79

Hello! I am ready to help you with your task! What kind of programming is needed? Qt (C++) is ok? Please do not hesitate to contact me via messenger!

$111 SGD in 1 day
(3 Reviews)
4.0
pipas1

I am a skilled UNIX/Linux developer with a lot of experience (started to work with C/C++ more than 20 years ago). I spent many years of my career as a university teacher. My main subjects were “C and C++ programming” More

$200 SGD in 3 days
(1 Review)
2.3
girishjoshi2489

With around 4+ years of experience in IT field B.E. in IT M.Tech. in CS But without looking at the actual requirement I can't commit the timeframe/budget required to complete this task. I am good in this kind o More

$130 SGD in 3 days
(0 Reviews)
0.0
gpoisson

C language - Data file validation project I am able to provide completed .c and .h source files which will compile into the described program within three days.

$80 SGD in 3 days
(0 Reviews)
0.0
phungkhactuhn

i have a team work, we have experience with c/c++ language programming. i think we can help you do this project. please contact me if you need. thank you

$155 SGD in 2 days
(0 Reviews)
0.0
MNCode

Hi there, name's michael. I've written loads of programs just like this over the years, already have a bunch of useful c functions that could be used here so would be a quick delivery. Is this to run in windows o More

$77 SGD in 3 days
(0 Reviews)
0.0
NewLightIE

Hello, I teach C+++ to engineers world-wide and also help students a LOT(and teach students too) *** UPDATE ** I have done a demo for this program in Viswual C++ (for Windows). If you want, contact me and I will More

$111 SGD in 1 day
(1 Review)
0.0
patrickfrend

Fully developed, tested and documented. There are a number of traps with this project that need to be carefully worked around to get a full solution.

$111 SGD in 3 days
(0 Reviews)
0.0
Magonar

In addition to the C source code and the header files: Do you also want a complete project setup for an IDE / build environment (e.g. Visual Studio or Linux make files)?

$33 SGD in 2 days
(0 Reviews)
0.0
icarabet

i already did it i can get it to you right now, its already working, if you need a working exe i got it. if you need a source.c file i got it also enjoy

$36 SGD in 1 day
(0 Reviews)
0.0
ajlinker

I have a lot of experience in programming in C including file reading and writing and data structures. I am willing to negotiate on price and time of completion - please contact me for more information :)

$57 SGD in 3 days
(0 Reviews)
0.0
BlueDolphin22

I have a BSc in IT from Curtin university. Currently working as a lecturer. I have several years experience in C programming. I Would d quality work. Thank you

$155 SGD in 4 days
(0 Reviews)
0.0
arorasam231

Hi Sir, I have just started bidding on freelancer projects but that doesn't mean i am a new bie. I have 9 years experience in C programming and developent only and i can provide you a very nice C program for the pr More

$111 SGD in 2 days
(0 Reviews)
0.0