programming-related

What is a good free platform that allows code highliting/good code visualizations?

I want something similar to a Wordpress.com blog. What site has a free solution like this? I want to start a little WPF blog to help newbies with the same problems I've had in my learning of WPF. Edit: I need it to have a [code] tag or something similar. ...

Major search engine value - for programming searches

As a developer, I find myself searching for things all the time. There is know way I plan on remembering every little detail. Google has been my friend throughout my (so far not so long but developing) career. Knowing how to search properly (in any context) is important for finding the information you want quickly. As a developer, ...

Changing layouts in SWING

I have written a program with flow layout, in Java, using Swing Framework. How do I change it to use group layout? ...

What is the difference of declaration of a variable in a loop and before the loop?

Look at this example: int i; for (i=1;i....... and this: for (int i=1;i........ What's the difference between them? ...

C++ Constructor error - Expected ')' before token '<'

What is wrong wit the following constructor declaration? I keep getting this error: Expected ')' before token '<' class Environment{ public: Environment(vector<vector<char> > roomData); private: //.... }; Note: ok I see what's wrong. I did not add: using namespace std; ...