2,384 Posted Topics
Re: [QUOTE=GrimJack;705244]The mountain I am talking about is that the armed forces are not trained in the concepts of law enforcement - this is not derogatory. The armed forces are trained to defend, attack, and contain; there is no real overlap nor should there be. If 2 police officers heard a … | |
Re: My assessment (baseball analogy): [QUOTE]Hm. Not outta the park. But it was a 2- or 3-run double or triple, leaving her in scoring position.[/QUOTE] | |
Re: First, [url=http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.1]convert the integer to a string[/url], then concatenate the suffix. | |
Re: Also note the IEEE seems to be assumed. [url]http://www.mrob.com/pub/math/floatformats.html[/url] | |
Re: The system used [URL="http://www.sos.state.mn.us/home/index.asp?page=227"]here[/URL] is [URL="http://en.wikipedia.org/wiki/Optical_scan_voting_system#Marksense_systems"]optical mark recognition[/URL]. The ballots look like [URL="http://www.sos.state.mn.us/docs/2008_primary-general_example_ballots_6-30-08__2_.pdf"]this[/URL]. | |
Re: [url]http://groups.google.com/group/comp.lang.c++/browse_thread/thread/16f1dd6dc3cf8fed/1d9e5fea271ef312?lnk=st&q=non-const+copy+constructor+group%3Acomp.lang.c%2B%2B#1d9e5fea271ef312[/url] of any value? | |
Re: [QUOTE=Ancient Dragon;698858]how will [icode]n = a|(b<<8)|(c<<16)|(d<<24); [/icode] be portable regardless of endian ? You still have to shuffle the variables to match the endian setting.[/QUOTE]What makes you think that? | |
ESR is blogging again: [url]http://esr.ibiblio.org/?p=532[/url] [edit]And don't skip the comments. | |
Re: [QUOTE=Jennifer84;697496]I am reading Comma delimited Large .txt files(About 50 Mb).[/QUOTE]And one would surmise that you are not simply copying the input to an output, that you are doing some sort of manipulations. This is probably very key to answering your question in full. Rather than micro-optimizing each particular function call, … | |
Re: I'm having a difficult time searching for the 2008 quote, but as that video opens are they patching it together with [URL="http://thinkprogress.org/2007/04/01/mccain-iraq-stroll/"]2007 images[/URL]? [edit][URL="http://transcripts.cnn.com/TRANSCRIPTS/0803/17/se.01.html"]Ah[/URL]. [quote]JOHN KING, CHIEF NATIONAL CORRESPONDENT: This is your eighth visit to Iraq. Based on what you've seen on the ground, and as you travel to Mosul, … | |
To those it may concern, has the [URL="http://en.wikipedia.org/wiki/Veterans_Health_Administration"]VA[/URL] been a positive or negative experience? | |
[URL="http://www.americanthinker.com/2008/09/yankee_stadium_and_the_yankees.html"]Yankee Stadium and The Yankees, My Yankees[/URL] | |
Re: Oh, crap! It is September already. Must... send... Mom... birthday card... brb. | |
Re: The result may unintentionally be painful. [url]http://failblog.org/2008/09/19/font-fail/[/url] | |
[url]http://en.wikipedia.org/wiki/Constitution_Day_(United_States[/url]) [QUOTE]Constitution Day (or Citizenship Day) is an American federal observance that recognizes the ratification of the United States Constitution, and also recognizes all who have become citizens due to either coming of age or naturalization. It is observed on September 17, the day the U.S. Constitutional Convention signed the … | |
[url]http://en.wikipedia.org/wiki/United_States_Air_Force[/url] [url]http://www.weeklystandard.com/weblogs/TWSFP/2008/09/nothing_can_stop_the_army_air.asp[/url] | |
Re: I like it for some of the googlebombs such as "[URL="http://www.google.com/search?q=french+military+victories&btnI=I'm+Feeling+Lucky"]French military victories[/URL]". It makes the search look legit and enhances the amusement factor IMO. | |
[url]http://www.eyeblast.tv/Public/video.aspx?RsrcID=35678[/url] | |
Re: [URL="http://lifehacker.com/5045904/the-power-users-guide-to-google-chrome"]The Power User's Guide to Google Chrome[/URL] | |
| |
Re: [QUOTE=nanodano]And, like it told me to, I put this in my code:[code]#define _WIN32_WINNT 0x0501 // Windows XP = 0501H [/code]I thought that would fix the problem, but it still says identifier not found for GetConsoleWindow(). Does anyone have any ideas?[/QUOTE]Did you put that macro definition [I]before[/I] the header which uses … | |
Re: [url=http://www.daniweb.com/techtalkforums/post155265-18.html]Avoid Loop Control Using eof()[/url] ![]() | |
Re: [QUOTE=GrimJack;681830]We could always opt for the neutron bomb - kill the people but save the property. <<cackles quietly to himself as he envisions the simplicity and beauty of the solution>>[/QUOTE] [URL="http://directorblue.blogspot.com/2007/12/operation-starfish.html"]EMP[/URL], man, where ya been? :icon_razz: | |
Re: [QUOTE=GrimJack;682409]If you want to ban BS - start with yourself.[/QUOTE]Let's see... [QUOTE=GrimJack;682043]So with [COLOR="Red"]McSame[/COLOR] and [COLOR="Red"]McDame[/COLOR] due to be down in LA, they are ready for their show down with Gustav. Naturally, there are some serious mapping groups following along. Here is a time slice of [URL="http://flhurricane.com/googlemap.php?2008s6#"]Gustav[/URL] heading NW. Gustav … | |
Re: Since there's also ~900 search bots in the count who are guests, maybe it's a little off. FWIW [edit]Looks like standard VB behavior, though. ![]() | |
[URL="http://www.youtube.com/watch?v=lpRNkgqUPT0"]American Alienation[/URL] [Language Warning] | |
Re: I most especially got a kick out of Europe. [edit]Then Canada ([URL="http://tinyurl.com/4t3h4j"]for John[/URL]). | |
Re: Some sites allow you to select an amount of rep to give, but I believe DaniWeb is all or nothin'. Only those with no rep power can do so (?). Personally, I like selecting the amount. Giving zero neg rep is a wonderful way to politely disagree. | |
Re: I'm not terribly STL-savvy, what is this error telling me? [code]//Error E2285 testpp.cpp 11: Could not find a match for 'transform<InputIterator1,InputIterator2,OutputIterator,BinaryOperation>(char *,char *,char *,charT (*)(charT,const locale &))' in function main()[/code]...while I continue searching for an answer on my own... [edit]Found [url=http://www.dinkumware.com/manuals/reader.aspx?lib=cpl&h=algorith.html#transform]this[/url]:[quote][B]transform[/B] [code] template<class InIt, class OutIt, class Fn1> OutIt [B]transform[/B](InIt … | |
Re: [QUOTE=tgreer;591805]How dare someone be so successful by being so wrong about so many things?[/QUOTE]Two words: Bill Gates :( | |
Re: It must have been that jail thing that ousted me. :icon_sad: :icon_razz: | |
Re: [QUOTE=Ancient Dragon;664605][code]// remove '\n' filename[[COLOR="Red"]strlen(filename)-1[/COLOR]] = 0;[/code][/QUOTE]It is wise to check to see whether or not the last character is actually a [ICODE]'\n'[/ICODE] before destroying it. | |
Re: [QUOTE=sara.rythm]there is no way i can refer back to those??[/QUOTE] Like [post=156243]this[/post] or [thread=31106]this[/thread]? There are [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#url]url[/url], [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#thread]thread[/url], and [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#post]post[/url] tags. | |
| |
Re: [QUOTE=Salem;627932]Mind you, 50 more years of internet could make everyone realise that everyone is just a citizen of earth, and all this nationalistic crap will disappear. Nations are so 19th century, the whole idea just isn't up to solving some of the 21st century issues.[/QUOTE]Not quite a federalist, then? | |
I was on a site recently in which blog comments did not have an immediate 'post' -- there was only a 'preview'. Then after the preview you could post. Would such a thing be a useful item? | |
I think it's similar for searches. [quote]This forum requires that you wait 15 seconds between sending emails. Please try again in [COLOR="Red"]52[/COLOR] seconds.[/quote] | |
Re: Didn't follow the thread, so sorry if [URL="http://www.joke-archives.com/computers/seusstech.html"]this[/URL] is a repeat. | |
Re: [url=http://www.daniweb.com/forums/thread90228.html]How do I flush the input stream?[/url][code]cin.ignore ( std::numeric_limits<std::streamsize>::max(), '\n' );[/code] | |
Re: First, try using [code]#include "signal.h"[/code] instead of [code]#include <signal.h>[/code] In your signal.cpp file, don't redeclare the class, just define the functions. [code=cpp]#include <iostream> #include <string> #include "signal.h" using namespace std; signal::signal(string *binAddr, string *da, int decAddr) { // do stuff } string signal::getBinAddress() { return binAddress; } void signal::setAddress(string binAddr) … | |
Re: [QUOTE=Ancient Dragon;649940]New??? OMG that compiler is ancient and only supports 16-bit MS-DOS 6.X and earlier.[/QUOTE]I'd swear I've made Win32 stuff since the late 90s with it. [url]http://en.wikipedia.org/wiki/Borland_C%2B%2B[/url] | |
Re: [code] if ( studentid = student.id[COLOR="Red"][0][/COLOR] ) [/code]should be[code] if ( studentid = student[COLOR="Red"][0][/COLOR].id ) [/code]etc. | |
Re: I'm not sure what you're seeing. [code]#include <stdio.h> #include <strings.h> struct feeling { char *emotion; char *emotion_options[20]; int num; }; void function(struct [COLOR="Red"]feeling[/COLOR] *test) { int size; printf("%s", test->emotion); /*prints out happy */ size = strlen(test->emotion); printf("%s",test->emotion); /* prints out random characters */ } int main() { struct feeling ex_1 … | |
Re: [url=http://www.daniweb.com/forums/thread90228.html]How do I flush the input stream? [/url] | |
Re: [url]http://accu.org/index.php/book_reviews?url=view.xqy?review=i003751[/url] | |
Re: Provide the full path to the executable? But really, if your program merely opens a canned program, why not go with just a link to that program to begin with? | |
Re: [QUOTE=pdk123;647231]6. [code] void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; } [/code] my answer : swaps the two inputs x and y.[/quote][URL="http://en.wikipedia.org/wiki/XOR_swap_algorithm#Reasons_for_avoidance_in_practice"]XOR Swap[/URL] - not recommended. More … |
The End.