input problem

I want to take iser input of two numbers sepperated by a "/"
Last edited on
1
2
3
    int a, b;
    char ch;
    std::cin >> a >> ch >> b;

yabi, DO NOT delete your posts.

It is solved for you, but not for anyone else who might have learned from this post.
Last edited on
Topic archived. No new replies allowed.