958 Posted Topics
Re: [QUOTE=codeguru_2009;985073]Using dd command to write to floppy disk.[/QUOTE] Have you tried any other third party file utilities? And did you analyze the output with a hexeditor to check if everything went right? | |
Re: It's dramatically difficult to diagnose non-existent code. You may want to provide us with some to solve the first-most issue. | |
Re: [URL="http://www.kernel.org/"]http://www.kernel.org/[/URL] Dowload a source, and perhaps look around in: [list][*]linux-2.x.x\include\serial.h [*]linux-2.x.x\include\serial_core.h [*]linux-2.x.x\drivers\serial\serial_core.c[/list] | |
Re: Plain Jane C, unless you want to waste your time rolling your own port. | |
Re: Well they made oil-can delays with mineral oil, capacitors, rubber, etc. decades ago, and I believe they still work fine. | |
Re: Boo-hoo-hoo! WGAF Your 4chan accusation is a danger to this site. Any reference to that site could lead to a potential invasion. | |
| |
Re: You mean steps a compiler goes through while compiling a program or??? | |
Re: Well somehow while not logged in the Current Users Browsing box said that I was logged in twice. I logged back in and now its just one. | |
Re: uhhmmm..... A hell of allot more then you're currently displaying. You're not going to make much of an impression at an interview(or even consideration for one, through your résumé), if don't have clear communication skills. | |
Re: Actually my spam inbox is down from seeing hundreds to seeing maybe a dozen. Don't know what happened to change that number recently. | |
Re: What?! People still buy porn?!?!?!?!? I could download terabyte after terabyte of porn, and never pay a penny directly for it. | |
Re: South Park topic the from last season. Perhaps a little crudely presented in the show though. | |
Re: That's been there forever.... no-one complained before, actually there's a number of other articles that only pass on a few technicalities. Anyone who's ever read Encyclopedia Dramatica can point you in the direction of thousands of borderline Wikipedia articles. | |
Re: What's wrong with a little porn. ;) This reminds me of some guy at the library watching porn, and everyone could see it..... but nobody seemed to real drastically care, other than lots of chuckling. | |
Re: necrolin it's just: [code=cpp] srand(time(NULL));/*only once*/ int var = rand()%max_requested_value;[/code] | |
Re: Wait. bitset has an OR operator? Didn't realize that. | |
Two version that do exactly the same thing! | |
Cheap, dirty code for Windows and *nix. | |
Re: Why would someone sell your code? Anyway, don't mind if I post my version do you? I haven't written one yet, but I feel like writing one soon. | |
Re: Take note that, main() must return zero by standard, and conio.h doesn't exist on most compilers. | |
"Hello World!" done a little differently. Is this safe, unlikely; is there a point to all of this crap, nope; why are parts obfuscated, because I felt like it; was it fun, yes. You'll need the newest version of MinGW to compile, I used options -O2 -Os -s. | |
Got bored, remember a question asked in the forums, and decided to try something similar. | |
Re: Poorly formatted, do not use conio.h, it's [icode]int main()[/icode] not [icode]void main()[/icode] it has to have a return value; try fgets() and specify the buffer size, and what do any of those variable names even mean? | |
A quick way of spying inside of a process. You could also turn this into something like a disassemble, pretty easy, if you wanted too. Quick Notes: The inline assembly is GCC dependent(quick fix for other compilers), and in MinGW you need to link th32 and gid32. The code flow … | |
After flipping through some organic chemistry books I had, I found a interesting little table of basic hydrocarbons. I decided it would be nice to play around with it, by putting together something that could to some accuracy generate them. I am by no means a chemist. You don't even … | |
I decided to find a use for the STL map, and this is what I decided would be cool to practice with. Just have three placed in the code. Could use a function to load the requested elements from a file. | |
From part of a cryptanalysis tool I was writing, the other day. A way of obtaining possible XOR'ed string values. If you ever get to the point in the analysis that you can simply XOR the string to get closer towards your goal, of finding a weakness, this might be … | |
Re: The char string method is cool, I just used the current position of the string as the XOR value, after some other ciphering, then inflating the string with gibberish to avoid them from knowing the size to reverse it, et al.; but I might try this technique out, since it's … | |
Occasionally there's times when you want to shift a bit over, but you would like to preserve the end of it, for one reason or another. Such as with say you have: [icode]10000001[/icode] but you would like: [icode]00000011[/icode] then latter on back to: [icode]10000001[/icode] Or in Dec 129-into-3, and 3-into-129. … | |
Re: Try the constant [icode]1.8[/icode], instead of the fraction. | |
Re: There's also the FPU-machine instruction: [icode]fistp[/icode] Probably not portable to every platform, but simple. Agner Fog has an example of it in his Asmlib, and a bunch of other cool asm-to-C++ functions. | |
Re: [QUOTE=Tom Gunn;958827]You can probably go to the post you want to move and click the Flag Bad Post link to report it. That will get the moderators' attention, and because it was an accident and you reported it yourself, they should not give you a warning.[/QUOTE] You still get the … | |
Re: Actually I have a simple library I wrote for executing machine code off an executable page. The basis of it all for single page without a pointer(to arguments pushed on the stack) is simply: [list][*][icode]typedef int (*fp)();[/icode] [*][icode]fp *code = new fp [original.size()];[/icode] [*][icode]memmove((void*)code, original.data(), original.size());[/icode] [*]In a wrapper function, … | |
Re: [QUOTE=GrimJack;961572]more than 30 round fired (one clips worth??)[/QUOTE] Thirty hand loaded shots, six clips(5rnd.), three clips(10rnd.), two clips(15rnd.), one clip(30rnd.), 3/4 of a clip(40rnd.). Combination of the above. | |
Re: Create a unique signal, emit it, watch for it, based on signal strength/ delay/whatever display whether there's a lack of space available. Couple experiments to try: [url]http://home.earthlink.net/~lenyr/modlitbm.htm[/url] [url]http://home.earthlink.net/~lenyr/modlaser.htm[/url] | |
Re: WTF?! Will you disappear from every programming forum online? When you disappear will the internet too? | |
Re: My collection is small compared to all of my friends. But I like to savor my games, not finish them the next day. [QUOTE=Jen0608;783039]wow...he must be a game guru or something....[/QUOTE] Unlikely. | |
Re: While their did you buy one of his $1k guitars, and $2k amp heads? | |
Re: *applauds* Well why wasn't there a party or something? Lets get blitzed and announce ~s.o.s~'s new power on the news, while so! | |
Re: Where's the particle bonanza, eyecandy overload, and cute to till you puke stuff? Disregard everything you wrote, and focus on what I wrote. For it is the secret to suckering in a cult following, which means a guaranteed audience for all following releases. At least eight dozen! | |
Re: Yeah, the CS forum has become a fly trap, for the lazy to lay about. | |
Re: Because they require a const char* not a std::string. Try [URL="http://www.cplusplus.com/reference/string/string/c_str/"]string.c_str()[/URL] And remove that system() call at the end. | |
Re: [QUOTE=jbennet;922319]Re: Reputation comments, they are dance/industrial metal[/QUOTE] Listening, listening, listening. Evaluation: Where's the metal, all I hear is generic pop rock? And you can call it dance if you want.... industrial too, as in: mass produced. Call it what you want. | |
Re: Assuming you're on Windows: [URL="http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx"]ShellExecute()[/URL] | |
Re: [URL="http://news.yahoo.com/s/ap/20090625/ap_on_re_as/as_koreas_nuclear"][B]100,000 North Koreans vowing to kill us[/B][/URL] and Micheal Jackson is the only news story I see anywhere.... wtf | |
The End.