Just to clarify a little more, all I have to do is find out if the Year at position[i] of windlog is equal to the year input by the user, for all the records of each month in that year I need to make...
Type: Posts; User: daffer
Just to clarify a little more, all I have to do is find out if the Year at position[i] of windlog is equal to the year input by the user, for all the records of each month in that year I need to make...
Windlog is a vector, that stores Date, Time, Temperature and Solar Radiation from the input file.
So I have a method, that takes in my vector and does a for loop where it checks if the year and month entered in by the user exists in the file, the data from those matches is taken in and some...
I have a csv file with several columns and rows. It is quite large, so for testing purpose I have a test file like this:
WAST,DP,Dta,Dts,EV,QFE,QFF,QNH,RF,RH,S,SR,ST1,ST2,ST3,ST4,Sx,T...
Here is my Vector template class:
#ifndef VECTOR_H
#define VECTOR_H
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
Hi, so I'm fairly new to structs, and what I want to do is read data from a file into a struct. My struct uses 2 classes date and time to read in date and time values, and I've created a Custom...