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

How do I create a custom class in Visual Studio?

$
0
0

@jadie_p1 wrote:

I am writing a program to generate cells using Wolfram's rule. It is called Cellular Automata, But I call it ca for short in the program. I have made a function called void ofApp :: cells (float ca) and then I have written ca.push_back.display(); but it says 'Expression must have a class type' can someone please tell me what this means and give an example? Lastly I should mention that ca is in written like this in the header filevector <float> ca;

Thanks,

Jade

Posts: 9

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles