Page 2 of 2
Posted: 2004-09-01 11:00pm
by aerius
Mad wrote:Drooling Iguana wrote:Why use puts() instead of printf()?
puts() is faster because it doesn't have to do string parsing.
I'm now having bad flashbacks to my 3rd year code optimization course. That course was a complete bitch and I passed it by only 5% or so, but I think it was one of the most important courses I took in CS.
Posted: 2004-09-01 11:00pm
by Durandal
Mad wrote:Drooling Iguana wrote:Why use puts() instead of printf()?
puts() is faster because it doesn't have to do string parsing.
And when you're printing a 6-character string, you need all the speed you can get.

Posted: 2004-09-01 11:36pm
by Thag
At Toledo, most of our CSE stuff is C++, and the Java classes are still listed as high level technical electives. I'm an EE, so I haven't had any major C++ stuff since freshman year, but at that point they weren't using VisualStudio either. I've heard that the higher level classes are taught using Visual Studio, but I'm not sure what the intro course uses now.