Skip to content

Missing symbol in translation unit? #77

@gmalecha-at-skylabs

Description

@gmalecha-at-skylabs

When compiling this example, it seems that the symbol for operator>>(..., string&) is missing.

// https://www.geeksforgeeks.org/cpp/input-in-cpp/

#include <iostream>
using namespace std;

int main() {
    int age;
    cin >> age;
    string name;
    // Take multiple input using cin
    cin >> name;
    // Print output
    cout << "Name : " << name << endl;
    cout << "Age : " << age << endl;
    return 0;
}

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions