Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Accessing variable from other cpp file?

$
0
0

@jeromeh wrote:

So I've declared a public variable in ofApp.h
Its value is being constantly updated in update() in ofApp.cpp

Now I want to access this value from secondFile.cpp ... how would I do that?

Just referencing it is obviously now enough ...

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Latest Images

Trending Articles



Latest Images