Too few arguments error

Hi, I would like someone to please tell me how to fix this problem. I believe it's expecting more arguments than one?

This is a program for calculating binomial terms that I created on the Ti84 calculator. And now I'm trying to recreate it in C++.

-removed source-
Problem has been fixed. Thank you!
Last edited on
int Convert(int output);

You've told the compiler that Convert takes an int.


cout << Convert();

So what makes you think you can get away without supplying one when you call it?
!! Thank you.
Wow, I can't believe I overlooked it. I'm using Sourcelair, an online compiler.

I also forgot to declare int output in main().
Topic archived. No new replies allowed.