Find Jobs
Hire Freelancers

Need Program ASAP

$30-250 USD

Closed
Posted almost 7 years ago

$30-250 USD

Paid on delivery
Most computers on the internet have a 32 bit Internet Protocol Version 4 (IPv4) address. As reading these addresses would be difficult using binary or hexadecimal notation, IPv4 addresses are usually represented in dotted decimal notation. For purposes of representation, the 32 bits composing the address may be divided into four octets (bytes) written in decimal numbers, each ranging from 0 to 255, and concatenated as a character string with a full stop (ASCII 46) between each number. For example: The first two components of the address indicate the computer’s locality on the network. In the above example, the locality is specified by the numbers 172 and 16. Another example: Locally, computers are often known by an alias (nickname) as well. You will design and write a program to process a list of Internet addresses from file “CS222_Inet.txt. Your program should read a list of up to 100 addresses and nicknames terminated by a sentinel address of all zeros and the sentinel nickname, “none”. Sample [login to view URL]: Your program will generate a report listing all computers from the same locality---that is, each computer with matching values in the first two components of the address. In the list, the computers should be identified by their alias. The report will be saved to file “222 Locality Report”. The user will also generate a report listing all of the computers sorted alphabetically by alias. This report will be saved to file “222 Alias List”. As with HW2, both reports will contain the user’s name and current date, along with the generated report listing. Examples: Hal Greenwald April 13, 2017 CS222 Network Locality Report 111.22 platte green 131.250 jet baker 172.66 wabash Hal Greenwald April 13, 2017 CS222 Network Alias Listing baker [login to view URL] green [login to view URL] jet [login to view URL] platte [login to view URL] wabash [login to view URL] [login to view URL] platte [login to view URL] jet [login to view URL] wabash [login to view URL] green [login to view URL] baker 0.0.0.0 none you will create your own test data files using the sample format. Grading will involve using different data files with the same format. Program structure and design: Create a structure type called address_t with components for the four integers of an IPv4 address along with a fifth component in which to store an associated alias of up to 10 characters. Create a two-dimensional array called locality_t which will contain each unique locality pair: int locality_t[100][2]; In the above example, the locality_t would contain the following three unique locality pairs: locality_t[row][0] locality_t[row][1] 111 22 131 250 172 66 You may use the Bubble Sort discussed in class, or any other sorting mechanism of your choice for the alias sort. Include at least the following UDFs (You may define your own prototypes): a. Read_Data_File (Note: you may assume that the data file is syntactically correct.) a. Generate_Locality_Rpt b. Generate_Alias_List
Project ID: 13972901

About the project

7 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
7 freelancers are bidding on average $156 USD for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$120 USD in 3 days
4.9 (131 reviews)
6.9
6.9
User Avatar
hi mate this is Asad, i have a vast experience in c and c++ languages, if you need an A grade, contact me right now.
$111 USD in 1 day
5.0 (21 reviews)
5.4
5.4
User Avatar
Hi, I'm expert in C and I have very great experience. I ensure to do the project in time with best quality, when do you need the project ? please tell me the time and I can tell if it can be done.
$122 USD in 3 days
5.0 (11 reviews)
3.2
3.2
User Avatar
I have been working as a software developer for more than two years on C programming and having good knowledge of algorithms and data structures and good problem solving skills and experience in multi threading
$90 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have a vast experience in designing and implementing various algorithms and data structures in C, C++ , Python and Java.
$50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am professional software developer with extensive knowledge and experience for over 13 years. Over that time i was involved in many projects. My field of expertise is developing robust and high-quality standalone windows applications, as well as web based software or services. I have also as second field of expertise a lot of experience with networking because I work active on network everyday with a lot of hosts and administration. I use almost everything from cisco for video, servers including all other stuff
$444 USD in 15 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Woodbridge, United States
0.0
0
Member since May 5, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.