Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Undefined reference to 'main' but I do have a main function. Any help/advice appreciated. 68 int main(int argc, char **argv) 69 70 71 72 73

Undefined reference to 'main' but I do have a main function. Any help/advice appreciated.image text in transcribed

68 int main(int argc, char **argv) 69 70 71 72 73 74 75 char *inputFile -argv[1]; processInputFile(inputFile); return 0; dave@Jarvis1080: /mnt/c/Users/Dave Mahoney/Documents/CS1/assignment 3 dave@Jarvis1880:/mnt/c/Users/Dave Mahoney/Documents/CS1/assignment_3$ gcc ListyString.c usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-1inux-gnu/Scrt1.0: In function _start': (.text+0x20): undefined reference to main. collect2: error: ld returned 1 exit status dave@Jarvis1080:/mnt/c/Users/Dave Mahoney/Documents/CS1/assignment_3$

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

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

More Books

Students also viewed these Databases questions

Question

Discuss the Rights issue procedure in detail.

Answered: 1 week ago

Question

Discuss the Rights issue procedure in detail.

Answered: 1 week ago

Question

Explain the procedure for valuation of shares.

Answered: 1 week ago

Question

Which months of this year 5 Mondays ?

Answered: 1 week ago

Question

Define Leap year?

Answered: 1 week ago