![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 8
Rep Power: 0
![]() |
Weather Prediction Project Seeks Help!
To all who know C++,
Im working on a prog that will be able to predict the weather, its too complicated to go into here, but I do need some help. I need to grab all of the information in the file currdat.lst that is in quotes and store them in variables. Sounds simple enough, right? This area of my prog. is complete garbage, so I wont bother to post it. For anyone interested in helping, the next line is line one of currdat.lst [header] programm_name = "heavy weather" programm_version = "Ver. 2.0 beta release" file_name = "currdat.lst" file_format_version = "ver. 1.0" [time] start = 3315854779 start_date_string = "Thu Jan 27 17:46:19 2005" last_actualisation = 3315855694 last_actualisation_date_string = "Thu Jan 27 18:01:34 2005" next_actualisation = 3315855754 next_actualisation_date_string = "Thu Jan 27 18:02:34 2005" [weather_picture] comment = "-1=not valid, 0=rain, 1=cloud, 2=sun" number = 1 [weather_tendency] comment_1 = "-1=not valid, 0=no change of air pressure" comment_2 = " 1=air pressure rising, 2=air pressure falling" number = 0 [indoor_temperature] deg_C = "20.2" deg_F = "68.3" [outdoor_temperature] deg_C = "-15.8" deg_F = "3.5" [indoor_humidity] percent = "43" [outdoor_humidity] percent = "19" [dewpoint] deg_C = "OFL" deg_F = "OFL" [windchill] deg_C = "-15.8" deg_F = "3.5" [wind_speed] mps = "0.0" kmh = "0.0" mph = "0.0" knt = "0.0" bft = " 0" [wind_direction] deg = "22.5" name = "NNE" [rain_total] mm = "0.0" inch = "0.00" [rain_24h] mm = "0.0" inch = "0.00" [rain_1h] mm = "0.0" inch = "0.00" [pressure_absolute] hpa = "1017.5" inHg = "30.04" [pressure_relative] hpa = "2748.1" inHg = "81.15" [storm_alarm] comment = "-1=not valid, 0=storm alarm not activ, 1=storm alarm activ" number = 0 |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
Since i'm a professional programmer with little time i would have to charge for something this intensive. My rate for something like this would be $100. If you're interested contact me through PM on this forum or Aol Istant Messenger at AFTempest01.
__________________
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Feb 2005
Posts: 8
Rep Power: 0
![]() |
No thanks storm, this isnt the thing I'd be willing to pay for.
|
|
|
|
|
|
#4 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Feb 2005
Posts: 8
Rep Power: 0
![]() |
I FEEL LIKE AN IDIOT! YOUR'E RIGHT! How did I not see that...
|
|
|
|
|
|
#6 |
|
Newbie
Join Date: Feb 2005
Posts: 8
Rep Power: 0
![]() |
Umm... can you help me with .INI data mining?
|
|
|
|
|
|
#7 |
|
Programming Guru
![]() ![]() |
So, i still don't understand why you double posted the same question in two different threads.
Once again, google for some answers, write some code and post it here and we might help you.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#8 |
|
Programming Guru
![]() ![]() ![]() |
#include <iostream>
#include <fstream> #include <string> ...
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|