AbstractBeliefs

Untitled

Jan 4th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. typedef struct {
  2.   byte temp;
  3.   byte humidity;
  4.   byte dewpoint;
  5.   int pressue;  
  6. } weather;
  7.  
  8. ...
  9.  
  10. weather gettheweather(){
  11.   weather output;
  12.   output.temp = x;
  13.   ...
  14.   return output;
  15. }
  16.  
  17. ...
  18.  
  19. weather the_current_weather = gettheweather();
Advertisement
Add Comment
Please, Sign In to add comment