958 Posted Topics
Re: SP clips, on YouTube, always get deleted. A more official link: [URL="http://www.southparkstudios.com/clips/155351"]http://www.southparkstudios.com/clips/155351[/URL] | |
Re: A quote from an old Phreak article: Sniffing is for perverts. | |
Re: VX Heaven, that is all. | |
In tech forms, when someone starts a new thread. It should be evaluated whether it has at least rudimentary sentence qualifiers, in the non-code tag fileds. A crude list of requirements might be: at least on capital and lowercase letter, one of [i][b].,?!;[/b][/i], perhaps even no excessive usage of internet … | |
Re: [QUOTE=want_to_code;843385]1.[code] #include<stdio.h> int main() { int function(int); ...[/code][/QUOTE] Prototypes don't go inside other functions. | |
Re: How about no windows, and just a call that passes something to write(a box of pixels) to the video device? That's a lot of components of code to write just there. By the way, Laik, how much of an OS do you have? You will probably want to lean more … | |
Re: I don't like have snippets seem random now... I want to know anything new is now available for any language. | |
| |
Re: [QUOTE=~s.o.s~;836716]Eh? Impossible to read what? The site to which I linked to?[/QUOTE] It was all purple, earlier: [url]http://www.daniweb.com/forums/thread184413.html[/url] Where's the hentai previews? | |
Re: [I]Build Your own RObot,[/i] [i]CRC's Handbook of Physics and Chem 63rd. ed. (always useful)[/i] [i]C# Pocket Reference[/i] That's all I can think of, other than what I might have from the library at the moment. | |
Re: [QUOTE=gangsta gama;840881]1) When I have [code=c++]if (inventory.size() == MAX_ITEMS) { inventory.push_back("Rusty Armor"); } else { deleteItem(); } [/code][/QUOTE] uhmmm... If you have a full inventory of items, you get a free Rusty Armor, but if you don't you lose an item? I think you meant to use [icode]inventory.size() != MAX_ITEMS[/icode] … | |
Re: To note, do not use exit(). In your main loop just break, and your destructors should clean anything. | |
Re: [QUOTE=thoughtcoder;841923]The "do something every Nth time through a loop" problem is probably where you'll see the modulus operator used most often.[/QUOTE] I generally just use the logical AND operator for that. | |
Re: [icode]type var_name = new type[n];[/icode] not [icode]type var_name = new var_name [n];[/icode] You need to establish a better naming system that allows you to recognize what is what, with just a glance. | |
Re: [QUOTE=ddanbe;840576]Yes, i++ is just a shorthand for i = i + 1.[/QUOTE] Well.... if I remember right, [icode]var++[/icode] and [icode]var--[/icode] on x86 style machines will generate INC and DEC instead of SUB and ADD. Which do not affect the carry flag and by not having a following value taking space: … | |
Re: Well why not just save it in a encrypted file? Keeps everything separate from getting lost. | |
Re: [I]The Art of C++[/I] was a great book; regardless, perhaps you should turn it into a crude compiler that puts it into MASM32 mnemonic, or some other flow of choice. | |
Re: Then analyze if it is a formal title or group of numbers, before you split it off. | |
Re: Does your project require boost? I'd just avoid it altogether. | |
Re: As Danny said, declare seed in main(). Second, to have the function modify a variable you need something like [icode]void foo(int &bar);[/icode] note the "&". | |
Re: [QUOTE=Ancient Dragon;837165]You can get a Dell computer for under $500.00 USD at Wal-Mart. Or go online at [url]www.walmart.com[/url] to see other models. Sorry is this post seems spammy, but I'm just answering the original post.[/QUOTE] [URL="http://walmartwatch.com/"]Or maybe not.[/URL] | |
Re: So like in games when you have the option of which device to use; the custom "plug-ins/updates" would contain the [i]rules[/i] on how to interact with the unknown hardware? | |
Re: Wow! That's the lamest "encryption" I've ever seen, hardly even a cipher. | |
Re: Why not just allocate a single array and treat it as a x*y space. [icode]for every y spaces is a new x row[/icode] Less initializing time spent doing separate allocations, for every new row. Particularly if this code is only for small 2D arrays; for larger amounts of data and … | |
Re: If the file is NULL, then why are you still using it afterwords? Perhaps you should have one function to load, and one to save. You aren't closing the file pointer after you're finished. | |
Re: [quote]Oh, I doubt Dani wants to open the gates to hordes of pubescent leet gankers, pwning this and roflcoperting that and generally epeeing about the place.[/quote] I think we're starting to see them creep their way in now. [quote]Wow! I can so easily guess your age from that reply of … | |
Re: Find process, get handle, then send it the correct messages. | |
Re: If you're writing drivers and crap for a CNC or something, then you could cost a business millions. Two ways that might cause damage to a PC style computer: wrong BIOS call to a device erasing data, or throwing an old CPU(with design flaw, and inadequate cooling device) into somesort … | |
| |
Re: I rarely smoke anything: to expensive, don't like coughing, and if you didn't like the smell of what you just had, it lingers and might leave you sneezing. | |
Re: You handle them the way you would normally handle a file, you act upon the data depending on what the file format specifies. Is this a BMP, JPEG, GIF, or? | |
Re: One site rule use CODE TAGS, two [icode]inFile >> fileName;[/icode]? I just stopped reading there. | |
Re: eh... I just got rid of a 2.4K/B modem, still have some 56Ks, so no thanks. | |
Re: @s_sridhar: You only need a supercomputer for chess if someone is stupid enough to even try and calculate every possible move(might as well call that infinite). Chess is a territorial game that just needs a basic AI system for a Human vs. Computer scenario; that and you only need to … | |
Re: Something like Natural Frequency or Resonance? Look up Alvin Luciers works that dealt with that. | |
Re: Can you format at least one sentence properly? It looks like one large line of random words. | |
Re: You're not modifying the variable, just taking it as a parameter. Do you have to use recursion and not a loop? | |
We need a "Sage" feature that allows you to post something without having it bumped to the top. So there would be the standard view which doesn't have sage post bumped to the top, and a full chronological view that includes all post in the standard timeline order, even if … | |
Re: [URL="http://www.cplusplus.com/reference/iostream/ifstream/"]ifstream, [/URL]and [URL="http://www.cplusplus.com/reference/iostream/ofstream/"]ofstream[/URL] | |
Re: Hold all the other crap, just throw in it a pan till it's crispy! I'd be in heaven, till the eventual endless hours on the toilet from all that grease. | |
Re: [QUOTE=serkan sendur;827777]i have pyschological problems guys, i know i dont sound quite common. is common sense common is a different issue though.[/QUOTE] Then why not take your Seroquel? | |
Re: I've been directed to YouTube C++ tutorial videos, and they're crap by individuals who don't know [explicits] about C++ or programming. Just get a library card, that's how I got material to learn alot of things. | |
Re: So Rashakil is Anon?! 0.0 Is he going to go blow up a van, like how Fox showed it on television? lmfao The generated reputation comments is possibly the most entertaining part of this thread. |
The End.