Federico-abss/CS50-intro-course

How did your limit function pass check50?

purple-mustache opened this issue · 3 comments

Did you have to declare your <limit()> function in any of the others files before it passed check50? I created a function and it compiles with "make" but not with check50.

Did you have to declare your <limit()> function in any of the others files before it passed check50? I created a function and it compiles with "make" but not with check50.

by limit function, I mean 'int limit(int RGB)' that you said you created to stop repetitions in sepia

Since it is used only in the files it was defined in as a sort of helper function it does not need to be put in header files

thank you