Skip to content

How to run the file to work on problem, and which file? #359

@Al-Campuzano

Description

@Al-Campuzano

I am totally new to C++ so pardon my ignorance. The instructions here are not clear: https://exercism.io/tracks/cpp/tests

I'm using Atom to open/edit the exercise files, it is my understanding that the changes I need to make would be in the hello_world.cpp file for this first problem, but how do I run it?

I can run other cpp files from Atom using the gpp-compiler package, but that doesn't work for the hello_world.cpp file and I get the following error:

Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Also is that the correct file that i'm supposed to be working on and submitting? again the instructions are very vague regarding this. It seems they make some big assumptions about the level of familiarity with C++ that people have coming into this.

Anyway, I appreciate your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions