"int intarray;" declares a single integer, not an array. And, as the compiler rightfully points out, you didn't declare a Bubble() that takes a single integer.
I put an brackets in the main "int intarray[N]" and took them out of the "void Bubble(type &ta)". Could someone explain why that worked and why I had to declare it in the main and I couldn't have just put it in the parameters of Bubble like I have done on other programs.