15,300 Posted Topics

Member Avatar for kevink

Welcome to DaniWeb -- hope to see a lot more of you around. Please go to the [B]Coffee House[/B] and introduce yourself in [B]Community Introductions[/B] >>I am using asm and writing code using the emulator in assembly language You need to be a lot more specific. What flavor of assembly …

Member Avatar for Ancient Dragon
0
75
Member Avatar for Mini_The_Great

you forgot the break statements after each case statement beginning on line 77. That's why the ID_FILE_EXIT menu falls through and executes each of the other case statements too. [edit]I see you added those break statements :) [/edit]

Member Avatar for Ancient Dragon
0
144
Member Avatar for CRD

It is a resource file for MS-Windows programs, and describes the dialog boxes, controls on the dialog boxes, string tables and other graphic resources used in the program. If you use one of the Microsoft compilers the IDE will generate the .rc file for you and you don't have to …

Member Avatar for jan1024188
0
168
Member Avatar for tgreer

I think there are only a handful of users who post in those silly games -- and some of the mods have posted in them too. I've even seen Ms. Dani a couple times, which is very very rare occasion. Rather than stop it probably having their own board in …

Member Avatar for christina>you
0
587
Member Avatar for guy40az

>>is this the best way to do this? Yes, that's how all the programs I've seen does it, although there are other os-specific functions. The code you wrote is completely portable and correct.

Member Avatar for guy40az
0
97
Member Avatar for jan1024188

I :* MFC :) Most things (but not all) are a lot easier with it. If you have been working with pure win32 api for the past year or so you won't have to learn everything all over again, and you can still use win32 api functions within an MFC …

Member Avatar for jan1024188
0
127
Member Avatar for nanosani

[quote=jbennet;358564]Lol. Did you know that SE england is sinking and NW scotland is rising? How cool is that...[/quote] maybe because the brits are eating more McDonalds and the Scots aren't :)

Member Avatar for jbennet
0
143
Member Avatar for Squires

I think the CIO is right -- he sets the goals and its up to subordinates to figure out how to achieve them. My supervisor when I was on active duty in the US armed forces once told me "If I tell you to cut the grass don't ask me …

Member Avatar for Ancient Dragon
0
66
Member Avatar for The Dude

[quote=joshSCH;359249]No, it was this: Wtf ever happened to giving your opinion? I think Jackson should be executed like a criminal.. Perhaps the mods don't like it when you say something they disagree with..[/quote] [quote=joshSCH;359262]lol.. Big Brother is watching.. It was ancient dragon.. I pm'd him b/c there is no problem …

Member Avatar for Ancient Dragon
0
159
Member Avatar for The Dude

Are you sure that's from Iraq? How can such great music come out of such a misurable war-torn place ??? I think the war would be stopped pretty quickly if they produced more music similar to that.

Member Avatar for The Dude
0
65
Member Avatar for Infarction
Member Avatar for Sturm
0
118
Member Avatar for pri_skit

I take it that the console app is program that runs on a PC and compiled with a different compiler -- you can't compile PC programs with eVC++ 4.0. Or do both programs run on the same target device? I know that VC++ 2005 is capable of doing what you …

Member Avatar for pri_skit
0
254
Member Avatar for JC_McGeekster

writing to video ram is easy as writing to any other ram -- just set a pointer to 0xA0000:0000 and write to it. But be warned that it will be ungodly sloooooow. [URL="http://www.computerhope.com/help/video.htm"]Here is a link[/URL] to some more useful information

Member Avatar for Ancient Dragon
0
125
Member Avatar for Dani
Member Avatar for joshSCH
2
1K
Member Avatar for gage001

[b]The Secret of Life[/b]. Live with a person you love, and love him/her always. Don't cheat on your partner, and never go to bed mad at your partner -- all disputes should have been resolved by then. Now, you can wire-transfer my psychoanalysis bill of $1,000.00 USD to my bank. …

Member Avatar for christina>you
0
163
Member Avatar for grunge man

just add another variable, sum, that accumulates the values printed int sum = 0; <snip> sum += (n * n * 26);

Member Avatar for grunge man
0
176
Member Avatar for vikter

If on the MS-Windows os you can use win32 api functions or any of several other gui libraries such as xwindows. All of these require solid underatanding of C or C++ languages.

Member Avatar for Narue
0
181
Member Avatar for mutah.87
Member Avatar for louis7370
Member Avatar for SummersetJim

vista folders are the same as xp. So just use Explorer, look in the folder, sort files by size then check which file(s) are taking up all that space.

Member Avatar for Ancient Dragon
0
92
Member Avatar for louis7370

I found it in just a few seconds from [URL="http://www.google.com/search?hl=en&q=quincy+2005&btnG=Google+Search"]google[/URL]

Member Avatar for Nick Evan
0
90
Member Avatar for Dani

[QUOTE=jbennet;342894] am i the only one who doesnt mind the ads here by the way? [/QUOTE] Nope. I don't even notice them. But I understand how people with slow dial-up modems might object because the ads would probably slow down page load times a lot.

Member Avatar for lemurexplosion
0
2K
Member Avatar for â—„Medusaâ–º

If you are starting from scratch you will be way way over your head attempting to do what you want to do. Start at the beginning, learn the language first. See the [b]Read Me[/b] threads at the top of this board for lots lof links to get you started. But …

Member Avatar for John A
0
81
Member Avatar for nottoshabi

>>Where did that isvalidInt come from? You wrote the program, we didn't. You will probably have to write that function yourself because it is not standard C or C++ function.

Member Avatar for nottoshabi
0
202
Member Avatar for student86

The descriptions appear to be pretty clear to me. Just start at the top of the list and implement each one at a time. After you do the first requirement then compile and fix all errors. Then go on to the next requirement.

Member Avatar for student86
0
153
Member Avatar for jaepi

getting files from HD is pretty easy -- as Walt said. Writing to CD is much more problematic because you can't use standard stream io on it but go through the CD's device driver. I don't know how that's done because I always use a commercial cd writer program.

Member Avatar for Salem
0
88
Member Avatar for MukeshZ

>>i want after filling 5 textboxes application should wait for 5 Seconds. and after that all entries should be clear and ready for next user input. >>but for the next input round the application clears the input. but i am not able to edit it you will have to make …

Member Avatar for Ancient Dragon
0
112
Member Avatar for honeysmiles

[QUOTE=Rashakil Fol;356945] In fact, searching on Google gives matches at Rent-A-Coder.[/QUOTE] OMG! [URL="http://www.realtechnews.com/posts/2533"]I didn't realize this was going on[/URL]. :-O And to think I have been working my buns off for the last 20 years when I could have been drinking a beer while letting RentACoder do my work. I …

Member Avatar for Ancient Dragon
0
169
Member Avatar for Amanda21

>>how to initialize a one dimensional array you can initialize an array at the time it is declared, like this[inlinecode] int array[25] = {0};[/inlinecode] >>how to read the data into the one dimensional array use a loop and read each element one at a time. Details should be in your …

Member Avatar for Ancient Dragon
0
113
Member Avatar for itsanshulmca

Apparently you can use Microsoft's [URL="http://msdn2.microsoft.com/en-us/library/aa140021(office.10).aspx"]ADOX DLL[/URL]

Member Avatar for Ancient Dragon
0
108
Member Avatar for satya.vijai

use FILE and associated functions in stdio.h. First call fopen() to open the file, then in a loop call fgets() to read each line. After end-of-file is reaches call fclose() to close the file. If you use an array of char pointers as you posted you will want to call …

Member Avatar for WaltP
0
1K
Member Avatar for netnexus
Member Avatar for Ancient Dragon
0
498
Member Avatar for FoX_

It compiled and linked ok for me with that compiler. Must be the way you set up the project. First, create a new empty console project. Copy the *.cpp and *.h files into the project folder, then use menu Project --> Add To Project --> Files, and select the files …

Member Avatar for FoX_
0
226
Member Avatar for jan1024188

attempt to open the file, or you can call GetFileAttributes() and it will return -1 if the file does not exist. Another more expensive way is to call FindFirstFile().

Member Avatar for Ancient Dragon
0
106
Member Avatar for jan1024188

[URL="http://www.codeproject.com/useritems/Win32EasyHyperLink.asp"]Here[/URL] is one suggestion. Download the source code and adapt it to your problem. Browse around that site and you will find thousands of useful programs.

Member Avatar for jan1024188
0
120
Member Avatar for 'Stein

[QUOTE=Serunson;355137]Well being that far away will we ever get there the answer is of course No[/QUOTE] I wouldn't be so confident about that. Yesterday's science fiction is tomorrows fact. We have had StarTrek's communicators for several years now. And one day space ships might travel at worp speed.:-/ Shoot, even …

Member Avatar for Infarction
0
120
Member Avatar for ReeciePoo

See [URL="http://msdn2.microsoft.com/en-us/library/ms534009.aspx"]CreateFontIndirect[/URL] and visit the links at the bottom of the page.

Member Avatar for Ancient Dragon
0
33
Member Avatar for Malouka
Member Avatar for ~s.o.s~
0
108
Member Avatar for jan1024188

_getcwd(). Its not a win32 api function. or GetCurrentDirectory() which is a win32 api function.

Member Avatar for jan1024188
0
90
Member Avatar for MukeshZ

You will probably need to create a function that checks for keyboard hit (such as kbhit() from conio.h) and time() to get current time, something like this. This won't work if your compiler does not support conio.h, which is a non-standard header with non-standard functions. It also assumes MS-Windows os …

Member Avatar for MukeshZ
0
149
Member Avatar for jaepi

Investigate the [URL="http://www.google.com/search?hl=en&q=ioctl"]ioctl function[/URL]. But you'd better be prepared for some very advanced c programming.

Member Avatar for Ancient Dragon
0
110
Member Avatar for Dallan

what programming language is this? And why is it not posted in the appropriate board? I'd move it but don't know what language it is.

Member Avatar for Dallan
0
354
Member Avatar for pulse0

a struct will be ok, but someone did not think very clearly when he/she created that database by making spaces the field separator when the field itself contains spaces. That will make it nearly impossible to read that file. Is there something else about the fields that distinguishes one field …

Member Avatar for John A
0
245
Member Avatar for steve_d

this is a frequently used alogrithm called trimminging -- [b]trim left [/b] moves all characters to the left to fill up all the spaces to the left of the string. [b]trim right[/b] moves the null-terminator to the left until it reaches the first non-white-sace character (spaces and tabs). To [b]trim …

Member Avatar for ~s.o.s~
0
100
Member Avatar for Bidromicles

works ok for me. your problem must be something else. what compiler? what are the errors?

Member Avatar for Bidromicles
0
118
Member Avatar for Thinka

The test in line 29 can never ever be true because the line just before it set k equal to j. Move line 27 to after line 34 and see if that helps.

Member Avatar for Thinka
0
290
Member Avatar for jerryseinfeld

What operating system and compile are you using? Where did you get those two files? If you are using MS-Windows and you got the files from someone running linux/unix, then your program may not know how to interpret the end-of-line characters correctly. Also, if the files are small you can …

Member Avatar for jerryseinfeld
0
109
Member Avatar for eeeraser

interrupt 2c returns binary numbers, not ascii. You have to convert them to ascii before displaying them.

Member Avatar for Ancient Dragon
0
164
Member Avatar for desijays

Your question seemed clear enough. Most people won't respond if they don't know the answer. And I don't know of any way to do it.

Member Avatar for Infarction
0
350
Member Avatar for C++freak

your program will not even compile correctly so why are you trying to run it. arrays can not be allocated the way you are attempting in line 4 below. You need to make variable [b]tests[/b] a pointer and use new to allocate the memory after line 6, at which time …

Member Avatar for Ancient Dragon
0
116

The End.