Write a program that manages a linked list of records

Assignment Help C/C++ Programming
Reference no: EM131799822

Assignment:

Write a program that manages a linked list of records stored in "struct"s. An rough example should look like the program below:

typedef struct node{ char *myString;
struct node* next;
}
Each "node" will manage a string, and a pointer to the next node in the list. Cook up a menu like so:
void main_menu()
{
char char_choice[3]; int int_choice = 0;
do
{
printf("\n");
printf("Main Menu: \n\n");
printf("1. XXX\n"); printf("2. YYY\n"); printf("3. Etc...\n");
scanf("%s", char_choice); int_choice = atoi(char_choice);
switch (int_choice) {
case 1:
function_XXX(); break;
case 2:
function_YYY(); break;
case 3:
function_Etc(); break;
default:printf("Wrong choice. Enter Again");
break;
}
}while(int_choice !=99);

The menu should allow you to add a string, modify a string, delete a string, list the strings, or quit.

This will give you enough practice with linked list.

Reference no: EM131799822

Questions Cloud

What is the final amount in amounts payable : Receive payment of $12,000 owed by a customer. Purchase equipment for $45,000 in cash. What is the final amount in Amounts Payable
Root cause of criminal behavior : Why is it so difficult to pinpoint the root cause of criminal behavior, or to accurately predict crime trends?
Determine the economic run quality : Couplings can be produced at a rate of 100 per day. Annual storage cost is $1.5 per coupling, and machine setup cost is $50 per run.
Insert punctuation or correct spelling : Then, insert punctuation or correct spelling where needed. All sentences contain one or more errors.
Write a program that manages a linked list of records : Write a program that manages a linked list of records stored in "struct"s. An rough example should look like the program
Big buyer of your company products : What are some of the first steps you need to do to tap this vast new, and potentially lucrative, market?
Knowledge of competition and industry trends : Discuss the advantages of having expert knowledge of competition and industry trends of your industry. How does this knowledge improve personal selling?
Differences between data-information-businesses : Discuss the differences between data, information, businesses intelligence, and knowledge in relation to a business. Include how the component of people fits.
Rate of return on common stockholders equity : The Summary and Conclusions Worksheet tab is an overall comparison of how each company compares in terms of the major category

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd