Skip to content

Skip an item #55

Closed as not planned
Closed as not planned
@AlfredXiaSF

Description

@AlfredXiaSF

Is there a way to skip an item when use scnlib? I mean in scanf we can use * to skipt an item:

int count;
scanf("%d%*c", &count);

*c means, that a char will be read but won't be assigned, for example for the input "30a" it will assign 30 to count, but 'a' will be ignored.
Is there a similay way in scnlib to implement this?

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