Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You must code this in ONLY C. Not C++ or any other language. Let's make our own simple twitter... A tweet is a special object

You must code this in ONLY C. Not C++ or any other language.

image text in transcribedimage text in transcribed

Let's make our own simple twitter... A "tweet" is a special object that is the fundamental building block of Twitter If you are curious about the composition of a tweet you can familiarize yourself with the developer pages available here https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/tweet-object You can see that the tweet is quite a complex object, which is why we would focus instead on a much simpler version called "Simple Tweet". It is a good start for us to create a simple twitter application A simple tweet will be composed of the following id created at char[51]; that would store the UTC time and date int; which uniquely identifies the simple tweet Note that UTC is the coordinated universal time, which is a common standard on the Internet. char[141]; allow up to 140 characters. char[21]; the user name of the person who posted the tweet text user You are asked to create a structure definition for a simple tweet called "tweet". You will then need to create a simple application with the following menu functionality 1. Create a new tweet 2. Search tweets 3. Display tweets Save tweets to file Load tweets from file Exit 4. 5. 6. When the user first starts the program he/she is prompted to enter his/her user name The menu is then displayed 1. Create a new tweet This option will automatically generate the next highest value for an id, the locate date/time for the created_at in UTC, and prompt the user for the tweet's text The new record is stored at the next available location in the array. If the array has reached capacity then no new records may be added 2. Search tweets This option will search all tweets' text for occurrences of a certain keyword string entered form the user It will search the text of each tweet, then display all the tweets that contained this keyword 3. Display tweets This option will display to the console screen all the tweets

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions

Question

How would you handle the difficulty level of the texts?

Answered: 1 week ago