Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

I'm trying to compile my c code from vi editor in linux but thisis what happened, Its in a new file now, how do I

I'm trying to compile my c code from vi editor in linux but thisis what happened, Its in a new file now, how do I solve this erroron the cmd line and make sure my c file doesn't end up again how it gcc - std=c99 OpenMP.c OpenMP.c: In function 'main': OpenMP.c:51:9: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] srand(time(NULL)); /tmp/ccivpsJX.o: In function ' 1 answer

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Managerial Accounting

Authors: Stacey Whitecotton, Robert Libby, Fred Phillips

2nd edition

978-0078025518

Students also viewed these Programming questions

Question

WHO interacts with WHOM.

Answered: 1 week ago

Question

13. What factors affect the value of an option? ( LG 10-4 )

Answered: 1 week ago

Question

15. What is a swap? ( LG 10-7 )

Answered: 1 week ago