Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Variables day, month, year, number_of_pages,citation_count are ints... not char arrays all other variables are not string.. they c strings, char arrays. ex: char title[100];

C++

Variables day, month, year, number_of_pages,citation_count are ints... not char arrays

all other variables are not string.. they c strings, char arrays. ex: char title[100]; char venue[35];

so i'm guessing that the input string must be first converted to a char array and then parsed through using strtok? code this for me please

image text in transcribed

void parse(string) This function should extract all the information of a bibliographical reference given in the input string. The function will receive a comma-separated values (CSV) string, that is a delinited toxt thuat usisacomma to sepacate values. You may assume that the order of values will always be as follows: title, author's first name, author's last name, day, month, year, number of pages, citation count, type, venue, city, and country. void parse(string) This function should extract all the information of a bibliographical reference given in the input string. The function will receive a comma-separated values (CSV) string, that is a delinited toxt thuat usisacomma to sepacate values. You may assume that the order of values will always be as follows: title, author's first name, author's last name, day, month, year, number of pages, citation count, type, venue, city, and country

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

Pro Oracle Fusion Applications Installation And Administration

Authors: Tushar Thakker

1st Edition

1484209834, 9781484209837

More Books

Students also viewed these Databases questions