it's telling me that I don't have enough privilege to access private messaging
it's telling me that I don't have enough privilege to access private messaging
No worrys, it probably just wants you to get a certain post count or something.
If allocating memory scares you, try out this little bit:
This will only work however is your compiler is C99 supported.Code:int main (void) { int guests, parties; int i, j; int same = 0; printf("How many guests will be attending?\n"); scanf("%d", &guests); int birthdays[guests]; printf("How many parties are there?\n"); scanf("%d", &parties);
int bDays[Guests] doesn't work. I need a constant. Maybe 366 will work lemme give it a shot
I have another approach to this:
Code:main() initialize guest initialize party create loop for party call int party(int n) function //n being number of guests break party loop int party(int n) set birthdays for parties nested for loop to compare each return 1 if birthdays are identical