jvo
BAN USER- 0 Answers Why so many C++ questions as opposed to web related questions?
I have to say I'm surprised by just how many C++ questions there are on this site, and just how few questions related to web related languages like PHP, Javascript, etc. I would think that a lot of people on this site would be applying for web-related jobs. Can anyone explain?
- jvo April 19, 2012
Do C++ questions still frequently get asked even when the job is not related to C++?| Flag | PURGE - 3 Answers How hard to find a job when primary background is C++?
I've been working as a software engineer at a defense contractor for the last 10 years (my first 10 years since college). Things there tend to be a little old school. I've mainly programmed in C++, with some C#, and just a little perl. At home, I did take on a personal project to write up a database driven website using PHP, mySQL, javascript, and HTML, although I don't think I worked on it long enough to feel like I really knew those languages. I plan to look for a new job in about a year (the city of which will be determined by where my husband goes to school).
- jvo March 31, 2012
Will I have trouble getting a job since I don't have that much experience with newer languages? I've been devoting time to going through Gayle Laakmann's books. Should I be focusing my efforts there, or should I be trying to build up skills in web languages? (or both?)
Thanks for any advice!| Flag | PURGE
I wonder if one thing we're supposed to notice is that if you square 10^10, you exceed the maximum value of even a 64 bit long integer. So, therefore, you should compare sqrt(a*b) to k, as opposed to comparing a*b to k^2. And then you get into floating point math, not integer math, so you should allow for some small difference in the comparison.
- jvo February 02, 2013I probably don't understand, but when you "find all its children", aren't you also bound to find grandchildren? In other words, assuming that you mean that for a root whose row == r, if you find all m[r][j] == 1, you will find all of the grandchildren and great grandchildren, etc as well, right? Do you connect them to root and push them to queue as well?
It seems like the other solutions listed here also do not take this into account, so maybe there is something I am missing. Thanks.
I'm not exactly sure what they're asking, but what if the threads don't operate directly on the same memory? Then maybe you could have some sort of inter-thread message passing instead to communicate between threads.
- jvo February 06, 2013