CrazyEngineers
  • checking datatype of input at runtime

    Updated: Oct 26, 2024
    Views: 946
    how can we check the datatype of the input that the user has entered at runtime in C++?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • safwan

    MemberSep 11, 2009

    Moderators I think this post should be in CS& IT forum..??
    Are you sure? This action cannot be undone.
    Cancel
  • gaurav.bhorkar

    MemberSep 12, 2009

    From what I have studied till today, A variable always has to be declared before it can be used and you always store an input into a variable.

    Anyone know the answer ?
    Are you sure? This action cannot be undone.
    Cancel
  • AGRU

    MemberSep 12, 2009

    As per known to me during runtime in c++ datatype of the variables are checked as per earlier declared by the user before run time i.e during compilation.if a variable has an unspecified datatype then it may show compilation error .
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register