I'm having trouble using '?' in conjunction with ','
Perhaps I'm going about it the wrong way.
const unsigned long long int stopwatch::read() //if rng, read() will give a current reading, if !rng, it'll return curr.
return rng ?
/*34*/ (struct timeval now,
timeval & beg = ((timeval*)data),
now.tv_sec*100000LL+now.tv_usec) - (beg.tv_sec*100000LL+beg.tv_usec))
stopwatch_linux.cpp: In member function ‘const long long unsigned int stopwatch::read()’:
34: error: expected primary-expression before ‘struct’
34: error: expected `)' before ‘struct’
39: error: expected `:' before ‘;’ token
39: error: expected primary-expression before ‘;’ token