Problem on compilation of code

Problem description:

Expected behavior:

Actual behavior:

Steps to reproduce:

Bug appears at this link:

Browser/OS/Device:

Running issue

write some code before but is not run now .the error is linker faild . What I do now

I don’t know how to solve this problem with make -s compiler, use gcc compiler:

# .replit file
run = "gcc filename.c -o filename && ./filename"

… where “filename” is a name of your .c file.
If you want to compile .cpp or .cc file, use g++ compiler instead of gcc

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.