• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Need help complying

CodeCobbler

Still gathering requirements...
Thanks received
0
I recently landed a pretty cushty gig C++ safety critical system I'm gonna be honest I'm more of a VB guy but if I don't deliver this by the weekend I'm up the creek for sure so any hints guys. :confused:

I am getting about 50 billion errors and no matter HOW hard I try I keep getting

c:\users\documents\srn_workspace\native\autopilotdynamics\steerdynamics.cpp(4011): error C2248: 'srn:::environment::data::Part::points' : cannot access private member declared in class 'srn::environment::data::Part'

WTF that means so in order to get my code to compile I am replacing
aileron_correction.Apply(); with an empty line but no difference
:tantrum:
 
Is there any possible chance you could let us know which safety critical system it is you are attempting to work on so that I make a mental note never to use that product again?
 
I keep getting

c:\users\documents\srn_workspace\native\autopilotdynamics\steerdynamics.cpp(4011): error C2248: 'srn:::environment::data::Part::points' : cannot access private member declared in class 'srn::environment::data::Part'

Have you put Option Explicit at the top?

That will fix it - then mjake sure you point out to the permies how brilliant you are and how they can't live without you.

NickFitz - you are deprecated! Hand over you id and f**k off. I am the DADDY now!
 
Is there any possible chance you could let us know which safety critical system it is you are attempting to work on so that I make a mental note never to use that product again?

Have a close look - it looks like flight control systems. And that, my friends, is why I never fly if I can avoid it. Too many dodgy contractors working on critical systems. :eek:
 
I recently landed a pretty cushty gig C++ safety critical system I'm gonna be honest I'm more of a VB guy but if I don't deliver this by the weekend I'm up the creek for sure so any hints guys. :confused:

I am getting about 50 billion errors and no matter HOW hard I try I keep getting

c:\users\documents\srn_workspace\native\autopilotdynamics\steerdynamics.cpp(4011): error C2248: 'srn:::environment::data::Part::points' : cannot access private member declared in class 'srn::environment::data::Part'

WTF that means so in order to get my code to compile I am replacing
aileron_correction.Apply(); with an empty line but no difference
:tantrum:

You need to add the line

aileron_correction.set(0.0 - aileron_correction.get());

and then search and replace the word private with public in all files. That should see you right.
 
c:\users\documents\srn_workspace\native\autopilotdynamics\steerdynamics.cpp(4011): error C2248: 'srn:::environment::data::Part::points' : cannot access private member declared in class 'srn::environment::data::Part'
The problem is you are putting smilies in your code :)
 

Advertisers

Back
Top