2,384 Posted Topics

Member Avatar for GrimJack

[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 …

Member Avatar for GrimJack
1
152
Member Avatar for GrimJack

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]

Member Avatar for sneekula
0
254
Member Avatar for peter_budo

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.

Member Avatar for Talli
0
289
Member Avatar for VernonDozier

Also note the IEEE seems to be assumed. [url]http://www.mrob.com/pub/math/floatformats.html[/url]

Member Avatar for VernonDozier
1
162
Member Avatar for zeroth

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].

Member Avatar for Dave Sinkula
1
185
Member Avatar for VernonDozier

[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?

Member Avatar for VernonDozier
0
424
Member Avatar for ashkash

[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?

Member Avatar for rpiper138
0
2K
Member Avatar for Dave Sinkula

ESR is blogging again: [url]http://esr.ibiblio.org/?p=532[/url] [edit]And don't skip the comments.

0
85
Member Avatar for Jennifer84

[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, …

Member Avatar for Jennifer84
0
7K
Member Avatar for sneekula

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, …

Member Avatar for Dave Sinkula
0
67
Member Avatar for Dave Sinkula

To those it may concern, has the [URL="http://en.wikipedia.org/wiki/Veterans_Health_Administration"]VA[/URL] been a positive or negative experience?

Member Avatar for Dave Sinkula
0
118
Member Avatar for Dave Sinkula

[URL="http://www.americanthinker.com/2008/09/yankee_stadium_and_the_yankees.html"]Yankee Stadium and The Yankees, My Yankees[/URL]

Member Avatar for The Dude
0
97
Member Avatar for Salem
Member Avatar for vmanes

The result may unintentionally be painful. [url]http://failblog.org/2008/09/19/font-fail/[/url]

Member Avatar for GrimJack
0
145
Member Avatar for Dave Sinkula

[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 …

Member Avatar for Aia
0
420
Member Avatar for Dave Sinkula

[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]

Member Avatar for vmanes
0
117
Member Avatar for neuronimbus

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.

Member Avatar for Dave Sinkula
0
142
Member Avatar for Dave Sinkula
Member Avatar for Lardmeister
0
142
Member Avatar for jasimp

[URL="http://lifehacker.com/5045904/the-power-users-guide-to-google-chrome"]The Power User's Guide to Google Chrome[/URL]

Member Avatar for stephen84s
0
625
Member Avatar for jholland1964
Member Avatar for Dave Sinkula
Member Avatar for nanodano

[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 …

Member Avatar for lenhattien
0
535
Member Avatar for noxee

[url=http://www.daniweb.com/techtalkforums/post155265-18.html]Avoid Loop Control Using eof()[/url]

Member Avatar for Ayu1004
0
304
Member Avatar for ithelp

[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:

Member Avatar for jwenting
0
418
Member Avatar for GrimJack

[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 …

Member Avatar for GrimJack
0
180
Member Avatar for Salem

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.

Member Avatar for thunderstorm98
2
126
Member Avatar for Dave Sinkula

[URL="http://www.youtube.com/watch?v=lpRNkgqUPT0"]American Alienation[/URL] [Language Warning]

Member Avatar for GrimJack
0
610
Member Avatar for tiger86
Member Avatar for Ancient Dragon

I most especially got a kick out of Europe. [edit]Then Canada ([URL="http://tinyurl.com/4t3h4j"]for John[/URL]).

Member Avatar for ZZucker
1
80
Member Avatar for Alex Edwards

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.

Member Avatar for R0bb0b
0
99
Member Avatar for mysterio

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 …

Member Avatar for mhil_joy
0
3K
Member Avatar for Dani

[QUOTE=tgreer;591805]How dare someone be so successful by being so wrong about so many things?[/QUOTE]Two words: Bill Gates :(

Member Avatar for William Hemsworth
0
998
Member Avatar for 4th&3wood

It must have been that jail thing that ousted me. :icon_sad: :icon_razz:

Member Avatar for Dave Sinkula
0
174
Member Avatar for soppyhankins

[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.

Member Avatar for soppyhankins
0
100
Member Avatar for sara.rythm

[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.

Member Avatar for The Dude
0
186
Member Avatar for Ancient Dragon
Member Avatar for The Dude
0
150
Member Avatar for Aia

[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?

Member Avatar for Aia
0
761
Member Avatar for Dave Sinkula

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?

Member Avatar for WaltP
0
123
Member Avatar for Dave Sinkula

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]

Member Avatar for MidiMagic
0
249
Member Avatar for Nick Evan
Member Avatar for pizzafiend

Didn't follow the thread, so sorry if [URL="http://www.joke-archives.com/computers/seusstech.html"]this[/URL] is a repeat.

Member Avatar for maydhyam
1
293
Member Avatar for lingol

[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]

Member Avatar for lingol
0
197
Member Avatar for bleh1318

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) …

Member Avatar for ArkM
0
110
Member Avatar for OmniX

[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]

Member Avatar for Nick Evan
0
154
Member Avatar for perfectlover09

[code] if ( studentid = student.id[COLOR="Red"][0][/COLOR] ) [/code]should be[code] if ( studentid = student[COLOR="Red"][0][/COLOR].id ) [/code]etc.

Member Avatar for Ancient Dragon
1
229
Member Avatar for flipjoebanana

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 …

Member Avatar for dwks
0
249
Member Avatar for TehBlue

[url=http://www.daniweb.com/forums/thread90228.html]How do I flush the input stream? [/url]

Member Avatar for Dave Sinkula
0
113
Member Avatar for fmwyso

[url]http://accu.org/index.php/book_reviews?url=view.xqy?review=i003751[/url]

Member Avatar for Dave Sinkula
0
146
Member Avatar for Shadoninja

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?

Member Avatar for Dave Sinkula
0
126
Member Avatar for pdk123
Re: help

[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 …

Member Avatar for Prabakar
0
193

The End.