Forum: Geeks' Lounge Jun 20th, 2008 |
| Replies: 46 Views: 1,447 |
Forum: Geeks' Lounge Jun 20th, 2008 |
| Replies: 46 Views: 1,447 Re: Relaxing while coding In this order (ordered by difficulty of problem to be tackled) -- do nothing out of ordinary, music, tea, coffee, beer, Irish coffee, straight whiskey. Normally do a linear iteration through the set... |
Forum: Geeks' Lounge Jun 20th, 2008 |
| Replies: 14 Views: 536 Re: Things to Ponder I dunno... babies sleep for like 12 hours a day. My nephew's like 1 sleeps from 8PM to 7AM with a nap for an hour or so. |
Forum: C++ May 29th, 2008 |
| Replies: 6 Views: 260 Re: split data So it'll say like 13 and you want to grab the next 13 characters? Will the length actually be wrapped in []? If ya have boost installed use boost::regex for the simplest way. You might be able to use... |
Forum: Geeks' Lounge May 29th, 2008 |
| Replies: 5 Views: 238 |
Forum: Geeks' Lounge May 28th, 2008 |
| Replies: 12 Views: 542 Re: Most frustrating bug I had an amusing one today. I'm writing a SMS sending program. It's a remake of a program I wrote ages ago for the same purpose, but the wobsite to which the program interfaces changed its layout so... |
Forum: Geeks' Lounge May 27th, 2008 |
| Replies: 40 Views: 4,716 Re: things you cant explain to your nan... I like this topic. Wasn't it Einstein who said "You don't understand something fully unless you can explain it to your grandparents"? I'm nearly sure I'm mixing quotes, but I stand by it. |
Forum: Geeks' Lounge May 25th, 2008 |
| Replies: 74 Views: 2,325 |
Forum: Geeks' Lounge May 25th, 2008 |
| Replies: 575 Views: 26,854 Re: 2008 US Presidential Poll Kind of a thread mix, but I was re-reading Hitchikers again and came across this: "Anyone who is capable of getting themselves made President should on no account be allowed to do the job." |
Forum: Geeks' Lounge May 25th, 2008 |
| Replies: 74 Views: 2,325 Re: Creationism vs. Evolution >> then perhaps all the killings of one another "in god's name" will end.
Just because some people of some religions have an idea that killing "in god's name" is permissible doesn't mean they all do.... |
Forum: Geeks' Lounge May 24th, 2008 |
| Replies: 4 Views: 306 Re: Accurate IQ test 117.67. Don't think it's a very good test. What it measures what you have watched. What you've read. What you've seen. etc. What does toy story say about how smart you are? In my opinion an IQ test... |
Forum: Geeks' Lounge May 23rd, 2008 |
| Replies: 74 Views: 2,325 Re: Creationism vs. Evolution I believe you misinterpret the meaning of strawman arguments. He was talking about using physical evidence and experiments (or so I gathered), to prove/disprove the existance of God. A strawman makes... |
Forum: Geeks' Lounge May 23rd, 2008 |
| Replies: 74 Views: 2,325 |
Forum: Geeks' Lounge May 22nd, 2008 |
| Replies: 74 Views: 2,325 |
Forum: Geeks' Lounge May 22nd, 2008 |
| Replies: 74 Views: 2,325 |
Forum: Geeks' Lounge May 21st, 2008 |
| Replies: 3 Views: 195 Re: It's all related Alpha and omega. Beginning and end.
All I can say is thank Dani for the webpage preview. Saved a lot of time! |
Forum: C++ May 20th, 2008 |
| Replies: 2 Views: 82 |
Forum: C++ May 19th, 2008 |
| Replies: 5 Views: 135 |
Forum: C++ May 19th, 2008 |
| Replies: 5 Views: 195 |
Forum: Geeks' Lounge May 18th, 2008 |
| Replies: 74 Views: 2,325 Re: Creationism vs. Evolution This is an interesting discussion alright. Some of the views here I agree with, some I have to think about, but the funny thing is that it doesn't really matter. If God made the universe he might... |
Forum: Geeks' Lounge May 14th, 2008 |
| Replies: 47 Views: 1,854 |
Forum: C++ May 12th, 2008 |
| Replies: 1 Views: 121 |
Forum: C++ May 11th, 2008 |
| Replies: 8 Views: 292 Re: smallest largest You could always have them in an array and use min_element (http://www.cplusplus.com/reference/algorithm/min_element.html) and max_element... |
Forum: Geeks' Lounge May 10th, 2008 |
| Replies: 47 Views: 1,854 |
Forum: C++ May 10th, 2008 |
| Replies: 6 Views: 291 Re: Function to return two values Alternatively, if you want to return something you could create a struct/class which contains the data you want to return.
#include <iostream>
#include <string>
#include <fstream>
struct names {
... |
Forum: C++ May 9th, 2008 |
| Replies: 3 Views: 154 |
Forum: Geeks' Lounge May 8th, 2008 |
| Replies: 20 Views: 1,182 Re: Blonde With Nice Cat Yeah. I seem to remember a headline along the lines of "State of the union undress", which I chuckled at. Peta.... people eating tasty animals, right? |
Forum: C++ May 8th, 2008 |
| Replies: 3 Views: 293 |
Forum: Geeks' Lounge May 7th, 2008 |
| Replies: 17 Views: 1,005 |
Forum: Geeks' Lounge May 7th, 2008 |
| Replies: 5 Views: 321 Re: Muppet personality test! >> (Havent ever heard of them
Dude!? Where have you been. They're those old cynical fellahs. http://en.wikipedia.org/wiki/Statler_and_Waldorf
Animal :) He's that crazy drummer. Oh muppets. |
Forum: C++ May 6th, 2008 |
| Replies: 5 Views: 201 Re: Need some help, please... Why do you need to cast or even make a and b? Just test num1 and num2:using namespace std;
int main()
{
while(1)
{
int num1, num2;
cout << "Insert two numbers" << endl;
... |
Forum: Geeks' Lounge May 6th, 2008 |
| Replies: 213 Views: 10,058 |
Forum: C++ May 5th, 2008 |
| Replies: 3 Views: 188 Re: Images Depends how you program. If you're programming a GUI, like with win32api or mfc maybe, it's a doddle. There's this for displaying a picture in dos -... |
Forum: C++ May 5th, 2008 |
| Replies: 5 Views: 192 Re: help in phonebook Why don't you show us what you have started and we'll go from there. If you have nothing started start and you'll be more likely to get help. |
Forum: Geeks' Lounge May 5th, 2008 |
| Replies: 575 Views: 26,854 Re: 2008 US Presidential Poll Well that documentary, Jericho (http://www.imdb.com/title/tt0805663/), got a lot of the states blowed up. How many nukes were there? |
Forum: Geeks' Lounge May 4th, 2008 |
| Replies: 575 Views: 26,854 Re: 2008 US Presidential Poll >> it isn't much of an achievement.
Just goes to show that every vote counts. I can imagine a few anti-Obama people wishing they had turned up now though. Not something you hear every day. Who cares... |
Forum: Geeks' Lounge May 4th, 2008 |
| Replies: 1,440 Views: 74,207 Re: Collins: Why this scientist believes in God I possibly mentioned this before, but I still think it's funny: Christianity: In the beginning was a supreme being and he made the universe. Atheism: In the beginning was nothing and then it... |
Forum: Geeks' Lounge May 4th, 2008 |
| Replies: 63 Views: 3,282 |
Forum: Geeks' Lounge May 4th, 2008 |
| Replies: 919 Views: 40,789 |
Forum: Geeks' Lounge May 4th, 2008 |
| Replies: 575 Views: 26,854 Re: 2008 US Presidential Poll Heh. That's a good title, "London falls as Gordon Brown bloodied in May Day election massacre". Did Obama win by seven votes!? |