clang++ is awesome, goodbye g++

I finally got around to reading up on the clang compiler and I love it. The error messages are so helpful. Here's a quick example with a syntax error. Lets compile it on the command line.

#include <iostream>
int main() {
	std::cotut << "Hello World";
	return 0;
}

What happens when I run the code with g++?

paulsolt@~/dev $ g++ test.cpp
test.cpp: In function ‘int main()’:
test.cpp:3: error: ‘cotut’ is not a member of ‘std’

Here's what happens in clang++, notice how it highlights the position and it's actually more helpful in fixing the error.

paulsolt@~/dev $ clang++ test.cpp
test.cpp:4:7: error: no member named 'cotut' in namespace 'std'; did you mean 'cout'?
        std::cotut << "Hello World";
        ~~~~~^~~~~
             cout
/usr/include/c++/4.2.1/iostream:63:18: note: 'cout' declared here
  extern ostream cout;          ///< Linked to standard output

Life Changing Event

My life has changed thanks to Joe. Suddenly my tab key is more useful on my Macbook. I can now tab through my dialog option buttons. There's an obscure setting in the System Preferences > Keyboard and Mouse > Keyboard Shortcuts > Full Keyboard Access (set to All Controls). Or you can press ctrl-F7.

This makes so many things much easier to do with out having to constantly use the mouse to move to a button and click.

Love it!

End of the Spring Quarter

Wow, these past few weeks have been flying by. This coming week is week 10 and then I have three finals on Saturday because RIT decided to start finals on Saturday for spring to avoid conflicts the graduation ceremonies. I have two papers to write, one on photon mapping and caustics for computer graphics II and one on DNA profiling for Truth and Consequences. I still have one more programming project to finish to demonstrate photon mapping. This weeks' going to be real busy and I hope I can finish everything and still have time to get to the gym. Check out my website with all the awesome pictures at Paul's RIT website

Spring Quarter

Wow, it's already week 2 of spring quarter and I've got a heavy load. Here's a link to my main RIT web page that I updated with current course work. RIT Webpage So far I have links for two of the classes I'm taking with graphical pictures, code, and possibly even some executable files. Work on the game project is being delayed because of all the course work, and I'm also working on a separate game project for the Game Developers Club, so I'm pulled in a lot of different programming directions.

Ultimate Frisbee starts next week and I'm also working on filling out my application packet for the Student Government GCCIS Senator position, so that could be interesting in the next few weeks.

Computer Science BS/MS switch and the dawn of a new club

I now have two big things that I'm doing in addition to everything else. First, I'm planning on switching over to the Computer Science BS/MS program. So I'll get a Masters in Computer Science with one additional year of college, putting me at 2010. For the MS degree, I plan on doing a cluster in computer graphics. It's been a topic that has always intrigued me, but it wasn't until this year that I was really able to dig into it with my Computer Graphics I course. Next quarter I'll be taking my first graduate course, Computer Graphics II, which means I'll have extra work to do, but it should be good since it's interesting material. I'm also looking to start a Computer Science Club/Organization here at RIT. Currently, nothing exists. To get things rolling, I've been talking with the chair of the CS department and with many friends in computer science who are all very interested. I want it to be a place were CS majors can meet each other through different social events, as well as a place to give student input directly to the department. Along side organizing I am trying to design some CS T-shirts/sweatshirts to sell to students who are proud to be a Computer Science major. In the next few weeks I'll be setting up a meeting to get student feedback and to see if anyone is willing to work on the executive board. I'm already VP of another club, so I would need people willing to help out.