Jump to content

bbq

Active Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by bbq

  1. I remember a year ago or so on one of the vids a Microsoft project was detailed whereby you take hundreds of photo's of a rooom / house and it then renders it into a 3d environment that you can walk around in virtual environment kind of thing. I cannot remember the name of it or the video of it for the life of me and would really appreciate a link to it if someone can remember it. I found this - http://research.microsoft.com/en-us/um/red...ivm/PhotoTours/ But am not sure if this what i am after Cheers
  2. #include <iostream> #include <set> #include <vector> #include <algorithm> #include <iterator> typedef std::set<int> set_type; typedef std::set<set_type> powerset_type; powerset_type powerset(set_type const& set) { typedef set_type::const_iterator set_iter; typedef std::vector<set_iter> vec; typedef vec::iterator vec_iter; struct local { static int dereference(set_iter v) { return *v; } }; powerset_type result; vec elements; do { set_type tmp; std::transform(elements.begin(), elements.end(),std::inserter(tmp, tmp.end()),local::dereference); result.insert(tmp); if (!elements.empty() && ++elements.back() == set.end()) { elements.pop_back(); } else { set_iter iter; if (elements.empty()) { iter = set.begin(); } else { iter = elements.back(); ++iter; } for (; iter != set.end(); ++iter) { elements.push_back(iter); } } } while (!elements.empty()); return result; } int main() { int values[4] = { 2, 3, 5, 7 }; set_type test_set(values, values+4); powerset_type test_powerset = powerset(test_set); for (powerset_type::iterator iter = test_powerset.begin(); iter != test_powerset.end(); ++iter) { std::cout << "{ "; char const* prefix = ""; for (set_type::iterator iter2 = iter->begin(); iter2 != iter->end(); ++iter2) { std::cout << prefix << *iter2; prefix = ", "; } std::cout << " }\n"; } getchar(); }
  3. I find Java to be quite neat, clean and easy once you get going in it :)
  4. Yea if the above doesn't work create this file #include <iostream> using namespace std; int main() { cout << "Hello, World!" << endl; return 0; } save this using gedit (text editor) as helloworld.cpp then instead of using the gcc command in linux terminal use g++ -o hello helloworld.cpp this will create an executable called hello if it works. You can run the executable the same as above "./hello" If you are after an IDE like microsoft visual studio to make compilation simple as a click... then i would recommend an ide (integrated development environment), my personal favourite under linux is one called codeblocks Think the site is CodeBlocks its simple and easy to use and unlike KDevelop IDE and Eclipse its not full of stuff that confuses beginners :)
  5. http://www.hackerskills.com/ perhaps try this also
  6. So this little program lets you search a id and opens that up... or search for a friend and also opens that up ? I think thats what it does... Anyway nice job and keep coding :)
  7. If only quota was free downunder... sadly 25GB would be gone so fast
  8. lol good old chuck norris facts :) edit : Deags are you a Queenslander - thought maybe seem as though i spotted some XXXX in that fridge :)
  9. bbq

    What can i do...

    Live in Australia - its all sorted asked a mate at uni and he has xp pro and is sharing his cd with me :)
  10. Nice effort with the apps, luckily I have a G15 keyboard and i can lock the windows key anyway however it could be useful for stupid mistakes in fast fps games when you accidently combine ALT + TAB in some mash of the board just before you die :)
  11. bbq

    What can i do...

    Lol i might just have to do that, will give it a try... If that fails - then i will steal it
  12. There are only 2 rules in drinking 1 Beer in summer (Coopers Pale Ale) 2 Rum in winter (Bundaberg Rum) that is all
  13. bbq

    What can i do...

    Sorry for double post... I am certain my university does not offer that sort of service... Although it does sound like a good idea. I do software engineering and the course is leaning towards Linux and GNU for development... They steer clear of windows except to occasionally show the difference between compiler warning / error messages under different environments... My computer is hand built by me from parts bought individually, so there is no chance of a recovery disk being obtained... so yeah I am currently SOL
  14. bbq

    What can i do...

    Alright thanks for the information... I do not know anyone who has XP Pro as my mates either have mac notebooks or XP Home... I will ask at uni if i can borrow a mates DVD and install with my own serial... I actually did that once before on my old old pc when i had XP Home as it was a Packard-Bell and they didn't give an OS disk with the computer as most package POS computers do... I had a learch around some dodgy places on the net (warez)... It seems to be rather difficult to find completely untouched .iso's of my version of windows Windows XP SP2 OEM 2002 You would think MS would offer some kind of .iso download so people can restore there product legitimately... Already millions of people are using pirate windows... I prefer not to as i am an advocate for open source however i don't mind paying for MS and believe there are only 2 things on a computer that are definitely worth paying for OS and Anti-virus if needed... That way you have a 'safe' basis to build from... I reformatted my hard drive already as dual booting from the same HDD was causing some crashing issue's for windows and the Linux partition I had previously was a little small and my HDD had no room for resizing the partitions. So i cannot restore windows from within windows in anyway as it was nuked before I realised I had broken the cd :( I guess i am definitely SOL... and as m0u53 said most people have already handed there hundreds if not thousands into microsoft for products and I am most certainly not re buying something i already own and have a license to use.... Thanks for the advice and i will try to source a sp2 xp disk from a friend and do it that way. Cheers bbq ;)
  15. I enjoy JCreator for an IDE... however i linux Eclipse is the go... As for downloading the compiler and all that... www.java.sun.com go to downloads and then Java SE install and add environmental variables if you want to use cmd... there is a netbeans and sun java combo there to download that should automate it for you...
  16. bbq

    Quick Survey

    1) Whats would you choose?Gnome,KDE,Fluxbox,Xfce,Other Gnome 2.2 2) If other what do you choose null 3) What file manager: Konqueror,Krusader,Dolphin,Nautilus,xfe,Thunar,PCManFM,ROX-Filer Nautilus 4) Whats your fav browser Opera 5) Name 10 of your fav networking/pentesting tools Gnome - stock network manager : aircrack... assortment of tools from backtrack distro.. 6) Whats your fav office program Openoffice 7) What programs would you like to see in linux distro's as a default Codeblocks Eclipse Sun JDK pre-configured Eclipse VLC aMSN X-Chat k9-copy Brasero Disc Burning Netbeans IDE SciTe (text editor) Thunderbird Sunbird Opera 8) On a rate 1-10, how important is the look of an os 10 9) Whats your fav audio player, movie player, burning utility Audio - Banshee Video - VLC Burning - k9-copy and Brasero 10) Whats your fav game On linux none, they all suck. Maybe Americas Army 2.5
  17. bbq

    What can i do...

    Recently i went to reformat my pc as i dual boot linux and xp... I opened my little box where i keep all my backup cd's and OS installs etc... to discover my XP Pro SP2 OEM cd had snapped in half :/ I am not buying a new copy thats for sure... currently just running fedora linux to keep me going however some apps i use need doze and i need to get it running again on a new hdd i bought... problem being i don't have a cd anymore... i am not purchasing another... is there anyway to reinstall windows... warez is dodgy even for apparently untouched images etc... i want to reinstall with my key and all that... any suggestions are appreciated
  18. bbq

    Awesome FREE FPS

    Yea Americas Army used to be quite good a few years back - they started adding to many things and listened to the stupid geek old men who run all the anti-cheat sites and kiss ass on the official forums and subsequently took a fluent game and made it into some kind of mechatronically ridgit POS... Also the lovely lag and regular crashes combined with the addition of noob friendly maps complete with shitty scoped SF weapons helped decrease the skill level of players all round and lead to the collapse of any decent leagues. </endrant>
  19. Create an ATM machine using objects... classes etc... Then create a media player... ^_^
  20. bbq

    Awesome FREE FPS

    Its horrible anyway... Its free yes... however i would rather play Americas Army (which is free) and that game really sucks...
  21. bbq

    Awesome FREE FPS

    It tires quickly. Sorry to say
  22. I was not a fan of java whilst learning it, however once i delved into c and c++ with all the plethora of data structures and memory management issues... Java really became a programmers dream by compariso... Although cpp is a lot more powerful, java has more than enough to complete most application requirements.
×
×
  • Create New...