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.Mad wrote:puts() is faster because it doesn't have to do string parsing.Drooling Iguana wrote:Why use puts() instead of printf()?
What kind of programmers are schools creating today?
Moderator: Thanas
aerius: I'll vote for you if you sleep with me.
Lusankya: Deal!
Say, do you want it to be a threesome with your wife? Or a foursome with your wife and sister-in-law? I'm up for either.
Lusankya: Deal!
Say, do you want it to be a threesome with your wife? Or a foursome with your wife and sister-in-law? I'm up for either.
- Durandal
- Bile-Driven Hate Machine
- Posts: 17927
- Joined: 2002-07-03 06:26pm
- Location: Silicon Valley, CA
- Contact:
And when you're printing a 6-character string, you need all the speed you can get.Mad wrote:puts() is faster because it doesn't have to do string parsing.Drooling Iguana wrote:Why use puts() instead of printf()?
Damien Sorresso
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
- Thag
- Jedi Knight
- Posts: 794
- Joined: 2004-02-12 06:44pm
- Location: Cannot be revealed without endangering our assets.
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.
"And the sign said, 'Anybody caught tresspassing, will be shot on sight.' So I jumped over the fence and yelled at the house, 'Hey! What -'" BAM*BAM*BAM*BAM*BAM