User Profile

Collapse

Profile Sidebar

Collapse
alsoneedhelp2
alsoneedhelp2
Last Activity: Oct 1 '08, 02:02 AM
Joined: Sep 29 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • alsoneedhelp2
    replied to typeof
    in C
    for example,

    i wish to input 2 numbers, int1 and int2
    then i wish to divide the 2 numbers to get a result. such as 5, 2. the computation normally would result in 2 and does not list the remainder. however, i need the remainder value to also be calculated and in addition to giving me the result, i need to have the program tell me if the result is long, or short, or double, or whatever.

    #include <iostream>...
    See more | Go to post

    Leave a comment:


  • alsoneedhelp2
    started a topic typeof
    in C

    typeof

    How do i get a cout to tell what type of answer i get in my calculations? ie., long, short, double etc.

    I am using a division in my computation, but i need to know what type of integer it returns.
    See more | Go to post
No activity results to display
Show More
Working...