Hi, I am using DEV-C++ and i am wondering how to declare variables in a windows project. I am trying to make a calculator and i need it to declare a variable a certain number when you press a button. I also need it to declare a char after you press another button. Also, i need it to be able to output what the variable equals. Thanks

Recommended Answers

All 4 Replies

Start by learning C++. Get the basics down and then this will be easy.

I do know c++. Just not all of it.

Then why are you asking? That must not be your real problem.

Because I don't know how to do it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.