958 Posted Topics
Re: [QUOTE=phoenix911;1163059]rule 1: never learn code out your head[/QUOTE] Wtf? | |
Re: Are you trying to declare a SomeClass member from inside of MyClass? | |
Re: I believe that's just factorial...and insanity. [URL="http://www.cppreference.com/wiki/complexity"]http://www.cppreference.com/wiki/complexity[/URL] Your compiler would also probably just simplify that as: [code]printf("Inner statement executed 160000000 times\n");[/code] PS: We have an edit button, you don't have to make a second thread. | |
Re: Just place the template outside the class: [url]http://www.cplusplus.com/doc/tutorial/templates/[/url] | |
Re: That's some hard to follow code. So pretty much what you is this: [code]cin >> number; if(number & 1) number /= 2; else number = (number * 3)+1; if(number < 1) cout << "error message";[/code] But in a loop that at the end prints the index value? You may need … | |
| |
Re: Obviously as you said: [code]loop getchar() till (key == '\n') if is_alpha() if is_upper_case() increase array_counter[key - uppercase_A_as_an_int]; else ... [/code] Write it out as pseudo-code then put it into C format. | |
Re: Sequential cases and macros are nice and clean with enums: [url]http://gnuvince.wordpress.com/2009/09/08/enums-in-c/[/url] | |
Re: Just a minor thing, but you could save time declaring like variables: [code]static double one = 234.34, two = 34520.0303, three = 333.33, ...;[/code] | |
Re: You can upload the file here, as long as you own it(not someone else's property). No one's going to risk it downloading things offsite. Anyway: [url]http://en.wikipedia.org/wiki/Primitive_data_type#Integer_numbers[/url] You may want to learn a simpler language first. | |
Re: I don't have a job, but I work with an axe and that's rewarding enough. | |
Re: After your post, twenty people probably just went out to buy some spools of Velostat and large baggies of multicolored pills. | |
Re: Audiophiles are insane. Don't listen to them. They'll pay tens-of-thousands on equipment to achieve something they could have built with a bin full of rubbish. Of course, if they're the technical sort; then they'll have to spend twelve dollars a resistor on some sort of back-order of antique ones, all … | |
Re: I eat raw bacon. Or were you expecting me to tell you where my marijuana and poppy fields are? Perhaps where I buried all the gold bullion? | |
Re: Can you break down the problem into something readable? | |
Re: [QUOTE=cscgal;1127905]Reputation is just like it's real-world counterpart. It's all about what other members of the community at large think of you. Members with more reputation themselves can affect other people's reputation by more. The reputation system also comes armed with a way to comment on why you gave the reputation … | |
Re: Less offensive than having an entire manual and disclaimer printed on the side of a rifle. Especially if you sold your house for one: [url]http://www.ivorybeads.com/[/url] | |
Re: I think the problem lies in them all getting stinko on taxpayer's money: [url]http://www.redstate.com/jrichardson/2010/02/03/pelosi-spends-hundreds-of-thousands-on-travel-alcohol/[/url] Politics and alcohol doesn't mix well. I'm also sure if they had to pay for their own parties they'd be a tad more responsible with fiscal matters. | |
Re: [QUOTE=sneekula;569667][B][COLOR="Red"]joshSCH[/COLOR][/B] Was an awesome godlike being, whom spread happiness throughout the binary planes of the internet. Sadly, he was cut-down in his prime by "The Man".[/QUOTE] Just thought I'd correct that. | |
Re: Mobile what??? Particularly what OS does it have? There's a lot of remote admin programs out there, just base it on those. | |
Re: [QUOTE=Paul Thompson;1127721]I am flying from Australia to the San Francisco[/QUOTE] Well better to head towards San Diego and check out the zoo than stay in stuffy old Frisco. [QUOTE=WaltP;1128205]Real Player[/QUOTE] [url]http://maps.google.com/maps?q=2601+Elliott+Avenue+Seattle[/url] Nothing particularly interesting about that building, but the area has alot of fun places visit. | |
Re: [QUOTE=Narue;1121326][B][B]>Even though the ads all ask for top talent[/B] Ads ask for pipe dreams. Don't judge yourself against the list of buzzwords than some HR grunt pulled out of their grab bag of cheap adjectives. If I compare myself against an ad, I'd be woefully underqualified for my own job. … | |
Re: hmmm... 4chan memes, well then I say: last Thursday when the pool closed due to AIDS. | |
Re: [QUOTE=Schecter;1112001]more info on republic day?[/QUOTE] More info on Google? | |
| |
Re: The best you can do is disassemble it. If you know how all the code went already, sometimes its pretty easy to rewrite it all. | |
Re: Why the hell is anyone replying still? There isn't even an "argument" to advance or defend, anymore. It's all useless mud being flung in here. | |
Re: It doesn't work because you're using nonstandard code written for ancient compilers. [list][*][I]conio.h[/I] should be removed from your code. [*]main() by standard requires a return value(except in very rare cases). [*]And read the site rules: use CODE TAGS, because it keeps your code formatted and possible to read.[/list] | |
Re: Sometimes part of that "What do you want to rate..." bubble is floating over all the post(don't have a pic), or the text isn't center and strays outside the bubble(sorry, no pix either). Also, why is the question mark yellow-on-manila? I can't see it without squinting and holding my face … ![]() | |
Re: I'd like to learn electronics more. So that my programs are all just a series of resistor-transistor logic gates, and other low-level awesomeness. Then I'd like to learn chemistry and physics better. So that I could develop functions on a picometre level. | |
Re: [list][*]Oz. Heavy cream(maybe two ounces) [*]1/2Oz. Makers Mark whiskey [*]1/2Oz. Extra strength coffee [*]1/4Oz. Kahlúa [*]1/8Oz. Baileys [*]1/8Oz. Vanilla [*]Ground cumin, clover, nutmeg, and whatever else.[/list] Was okay when I had it. I think... was so late/early. | |
Re: Just look up the WikiLinks list, if you're curious. Mostly its porn sites(including alot of user created "tube" style ones), few old shock sites no-one cares about anymore, alot of illegal sites that were already pulled by authorities, a number of accounts on major sites that have been deleted by … | |
Re: [QUOTE=William Hemsworth;1071485]I could swear there was a similar thread about this somewhere, I'm up for idea though (:[/QUOTE] [I]Community Feedback[/I], few/several months ago. | |
Re: [URL="http://www.cracked.com/video_18104_the-algorithm-alan-rickman.html"]Or use.[/URL] | |
Re: [QUOTE=ddanbe;926167]You are right scru, altough I do not consider myself ugly, I am not Mister Universe, but neither are you![/QUOTE] Actually, you should say: I'm not Mister Universe, therefore I'm not ugly. | |
I was going through the ACMA's blacklist and wondered, "Do you think there'll ever be such a censorship in the states, in years to come?" Then staring at the list, why: don't they just report some of the crap to the staff with all the convenient report buttons on the … | |
Re: [URL="http://www.thesuperheroquiz.com/result.htm?a=60&b=45&c=65&d=60&e=60&f=48&g=70&h=45&i=45&j=65&k=60"][quote][B]You are [U]Hulk[/U][/B] You are a wanderer with amazing strength.[/quote][/URL] Well, that quiz wasted all the time I had left, till I go for the holidays. | |
Re: [QUOTE=Narue;1078890][B]>what if you're a geek !![/B] Watch out for jocks?[/QUOTE] I think that stereotype barrier was broken long ago, with the advent of "hackers on steroids". | |
![]() | Re: Maybe try this: [code]#include <stdio.h> #include <stdlib.h> #include <conio.h> int main() { window(100, 50, 360, 350); textbackground(RED); _sleep(5000); clrscr(); return(0); }[/code] And you do know how a grid works, and how to find the x,y coordinates right? edit: Oh, yeah! You have to use the BB-code tags(it's the law): [url]http://www.daniweb.com/forums/misc-explaincode.html[/url] |
Re: Looking at those signatures, I'd say the OP's favorite is spam bots. | |
Re: 880 rounds of Bulgarian 7.62x56R At least this year I don't want one in the brain, while I have my head in the snow trying to keep from going insane, from pain boring through my right eye. | |
Re: Believe we had an article on this a while ago, could be mistaken, might have been off-hand discussion. And I also hate excessive Boost usage on all sorts of unnecessary things already in the STL or even plain C. | |
Re: Summer is sweltering and unlivable, winter's fun, but people seem to get retarded in the cold somehow. Spring and Fall are obviously superior. | |
Re: I second this. It pisses me off to great ends, when they do this. They'll probably even attempt this still with fake-signatures. | |
Re: The same way you could get free CDs: label's annual/seasonal samplers, promotional demos, raffles, band passes them off the stage. | |
Re: [url]http://encyclopediadramatica.com/Emo_Cutter_Girl[/url] Match made from the depths of hell. ![]() | |
Re: [QUOTE=Scuppery;656459] 5. I had a dream… and there were 1’s and 0’s everywhere, and I think I saw a 2![/QUOTE] There is no such thing as two, silly Bender. |
The End.