#Could anyone explain why I am getting this warning?
35 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
I think you meant to write %d rather than &d there
```c
int main() {}
```
int main() {}
here is a larger image
sorry
ill try this
/tmp/ccVxbk1N.o: In function generatenumbers': | /mnt/vocwork4/grader/eee_G_2733186/asn2703992_14/asn2703993_1/1781161/4/work/hw05.c:69: undefined reference to generaterandom'
| collect2: error: ld returned 1 exit status
do yall understand this error?
you didn't define generaterandom
it's saying it can't find the definition for that function
does this mean i need to put it before?
i currently have the generate random after the function that calls it
or uses it
the case matters, generaterandom is not the same as generateRandom
wow im stupid
is this telling me i need to write
return rand() & (max-min+1) (+) min;
how would i write it then?
%
& is bitwise and
i always get the % and & mixed