Aug 10, 2018
PDF. [Theresa Fossum] (2017) Veterinary surgery and therapy
References
Category:1968 births
Category:Living people
Category:University of Florida alumni
Category:University of Missouri–Kansas City alumni
Category:American surgeons
Category:American women physicians
Category:Women surgeons
Category:Vanderbilt University faculty
Category:People from the Bronx
Category:Syracuse University faculty
This plugin was written by:
webmaster@prisastudy.com
Q:
Can't call outside function of class within function of class
I'm having a problem with my C++ code.
I'm currently working on a project for a school course, and I'm currently stuck with this problem.
I have a function within a class that uses 'getline' to read from a file. This file is constantly updated every time a user logs in and updates some data.
I have a text file that is updated whenever a user logs in and updates their data, and I want to read the lines of this text file and pass them to my class function that reads from it. I tried to do that within a void function and within a function within a class, but I always get an error of the type "expected unqualified-id before '=' token".
I hope someone can help me out.
Here's my code.
#include "stdafx.h"
#include
#include
#include
using namespace std;
class rec_command{
public:
rec_command(const string& fn, string& res, ifstream& in, ofstream& out)
: _fn(fn), _res(res), be359ba680
Related links:
Comments