2,839 Posted Topics

Member Avatar for kadamora
Member Avatar for Nick Evan
0
334
Member Avatar for dhpatil1

As comatose already told you: " make sure the .dll's are registered in the registry (if required) " Also, it's occi.dll, with 2 c's And stop bumping your own thread. People will help you when they have the time.

Member Avatar for tomtetlaw
0
200
Member Avatar for ribena500

[URL="http://www.cppreference.com/wiki/c/string/isdigit"]isdigit()[/URL] would be an excellent place to start

Member Avatar for StuXYZ
0
199
Member Avatar for greenbluekidz

this line is the problem: [icode] while (y < 5 && ids[y] != searchForId)[/icode] "searchForId" is a std::string and ids[y] is an int. You can't compare apples to pears in c++ :)

Member Avatar for greenbluekidz
0
139
Member Avatar for ribena500

What they are trying to tell you is that you should always start these kinds of statements with the destination of outcome: [icode]outcome = 3-4;[/icode] will result in 'outcome' being -1 [icode]3-4 = outcome;[/icode] will result in your error

Member Avatar for Salem
0
75
Member Avatar for jerronimo3000

put a [icode]cin.get();[/icode] just before [icode]return 0;[/icode]. This will make your app wait for a keypress to close. More about that [URL="http://www.daniweb.com/forums/thread90228.html"]here[/URL] Or better yet: run the app manually from a console: -go to start->run -type "cmd" -go to the directory where your .exe is (with cd [your dir]) -type …

Member Avatar for VernonDozier
0
128
Member Avatar for urstez

[URL="http://http://letmegooglethatforyou.com/?q=ia64+assembly"]Here's[/URL] a nice place to start

Member Avatar for Evenbit
0
196
Member Avatar for azwraith69

If you're talking about std::strings you could use the c_str() method? (I'm assuming "questions" is a vector of std::strings) [code=cplusplus] tempfile.write(questions[i].c_str(), questions[i].size()); [/code] But if tempfile is an ofstream, why not use the << operator? [code=cplusplus] ofstream tempfile("yourfilename_goes_here"); std::string foo = "bar"; tempfile << foo; [/code]

Member Avatar for azwraith69
0
163
Member Avatar for priyankasoni

It means how you'll have to program something that counts all the character in a word/sentence [i]including[/i] whitespaces and newline/tab characters. [QUOTE=priyankasoni;789790]. can i know the code for writing this program?[/QUOTE] Yes. You. Can! :) Put you'll have to put in some effort first. Come back when you have some …

Member Avatar for Nick Evan
0
73
Member Avatar for mps727

[QUOTE=mps727;788704]When I push the Step Into button. F11. I want it to only step into code that is in the solution explorer, and step over everything else.[/QUOTE] Then you should "step over" instead of "stepping in", so press f10. Ór you could step out of the code with shift-f11: [code] …

Member Avatar for mps727
0
98
Member Avatar for GrimJack

You are a Spiritual Healthy Lifelong Learner 0.08% of the 75880 people who have taken this quiz are like you

Member Avatar for Nick Evan
0
124
Member Avatar for niall_heavey

Green is close enough to black to try a Canny-conversion. Tweak a bit with the parameters until you have a clear dou-tone-image. Now use cvFindContours to find a set of contours. Next: Start fitting polygons in this resultset. The angle of the corners, and the number of polygons can give …

Member Avatar for Nick Evan
0
81
Member Avatar for Stefano Mtangoo

[QUOTE=evstevemd;788897]Here is code[/quote] It's wrong. Click [URL="http://www.google.nl/search?hl=nl&q=for+loops+c%2B%2B+&btnG=Google+zoeken&meta="]here [/URL]for some tuts [CODE] int value; int rotate = 4; for (value = 0; rotate>value; rotate--[COLOR="Red"];[/COLOR] ){ [COLOR="Red"]// remove that semicolon[/COLOR] cout<<"Now rotate value is:"<<rotate<<endl; //[COLOR="Red"]missing closing brace[/COLOR] [/CODE] How [i]I[/i] would do it is like this: [CODE=cplusplus]for (int rotate = 4; rotate>0; …

Member Avatar for Stefano Mtangoo
0
92
Member Avatar for jbennet

[QUOTE=jbennet;784739]i dunno i like java because its write once, run anywhere [/QUOTE] Don't know if I'm violating any rules or something, but someone once told me: [quote] Saying that Java is great because it runs on all operating system, is saying anal sex is great because it works on all …

Member Avatar for jbennet
0
107
Member Avatar for Lord Prime

You need to put this: [icode] fgets(buf,sizeof(buf),f); [/icode] in a loop that reads until the end of the file. You probably know how loops work right?

Member Avatar for Lord Prime
0
119
Member Avatar for tusharag171

[URL="http://www.daniweb.com/forums/post614870-7.html"]Here's[/URL] a useful link

Member Avatar for iamthwee
0
59
Member Avatar for CodeYou
Member Avatar for mostermand
0
125
Member Avatar for I_want_to_lean

[QUOTE=I_want_to_lean;784436]I heard you can't erase but redraw,but i don't know how to redraw the whole window.[/QUOTE] [ICODE]this->Refresh();[/ICODE] ? Bumping your thread every few hours won't make you very populair..

Member Avatar for Nick Evan
0
283
Member Avatar for clutchkiller

[QUOTE=clutchkiller;783476]is there a reason why you WOULD NOT want to use wxwidget?[/QUOTE] I remember it being a pain in the ass to install. Other then that, I'm very happy with it.

Member Avatar for Nick Evan
0
81
Member Avatar for tarekkkkk

[quote=tarekkkkk;465355]lol cz the cd that i brought it didnt work lol so i regave the cd to the shopper and i am still searching on this mysterious program -(0-0)-[/quote] What the.. Anyhow, we all knew this wouldn't work, try searching this forum for the answer (it's there) or ask nicely …

Member Avatar for jbennet
0
806
Member Avatar for riahc3

loop through the array and subtract '5' from each element. Use [URL="http://www.cplusplus.com/reference/clibrary/cstdlib/abs.html"]abs()[/URL] on the outcome. The smallest outcome is closest to 5

Member Avatar for ajay.krish123
0
124
Member Avatar for Dendei

Also a few other point: First (and most important) learn how to use [URL="http://www.daniweb.com/forums/announcement8-3.html"]code-tags[/URL] when posting code Next: [code=cplusplus] while (! myfile.eof()) { getline (myfile,line, ';'); array[temp]=line; temp++; } [/code] Never use the horrible eof() command... Change it to: [code=cplusplus] while (getline (myfile,line, ';')) { array[temp]=line; temp++; }[/code] But what …

Member Avatar for Dendei
0
231
Member Avatar for ashishchoure

Not that I know of. You could create it yourself with about 10 lines of c++/c code?

Member Avatar for Murtan
0
95
Member Avatar for TasostGreat

[QUOTE=TasostGreat;784004] what does this output mean ?[/QUOTE] Hahaha :) So you're just running commands for the fun of it without knowing what they actually do or what? Here's the [URL="http://unixhelp.ed.ac.uk/CGI/man-cgi?time"]man-page[/URL]

Member Avatar for Nick Evan
0
108
Member Avatar for Aundrey

[QUOTE=Aundrey;783984]well then what is the right forum for me?[/QUOTE] The let-us-read-your-mind-and-give-away-free-code forum. When I find the link I'll post it. Now how about you give us [b]clear[/b] requirements want you want your program to do? Show sample input and sample output. Also show what effort you've put in so far. …

Member Avatar for Nick Evan
0
142
Member Avatar for riahc3

[QUOTE=riahc3;783744]I already asked nicely. [/quote] And? What did the compiler say? :| [QUOTE=riahc3;783744] And about learning the language instead of the compiler, I dont care much as programming is not something I want to dominate and dont see it as my possible future career.[/QUOTE] The compiler actually [i]does[/i] care, so …

Member Avatar for riahc3
0
134
Member Avatar for tomtetlaw

DarkGDK has it's [URL="http://forum.thegamecreators.com/?m=forum"]own forum,[/URL] I guess you'll have a better change of getting your question answered over there.

Member Avatar for Nick Evan
0
44
Member Avatar for CPPRULZ

[QUOTE=CPPRULZ;782981]does that command take up any more space/efficiency in the program? Thanks everyone for all your help![/QUOTE] In theory, doubles are more effecient then floats on modern systems. But with a small program like the one you wrote, you will never notice the difference. When you start calculating with *large* …

Member Avatar for Manutebecker
0
187
Member Avatar for rock9449

And you also might want to change line 10 ( [icode]cout << "4 \\n";[/icode]) to: [icode] cout << "4 \\\n"; [/icode] Your line will output [icode] 4 \ n [/icode], but I think you want your output to be: [icode]4 \ [newline][/icode] read more about escape-characters [URL="http://msdn.microsoft.com/en-us/library/6aw8xdf2(VS.80).aspx"]here[/URL]

Member Avatar for shasha821110
0
94
Member Avatar for TasostGreat

[QUOTE=Comatose;783012]Actually, even with threading, the hard-drive can still only do one thing at a time. [/QUOTE] Just out of curiosity: Would this also be true for 2 HD's in RAID 0?

Member Avatar for Salem
0
172
Member Avatar for ghxii

How about [URL="http://en.lmgtfy.com/?q=screen+capture+software+download+free"]this[/URL]? Don't post double threads about the same question.

Member Avatar for Nick Evan
0
59
Member Avatar for the_swan

[QUOTE=the_swan;781106]so it is complex to be created[/QUOTE] No, it's very easy: [code=cplusplus] int main() { //L33t browser code goes here return 0; }[/code] :icon_rolleyes:

Member Avatar for Nick Evan
0
148
Member Avatar for MidiMagic

[QUOTE=MidiMagic;782094]The search function is totally useless. [...] Instead, it is finding posts that have only one of the keywords I put, instead of requiring that all of the keywords be present.[/QUOTE] Agreed. Here's how I usually find my old posts back: go to google and type some thing like: [icode]site:daniweb.com …

Member Avatar for Ezzaral
1
180
Member Avatar for Ancient Dragon

Why was that banned? I think you Americans like banning just for the fun of it :) In the Netherlands, this doesn't come even close to banning. You can say/show all the stuff you want on the T.V. (the f-word won't get beeped and Janet Jackson wouls still have a …

Member Avatar for sneekula
0
125
Member Avatar for lakshmi mani

[QUOTE=ff4930;779008]Thanks for telling us your assignment, what do you want us to do?[/QUOTE] He probably wants you to write it for him, don't you think? But we can't all get [URL="http://www.daniweb.com/forums/announcement8-2.html"]what we want[/URL] :)

Member Avatar for Freaky_Chris
0
120
Member Avatar for nitu_thakkar

[QUOTE=nitu_thakkar;779631] y=x<<1 it will shift left the value & make x=0100 but how can i store that shifted value... in other variable...? [/QUOTE] Uh... you say: y = x << 1 right? So what do you think 'y' is? Holy cow it's another variable! So you already stored in another …

Member Avatar for MosaicFuneral
0
142
Member Avatar for Dani

the good: - The BIG quick reply box the bad: - where's the subscription spy?? the ugly: - see attachment. Rounded edges script failed - you should look at the site with 1024x768, a lot of thing are a bit misaligned with low resolutions. I'll add to this list if …

Member Avatar for William Hemsworth
0
866
Member Avatar for jvignacio
Member Avatar for jvignacio
0
192
Member Avatar for Biblio

[QUOTE=The Dude;779393]Welcome to the site :)[/QUOTE] Cscgal has been around for a while, no need to welcome her anymore :icon_wink:

Member Avatar for The Dude
0
35
Member Avatar for 72246

[QUOTE=kbshibukumar;778798]How the value of PI can be printed as a table?[/QUOTE] That's a difficult one: [code=cplusplus] #include <iostream> int main() { std::cout << "|value of PI:|\n|------------|\n| 3.14 |\n|------------|\n"; return 0; }[/code]

Member Avatar for StuXYZ
0
256
Member Avatar for moaath

[QUOTE=Narue;779768] Well, I'd recommend what the requirements say, since they're very specific about what functions and loops you should use. :icon_rolleyes:[/QUOTE] He didn't ask [B]you[/B] anything. Look: [QUOTE=moaath;779760]gentlemen...[...][/QUOTE] So my advice (as a gentleman) would be "I'd recommend what the requirements say, since they're very specific about what functions and …

Member Avatar for MosaicFuneral
0
218
Member Avatar for dirnthelord

As I told you in your other thread: when posting code, use [URL="http://www.daniweb.com/forums/announcement8-3.html"]CODE TAGS[/URL] If you want to use [ICODE]<shellapi.h>[/ICODE] (not in quotes) you have to [ICODE]#include <windows.h>[/ICODE] first. Also 'handle' looks a bit undefined doesn't it? How about changing it to NULL

Member Avatar for dirnthelord
0
111
Member Avatar for aryansmit3754

[URL="http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_bst1.aspx"]Tutorial[/URL]

Member Avatar for Nick Evan
0
83
Member Avatar for dirnthelord

What do you mean with "open it"? Open it in your code, or in an explorerwindow, or...

Member Avatar for Nick Evan
0
122
Member Avatar for vishal_tulsiyan

I agree, it's almost impossible for someone with a "gimme answers...to homework..LOl" attitude. But if you actually want to give it a try, you might want to start [URL="http://www.google.nl/search?hl=nl&q=opencv+haar+detection&btnG=Google+zoeken&meta="]here[/URL]

Member Avatar for Nick Evan
0
93
Member Avatar for ribena500

You mean dynamic arrays? Sure it's possible: [code=cplusplus] int howmany = 0; cout << "how many?"; cin >> howmany; int *arr = new int[howmany]; // do stuff delete[] arr; [/code] but if you don't want to worry about memory management, you could also have a look at vectors: [code=cplusplus] #include …

Member Avatar for Nick Evan
0
134
Member Avatar for gproggramer175

[QUOTE=suman910;738929]what can be the easy language to learn game programming for dummies ?[/QUOTE] Game programming for dummies doesn't exist. That's like saaying : "being really smart: for stupid people" . FIRST learn to program in the language of your choice (Python is a nice language to start with for example), …

Member Avatar for MattEvans
0
94
Member Avatar for trhwrgsreg

If you could put the flow of the program on paper (what should be asked for first, what next etc) and you put all the relations on a paper (your 2002-asbestos etc examples) this should not really be a difficult project to program. I think the design of the user-interface …

Member Avatar for henrik14
0
148
Member Avatar for jbennet

If people are too stupid to know that the paperclip is used for attachments, they have no business on a 'IT Discussion Community' IMO.

Member Avatar for WaltP
0
157
Member Avatar for dc87

The End.