Devon McIntosh surrendered after a police dog found him hiding in the trunk of his car on campus about five hours after the late-morning shooting, police said.

"He actually put his hands up," said campus police Chief Thomas Trawick. "I'm assuming he was there just to conceal himself until he had the cover of darkness to make his escape."

McIntosh and the wounded student knew each other, authorities say.

"It was not a random shooting," Trawick said at a news conference. "This was individuals who knew each other, and there was an altercation."

The victim, whose name was not released, had surgery for wounds to the arm and abdomen, Trawick said.

"It sounds like he's going to make it," he said.

After the 11:45 a.m. shooting, a SWAT team surrounded an apartment building in University Commons where McIntosh lived. Authorities had evacuated the building and officers had recovered the handgun used, Trawick said.

McIntosh and the shot student were not roommates, but both lived on campus, said Claud Flythe, the historically black university's vice president of administration.

Four students who witnessed the shooting identified McIntosh within 15 minutes, Flythe said. Authorities found information about McIntosh's car and a tip led them to it a short distance from the shooting, Trawick said.

Dr. Tara Cox, a university marine biologist, said students and faculty were alerted through an automated messaging system.

"We just locked the doors and kept the students that were in the building in the building," she said.