15,300 Posted Topics

Member Avatar for acardiac

Aren't those manuals normally reserved for teachers and educational instutions???

Member Avatar for acardiac
0
2K
Member Avatar for krnekhelesh

You would have to write a TSR (terminate-and-stay-resident), and I'm not sure that cmd.exe supports that like it did with MS-DOS Version 6.X and earlier. I thought you might use one of the [URL="http://msdn2.microsoft.com/en-us/library/ms997537.aspx"]win32 hooks[/URL], but probably not from what I read. Possibly a [URL="http://support.microsoft.com/kb/253671"]device driver[/URL] or a [URL="http://msdn2.microsoft.com/en-us/library/d56de412(VS.80).aspx"]windows service …

Member Avatar for EZO
0
1K
Member Avatar for I_want_to_lean

My guess is that you should not be calling that function directly. Call [URL="http://msdn.microsoft.com/en-us/library/ms534893.aspx"]InvalidateRect[/URL]() instead, and let it call the redraw function.

Member Avatar for I_want_to_lean
0
264
Member Avatar for ithelp
Member Avatar for jake88

[URL="http://letmegooglethatforyou.com/?q=beautify+xml+file"]try one of these programs[/URL]

Member Avatar for jake88
0
217
Member Avatar for suejoh
Re: Hi

Welcome to DaniWeb. Yes there are quite a few people here who can help you out. Just ask all the questions you want in our [URL="http://www.daniweb.com/forums/forum16.html"]Databases boards.[/URL]

Member Avatar for Robdale
0
54
Member Avatar for peacerosetx

Welcome to DaniWeb. Of course c++ is heavily involved in statistics -- afterall you don't think those professors with Ph.D.'s do all those calculations by pencil & paper :)

Member Avatar for Ancient Dragon
0
30
Member Avatar for shadowfire36
Member Avatar for kbshibukumar
0
624
Member Avatar for christiangirl
Member Avatar for cikara21
0
156
Member Avatar for The Dude

I hope he has great musical skills -- he could write the world's first piano concharto that requires 12 fingers!

Member Avatar for Ancient Dragon
0
116
Member Avatar for kacumbo

1) your implementation file is missing the class constructor implementation. 2) your class is missing a default constructor as required by the assignment # 2a. 3) Post the attempts you have made to write main() and test the various functions. I would suggest you write a menu something like this: …

Member Avatar for Ancient Dragon
0
594
Member Avatar for jladd5
Member Avatar for gaspan
Member Avatar for Salem
0
168
Member Avatar for scrypt3r
Member Avatar for les2

Don't just post your assignment here because we could care less about it. Post what you have done to write that program and what questions do you have about it. We are not going to write it for you but we will help YOU write it if you ask questions.

Member Avatar for Ancient Dragon
0
81
Member Avatar for az_master

why use one of the dos commands? you can unhide them with windows explorer. Just select view options and check the box to show all files. But if you insist -- type <c:\ help atrtrib> [quote] D:\Users\AncientDragon>help attrib Displays or changes file attributes. ATTRIB [+R | -R] [+A | -A …

Member Avatar for deepavishnu1964
0
107
Member Avatar for snakeplyr

[QUOTE=snakeplyr;793554] Please keep negative comments off because I get enough of them from my brother who doesn't think I can do it. : ( (But if they're necessary go for it)[/QUOTE] I agree with your brother. GET A JOB AND DON'T BE SO LAZY, then you can work this hobby …

Member Avatar for Salem
0
158
Member Avatar for kim.wilzon

On my compiler it is 1 byte because that is the minimum size of any object. There is no such thing as an object that does not take up any space. [code] #include <iostream> using namespace std; struct x { }; int main() { cout << "sizeof(x) = " << …

Member Avatar for Ancient Dragon
0
43
Member Avatar for vinwin

>>P1OUT &= ~ 0x01 I suspect P1OUT is an LED port address, and as the comment says it is turning off the bit.

Member Avatar for vinwin
0
78
Member Avatar for vikasmailsu

your compiler supports several different processor types, depending on which hardware manufactures SDK you install. You will have to port that assembly code to each of those processors that you want to support. Salem's suggestion is best -- port the assembly code to C or C++ and you won't have …

Member Avatar for Ancient Dragon
0
91
Member Avatar for slimjimmer

>>lint 9: *randno[i][j], That is not leagal way to declare an array because i and j must be constants. What you have are two uninitialized integers. If you want to declare a two-dimensional array of integers but you don't know how many rows and columns then declare it with a …

Member Avatar for Salem
0
227
Member Avatar for lonely_girl

or something like this [code] bool done = false; while( !done ) { //Your code before the if. if (cy>0 && cm>0 && cd>0 && by>0 && bm>0 && bd>0) { done = true; } else { clrscr(); printf("Enter correct date.") } } [/code]

Member Avatar for lonely_girl
0
136
Member Avatar for WireDog69

Welcome to DaniWeb. Glad to see another retired military person here :) I retired from USAF in 1985.

Member Avatar for jbennet
0
75
Member Avatar for pbwebdev

Welcome to DaniWeb. I don't know a damed thing about Java :)

Member Avatar for jbennet
0
85
Member Avatar for Corus

you need to tell cout how many decimals you want it to print: example [code] #include <iostream> #include <iomanip> using namespace std; int main() { double x = 12345.7890; cout << fixed << setprecision(2) << x << "\n"; cout << fixed << setprecision(3) << x << "\n"; cout << fixed …

Member Avatar for Corus
0
106
Member Avatar for azwraith69

system() is portable -- the commands it execute are not. There are no portable ways to clear the screen. You might have to do something like this, where each compiler for the target os defines one of the symbols listed in the code below. [code] #ifdef _UNIX_ system("clear"); #elif def …

Member Avatar for Ancient Dragon
0
477
Member Avatar for 6pandn21

[QUOTE=6pandn21;792891]Thank you for clarifying. I was taken aback by the accusation of being a spammer. :-)[/QUOTE] Don't worry about it -- if you were a spammer you would have been banned.

Member Avatar for Ancient Dragon
0
98
Member Avatar for Mighty

start here [code] #include <iostream> int main() { // put your code here } [/code]

Member Avatar for preet4fun
0
398
Member Avatar for abby2589
Member Avatar for Rbezona
0
103
Member Avatar for sid78669

No -- that code is MS-Windows specific. ncurses for MS-Windows only works with console programs, not GUI programs. If you want a gui program that is portable to both *nix and windows then don't use ncurses but use something like wxWidgets (there are others too)

Member Avatar for sid78669
0
158
Member Avatar for Ancient Dragon

I found this when googling for the lyracs of Bob Hope thream song. Posting it here because I enjoyed this video and thought you might too. [url]http://www.youtube.com/watch?v=xWHf_vYZzQ8[/url]

Member Avatar for vmanes
1
28
Member Avatar for rosenberg_a

static class member data objects have to be declared outside the class like this: You could do it without the pointers as you posted but that will consume a bit more memory. [code] // put this in a header file class DayOfYear { protected: static char* month[12]; public: DayOfYear() {}; …

Member Avatar for Ancient Dragon
0
152
Member Avatar for winrawr

>>How would I compile a DLL, and define/use its exports? [URL="http://www.cygwin.com/cygwin-ug-net/dll.html"]Maybe this will help you[/URL]

Member Avatar for Ancient Dragon
0
139
Member Avatar for real_castilla

I can't help you with your problem, but you don't need that while loop [icode]f_in.read(speech, 10000 * sizeof(short)); [/icode] But of course there is no guarentee that sizeof(short) will be 2. It might be on your system but if you intend to port that porgram to another os then the …

Member Avatar for rafi867
0
4K
Member Avatar for Adlinkguy

Welcome to DaniWeb -- we are pleased that you found us useful, and now you can actively participage in the discussions.

Member Avatar for amnetservices
0
83
Member Avatar for daviddoria

probably becuase there are still keys in the keyboard buffer. And since you are writinig a c++ program why aren't you using cin and cout? There is a sticky thread at the top of this c++ board that explains how to flush the input buffer of all keys -- you …

Member Avatar for Nick Evan
0
150
Member Avatar for yasserovic

line 9: zPtr just contains some random address value, so incrementing on line 9 is meaningless. line 18: thats just wrong -- use either *zPtr or zPtr[i], but not both at the same time.

Member Avatar for Murtan
0
183
Member Avatar for The Dude
Member Avatar for The Dude
1
88
Member Avatar for Ancient Dragon

Just now the Illinois senate voted 59-0 to sustain the impeachment of Blagojevich and remove him from office. The Lt Gov will assume that office today. Hurray! Hurray!

Member Avatar for vicio
0
53
Member Avatar for 3pid

your link doesn't work [quote]Error - The file could not be found. Please check the download link[/quote]

Member Avatar for 3pid
0
231
Member Avatar for smstry

what operating system? If MS-Windows you are downloading the wrong file -- download the *.zip file at the end of the list in the link that Niek posted in post #2 above.

Member Avatar for Ancient Dragon
0
244
Member Avatar for GrimJack
Member Avatar for PRASENJITBISWAS
Member Avatar for Ancient Dragon
-2
80
Member Avatar for thorster

Had you terminated the strings with "\n" instead of "\0" then you could have simply called fgets() to read the strings back into memory.

Member Avatar for Ancient Dragon
0
2K
Member Avatar for The Dude

[quote] I am 14% Metal Head. Sorry kid, go watch some more TRL. And stay out of the mosh pit. You'll only get yourself hurt. You, my friend, are a lamer. A RUSTY BOLT, in the metal world. A -real- metal head would kick yer ass.[/quote] Guess I didn't do …

Member Avatar for jbennet
0
299
Member Avatar for Liszt

Under MS-Windows the correct way to do it is to save the UserName and Password in the registry -- and encrypt the password because the registry can be easily viewed by anyone. Its not very difficult to read/write to the registry, but [URL="http://www.developer.com/net/net/article.php/615031"]here[/URL] is a c++ class if you want …

Member Avatar for Liszt
0
136
Member Avatar for denni11998833

OMG that has to be an extremely sloooooow program. A more efficient way would be to keep the times in the vectorl so that they can easily be referenced, maybe something like this: [code] struct files { std::string filename; FILETIME tm; }; vector<files> list; [/code] line 18: are you sure …

Member Avatar for denni11998833
0
2K
Member Avatar for Rein Valdez
Member Avatar for Rein Valdez
0
117
Member Avatar for networkburner

I don't hate the functions in conio.h, I just whish they had become part of the C standards so that they could be used more frequently. kbhit() and getch() are very very useful functions, but perhaps they never became part of the standards is because they would be difficult at …

Member Avatar for Ancient Dragon
0
151
Member Avatar for seebharath

[URL="http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostXMLDiscussion"]boost xml parser[/URL]. I never used it so I can't answer any questions about it.

Member Avatar for jake88
0
114

The End.