2,839 Posted Topics

Member Avatar for su_candy

[QUOTE=su_candy;903199] I am using Microsoft visual studio C++ 2008. [/QUOTE] With what? How did you get the pic from the camera in a long array? Are you using a CV-library?

Member Avatar for su_candy
0
166
Member Avatar for tomtetlaw

Double is (on most systems) 8 bytes, where float is only 4. This means that double is more precise then float. This also means that doubles have less problems with rounding errors. My personal rule of thumb is: Use float if speed and memory-use are a (big) issue and always …

Member Avatar for siddhant3s
0
133
Member Avatar for bhevs

[QUOTE=happygeek;902361]Tell us what language your talking about, and what the exact problem you need help with is, then we can move the question into the right forum and someone might be able to offer advice assuming you are not just looking for someone to do all your work for you.[/QUOTE] …

Member Avatar for Nick Evan
0
82
Member Avatar for blabla2006
Member Avatar for Nick Evan
0
36
Member Avatar for san26

Post your code using [URL="http://www.daniweb.com/forums/misc-explaincode.html"]codetags [/URL]instead of attaching it as files. Also read [URL="http://catb.org/esr/faqs/smart-questions.html#writewell"]this[/URL].

Member Avatar for Nick Evan
0
133
Member Avatar for peter_budo

[QUOTE=peter_budo;895413] I have FF 3.0.11 on Win XP SP3 Anyone else having this problem?[/QUOTE] I have the exact same setup only [I]with[/I] ad-block. I have no problems whatsoever, so I'll take the easy way and blame the ads. :)

Member Avatar for peter_budo
0
195
Member Avatar for Tom Gunn

[QUOTE=cscgal;894867]Unfortunately the z-index is set by the advertiser, and there's nothing that we can do about it.[/QUOTE] That's a bit weird isn't it? So if the advertiser decides to make a full-screen ad with the highest z-index and covers up all of Daniweb, you would still be like : meh. …

Member Avatar for Dani
0
173
Member Avatar for freshmem

[QUOTE=freshmem;898944] i,m in urgent plizz..[/QUOTE] Hello "in urgent plizz..", I'm Niek. You might want to read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]this [/URL]and [URL="http://catb.org/~esr/faqs/smart-questions.html"]this [/URL]

Member Avatar for freshmem
0
328
Member Avatar for johnysums
Member Avatar for MidiMagic
0
118
Member Avatar for himgar

[QUOTE=Ancient Dragon;834087] Consequently they may have no clue what [b]ne[/b] means. [/QUOTE] You're [B]AD[/B] and I'm [B]ne[/B], everyone knows that :)

Member Avatar for siddhant3s
0
328
Member Avatar for Reedz
Member Avatar for Luigibosko
Member Avatar for Luigibosko
1
240
Member Avatar for MidiMagic

If you're already using ff3, why not install adblock and never worry about ads again?

Member Avatar for MidiMagic
0
173
Member Avatar for JugglerDrummer

[QUOTE=Ancient Dragon;862918]The site has been very slow for everyone today -- I even got database error messages a couple times.[/QUOTE] It's not just today, it has been horrible for the last [URL="http://www.daniweb.com/forums/thread188392.html"]2 weeks[/URL]. I've seen DB-errors, 404's, broken functionality, 30 sec+ loadtime on a 16 mbit connection etc,etc. But I'll …

Member Avatar for MidiMagic
0
241
Member Avatar for slawted

[QUOTE=tux4life;894474]Or use [URL="http://astyle.sourceforge.net/"]AStyle[/URL] for code formatting :P[/QUOTE] Or use Visual Studio and press CTRL-A, CTRL-K, CTRL-F. Or if linux is your taste: Use Netbeans and click source->format. I'm sure most IDE's have this kind of functionality build in :)

Member Avatar for Lerner
0
218
Member Avatar for jephthah

I'm flagging this thread because it breaks the 'keep it clean' rule: [quote=The almighty rulebook] Keep It Clean We strive to be a community geared towards the professional. We strongly encourage all posts to be in full-sentence English. Please do not use "leet" speak or "chatroom" speak. [....] What will …

Member Avatar for GrimJack
0
184
Member Avatar for blud

I almost flagged this thread as spam due to the enormous amount of iPod spam posted on daniweb lately :)

Member Avatar for Ancient Dragon
0
124
Member Avatar for mathueie

[QUOTE=mathueie;893477] How to get process id[/QUOTE] How about [URL="http://msdn.microsoft.com/en-us/library/ms683215(VS.85).aspx"]GetProcessId()[/URL] :icon_wink:

Member Avatar for Nick Evan
0
88
Member Avatar for tahira

Do you know how to use a mouse? If yes: Move it to the enormous searchbox on the upperright corner of the site and type: "final project" Let me ask you: Why are you too lazy to search for it yourself or, heaven forbid, come up with your own idea? …

Member Avatar for Nick Evan
0
50
Member Avatar for giftalp

[QUOTE=William Hemsworth;891893]>It can still be written more efficiently I'm curious, how could it get more efficient than that?[/QUOTE] If you're talking about CPU efficiency, I can't think of anything that'll run faster then the code already posted, then I have no idea. If you want less lines of code, you …

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

This thread is two years old. Changes are that Peter decided to remove the project.

Member Avatar for Nick Evan
0
160
Member Avatar for rebirth007
Member Avatar for sudiptamondal

You'll have to describe your problem clearer then this. - What is your input ? - What is your output? - What ouput were you expecting? And what happens when the user enters a number bigger then 500?

Member Avatar for sudiptamondal
0
101
Member Avatar for Usura

or maybe even: [code=cplusplus] int main(){ ifstream in("in.txt"); ofstream out("out.txt"); string str = ""; while (in >> str) out << str << "-"; }[/code] No errorchecking, but it's to get the basic idea

Member Avatar for Ancient Dragon
0
791
Member Avatar for Usura

[QUOTE=tux4life;889339]Grrroooaar [/QUOTE] Relax man, it's only reputation. Besides, we all know [I]who[/I] gave it to William, so my advice is not to take it too seriously :)

Member Avatar for William Hemsworth
0
98
Member Avatar for GrimJack

[URL="http://www.smbc-comics.com/comics/20070119.gif"]Creationism meets Evolution[/URL]

Member Avatar for GrimJack
0
718
Member Avatar for A1 data nz

[QUOTE=A1 data nz;879529] The ancient hebrew scripture and large sections of the bible are actually code. [/QUOTE] Perhaps you should scan it and put the text in [noparse][code][/code][/noparse] tags. That should make the code more readable.

Member Avatar for GrimJack
1
151
Member Avatar for vandenzergen

[QUOTE=vandenzergen;771659] Is time travel really possible through the use of programming? If only programmers and scientists all around the world gather including those not so intelligent programmers and unite for the same purpose... I guess time travel is not impossible. [/QUOTE] [QUOTE=vandenzergen;775074] Now, this is just time travel... compared to …

Member Avatar for Salem
0
1K
Member Avatar for Aestter

[QUOTE=jlm699;871064] Ahah! Actually, as I typed that path out I realize what may be your mistake. In Python the [icode]\[/icode] is the escape character, so the interpreter automatically assumes any single backslashes designate an escape character (such as tab, newline, null, etc.). As a result you need to use [ICODE]\\[/ICODE] …

Member Avatar for sravan953
0
171
Member Avatar for Dave Sinkula
Re: Spy

There's a [URL="http://www.daniweb.com/forums/thread181420.html"]sticky [/URL]in the geek's lounge with the link in it.

Member Avatar for Nick Evan
0
106
Member Avatar for Nick Evan

Since Daniweb was updated to it's new 'look and feel' a few features have 'disappeared'. This means they still exist, but are no longer linked to. Some (not all) of these features are/were quite useful IMO, so I thought I'd start a thread about it. - the [URL="http://www.daniweb.com/forums/spy.php"]Subscription Spy[/URL] (which …

Member Avatar for csurfer
4
352
Member Avatar for Nick Evan

I haven't received a monthly 'Digest' for the last few months (since the server "problems"). It's not in my junk either. Can anyone confirm if this is a problem with Daniweb or with my email?

Member Avatar for Nick Evan
0
125
Member Avatar for vmanes

[QUOTE=vmanes;881419] And how many of you run model trains?[/QUOTE] Check. Inactive hobby of mine. As soon as I move to my new house I'll start rebuilding my 'city'. I still have about 20 locs from the pre-digital-age, so perhaps an upgrade of my material will be necessary... Are you a …

Member Avatar for jephthah
0
120
Member Avatar for jephthah

[QUOTE=jephthah;868284]like a pig-dog. or a lizard-bird. or something.[/QUOTE] Or [URL="http://mulaz.org/blog/wp-content/uploads/2008/07/manbearpig.jpg"]manbearpig [/URL]

Member Avatar for jephthah
1
149
Member Avatar for tomtetlaw

I wouldn't start on it if I were you unless you have somesort of degree in Math en know your C++ [I]really[/I] well. But you could start by learning OpenGL or Direct3D I guess.

Member Avatar for DarthPJB
0
618
Member Avatar for mirfan00

[URL="http://www.oracle.com/technology/tech/oci/occi/index.html"]OCCI[/URL] is what you're looking for. [edit] too slow again :)

Member Avatar for mirfan00
0
202
Member Avatar for lyardson

[QUOTE=lyardson;878812]the exact diff between c++ and java technically[/QUOTE] Technically 'Java' has one more character then 'C++' :icon_wink:

Member Avatar for mirfan00
0
284
Member Avatar for singhraghav

[quote]Can anyone please find whats wrong in this code [/quote] Yes. It doesn't compile and therefore won't work. [URL="http://www.daniweb.com/forums/announcement8-3.html"]read this[/URL] [URL="http://catb.org/esr/faqs/smart-questions.html#beprecise"]and this[/URL]

Member Avatar for mirfan00
-1
118
Member Avatar for cristane

[QUOTE=thoughtcoder;840224]No, it's a racist decision.[/QUOTE] You sound exactly like a member who was recently banned. (Rashakil something....) Don't go the same path as he did ;)

Member Avatar for serkan sendur
0
186
Member Avatar for anujsharma

Instead of just giving you the code, [URL="http://eternallyconfuzzled.com/arts/jsw_art_rand.aspx"]here's[/URL] a link to learn to understand how to use rand and srand. Come back if you have any problems with it.

Member Avatar for BestJewSinceJC
0
117
Member Avatar for Duki

[QUOTE=Duki;872239]I am trying to convert an array of longs to an array of chars. There are 1081 elements in the long array. Each element is 4 digits long.[/QUOTE] So if I understand correct: These number vary from 0 to 9999? A single char can only hold values up to 255, …

Member Avatar for tux4life
0
251
Member Avatar for 1obama
Member Avatar for durga84

Red hat enterprise 4? You're a bit out of date don't you think? You could try building python from source, or just download all the dependencies. How many are missing?

Member Avatar for woooee
0
284
Member Avatar for perceptionseo
Member Avatar for pferian

[QUOTE=Ancient Dragon;872074]Here is one way to do it without the complications of COM.[/QUOTE] Where? ;) At OP: You might want to use [URL="http://en.wikipedia.org/wiki/Comma-separated_values"]CSV-files[/URL] from excel. The CSV files can easily be opened and edited with C++ because they are plain text, so no need for COM :)

Member Avatar for pferian
0
152
Member Avatar for sanushks

[QUOTE=sanushks;871160]the problem is the code is working fine until a certain point.. I mean it processes about 24,000 records before it fails.. [/QUOTE] Debugging is indeed the answer. But I also what to place a bet on what could be wrong. Are you using dynamic memory? Does the PC on …

Member Avatar for sanushks
0
290
Member Avatar for haven_u

Do you have any other constructors? (overloaded) If not, post more code.

Member Avatar for haven_u
0
130
Member Avatar for nschessnerd

I can't see how you're calling these functions and what values the variables have. Post more code that demonstrates how you use these functions and I'll have a look at it.

Member Avatar for nschessnerd
0
1K
Member Avatar for serkan sendur

For once I actually agree with you :) I've posted a snippet demonstrating wxWidgets, but without pictures to illustrate what it does, it's kind of a useless bit of code.

Member Avatar for serkan sendur
0
150
Member Avatar for bubuzzz

In Visual Studio, you can just rightclick the include file and choose 'open document'. It will probably be located in [icode]C:\Program Files\Microsoft Visual Studio 8\VC\include[/icode]

Member Avatar for Nick Evan
0
76

The End.