Skip to content

Use of strcmp in test.cpp #2

@Kraks

Description

@Kraks

Hi, I was trying to compile the code by running make, but I got an error for the following line:

if (argc < 5 || strcmp(argv[1]=="-h")==0) {

Should it be if (argc < 5 || strcmp(argv[1], "-h")==0) {?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions