Starting to learn C++, seems like a fairly good learning curve.
Anyway, ran in to an error when using code from a book:
that works fine :eek:
then i read about using std::end1; -
this returns an error message:
E2316 'end1' is not a member of 'std' in function main() at line xx
Suggestions why?
Anyway, ran in to an error when using code from a book:
PHP:
#include <iostream>
int main()
{
std::cout << "Hello world!\n"; // new line
std::cout << "this is on a new line.."
return 0;
}
that works fine :eek:
then i read about using std::end1; -
PHP:
#include <iostream>
int main()
{
std::cout << "Hello world!" << std::end1;
std::cout << "this is on a new line.." << std::end1;
std::cout << "and another";
return 0;
}
this returns an error message:
E2316 'end1' is not a member of 'std' in function main() at line xx
Suggestions why?