c++ error message system cannot find file specified


when I compile, there are no errors, but when I run the program it tells me there are build errors and then "the system cannot find the file specified." I have copied and restarted a new project, then new item and still get same error message. Can someone tell me what the error is? Thanks.



```
#include <iostream>
using namespace std;

class testClass
{public:
    int sum();
    void print();
    testClass();
    testClass(int a, int b);

private:
    int x;
    int y;
};

int testClass :: sum ()
{return x + y;}

testClass :: testClass (int a, int b)
{ x=a, y=b ; }

testClass :: testClass ()
{ x=0, y=0 ; }

void print ()
{cout << "Sum of one, a + b = " << endl;
cout << "Sum of two, a + b = " << endl;
}


/* an entry point for program execution */
int main()
{
testClass one;          //default constructor called
testClass two (2,2);    //constructor with 2 values called
one.print();
two.print();

}

```
>>when I compile, there are no errors,  

Ditch the compiler and use a different one. There is a link error.



>>void print ()



Wrong. should be `void testClass::print ()`
[image] cid\_cat:

error: c++11 is required and is missing or failed to compile.

i can’t help with most of that, but for c++11, see:

<https://gcc.gnu.org/projects/cxx-status.html#cxx11>

you probably must explicitly pass argument “-std=c++11” (or in some cases, perhaps “-std=gnu++11”).

if you l… [image] endermaz41:

didn't know what to put in the error portion

first of all, err(…) is a value, not a type. since err is a variant ("constructor" if you like) of enum result, if you invoke it, you get a value of type result. you won't get a value of the error type itself, much less a type.

… did you call initwithphysics() in your scene init() method?

there is a working demo in cpp-tests, so check that out and see what the differences are between that test code and yours. hello,

there are more possibilities how write output to file. first is by standard methods of jscript by “scripting.filesystemobject”.

var fso = new activexobject(“scripting.filesystemobject”);

var forreading = 1;

var forwriting = 2;

if (fso.fileexists(‘c:\test.txt’))

var f1 = fso.opentextfile… In C ++ 11, the code is well defined, but may not do what you expect. Exact Effects: 21.4.5 / 2:



>  Returns: `*(begin() + pos)`
>   
> 
> 
> 
> 
>  (adsbygoogle = window.adsbygoogle || []).push({});
>  
>   
> 
> if `pos < size()`
>   
> 
> 
> 
> 
>  (adsbygoogle = window.adsbygoogle || []).push({});
>  
>   
> 
> , otherwise a reference to an object of type `T`
>   
> 
> 
> 
> 
>  (adsbygoogle = window.adsbygoogle || []).push({});
>  
>   
> 
> with a value `charT()`
>   
> 
> 
> 
> 
>  (adsbygoogle = window.adsbygoogle || []).push({});
>  
>   
> 
> ; the reference value should not be changed.
> 
> 
> 



  




 (adsbygoogle = window.adsbygoogle || []).push({});
 
  

So, if the string is not empty, it returns a reference to the beginning of the internal buffer. If empty, it returns a reference `char`
  




 (adsbygoogle = window.adsbygoogle || []).push({});
 
  

with a value `0`
  




 (adsbygoogle = window.adsbygoogle || []).push({});
 
  

whose location is implementation information. the compiler will throw the following errors:  


10: error: increment of read-only variable **k**,  


12: error: **lvalue** required as increment operand. hi,

sorry you are having issues with this. this is a known bug that was fixed in 2.24. the index of the loop is of an unsigned type in the generated c++ in 2.23. and since there are no negative numbers in unsigned types -1 becomes max integer.

issue where we found this: [https://github.com/stan-dev…](https://github.com/stan-dev/stanc3/issues/536) hi,

i can compile your code without error.

could you help to double check your makefile and environment?

environment is set by jetpack2.3.1

topic\_988388.cpp

#include "nvxio/application.hpp"

#include "nvx/nvx\_opencv\_interop.hpp"

#include <opencv2/imgproc/imgproc.hpp>

std::vector<cv::mat> tovisi… you are mixing up "for all iterators i" with "for some specific kind of iterator i".

what if i decide to call foo<std::vec::intoiter<string>>? then you have a function that takes an intoiter<string>, but you tried to call it with an skip<intoiter<string>>, which is a different type. hence a type mi… hey [@aravindhrs](/u/aravindhrs) 
after checking the project-structure x-times i found my mistake. 
the processes.xml was created but not in the “meta-inf”-folder. after the correction of this the forms works perfectly. 
lessions learned: the problem sit 80cm in front of monitor. :wink: