I am writing a little app that uses SMTP.
And I got a weird error:
identifier "Luservar" is undefined`
code:
o_smtp->BodyText = _T(uservar->get_h().c_str() + ":" + pass_str.c_str() + "\n" + get_mac().c_str());
Why is it saying Luservar
if i say uservar
?
I have tried:
o_smtp->BodyText = uservar->get_h().c_str() + ":" + pass_str.c_str() + "\n" + get_mac().c_str();
But then I get a error like this:
expression must have integral or unscoped enum type
I am fairly new to C++ and maybe its the wrong way to merge strings?