15,300 Posted Topics

Member Avatar for flamecly

now that you have posted the problem, what exactly do you expect of us? We will NOT write your program for you but we will help you to write it yourself. So post your code and ask questions.

Member Avatar for John A
0
166
Member Avatar for Eko

that is not a circular queue. Circular queues do not have free space anywhere but at the queue's tail. A circular queue uses two pointers -- head points to the byte for the next insertion, and tail points to the byte for the next extraction. when tail+1 == head the …

Member Avatar for Infarction
0
202
Member Avatar for dcc

I accept PMs only from other mods and admins. There is no reason for others to PM me -- if you have a question just post it in the appropriate board for anyone to answer.

Member Avatar for happygeek
0
140
Member Avatar for roryt

never have that problem -- I learned touch typing in HS and have been touch typing every since (probably about 43 years). I think a lot of young people today learn to type on computer keyboards before they are HS age, and consequently learn typing incorrectly -- hunt-and-peck. Typing should …

Member Avatar for happygeek
0
241
Member Avatar for deepak_gurav22

your coding style leaves a lot to be desired. Do you really code your program with everything left justified on the page as you posted it? I wanted to edit your post to add code tags but that would not have helped. Not very many (if any) people will even …

Member Avatar for deepak_gurav22
0
158
Member Avatar for cyberjoe

you will probably have to write it as a [URL="http://www.google.com/search?hl=en&q=how+to+write+plugin+for+visual+studio&btnG=Google+Search"]plugin[/URL]

Member Avatar for Ancient Dragon
0
47
Member Avatar for jan1024188

The first parameter is the HWND of the function calling MessageBox(). When its NULL it means either the HWND doesn't exist, such as from a console program, or you don't care. If you don't know what a HWND is, then here is a good [URL="http://www.winprog.org/tutorial/"]tutorial[/URL] intruduction into MS-Windows programming.

Member Avatar for Ancient Dragon
0
110
Member Avatar for unclepauly

I think most math operations are performed on the math coprocessor instead of in code. So the functions are probably optimized as much as possible.

Member Avatar for unclepauly
0
106
Member Avatar for abdullateef

see [URL="http://www.uv.tietgen.dk/Staff/Mlha/PC/Prog/asm/int/21/index.htm"]int 21[/URL], function 5700 and 5701. to get current date/time Once you get that, then learn how to convert the data in the registers to human readable form. If you read some of the [URL="http://www.daniweb.com/techtalkforums/thread64614.html"]other threads[/URL] here there are example of how to do that.

Member Avatar for Purple Avenger
0
295
Member Avatar for kiks

create a loop that repeatedly divides the value by 10 until its value becomes 0. increment a counter on each loop iteration. see the description for the idiv instruction if you do not know what it does.

Member Avatar for Purple Avenger
0
570
Member Avatar for umairsaleem_88

[QUOTE=umairsaleem_88;296020]hello!!! i need a tutorial or source code of any graphical programm (animation is preferred) in c++ using borland turbo c compiler v3. i shall be very thank full to any one who help me in this regard. thanks![/QUOTE] that compiler does not compile c++ code -- its a C …

Member Avatar for WaltP
0
114
Member Avatar for murschech

same problem as in old days. when you enter a number and press <Enter> cin does not remove the "\n" from the keyboard -- you have to do that [code] int x; cin >> x; cin.ignore(); // remove '\n' key [/code]

Member Avatar for Ravalon
1
160
Member Avatar for yuckadirri

you can compare times directly. For example [code] if Time$ < Text1.text [/code]

Member Avatar for Ancient Dragon
0
80
Member Avatar for hamed22

see some of [URL="http://www.google.com/search?hl=en&q=assembly+language+tutorial&btnG=Google+Search"]these tutorials[/URL].

Member Avatar for Ancient Dragon
-1
68
Member Avatar for xibnoe

you have a couple options: (1) put each of the strings in an array of strings, or (2) keep a linked list of the lines that are read. Here is an example of using the array. [code] #include <stdio.h> int main() { int linecount = 0; char *array[255] = {0}; …

Member Avatar for WaltP
0
2K
Member Avatar for chutchit

Did you browse [URL="http://www.mathworks.com/products/netbuilder/"]their web site[/URL]? The quickest way to get answer to your question is to ask mathlib people. Also, [URL="http://www.codeproject.com/com/COMBuilder_1.asp"]here[/URL] is a tutorial if you need it (I haven't read it).

Member Avatar for Ancient Dragon
0
43
Member Avatar for SquirrelHunted

First you need to learn SQL query language. There are tutorials on the net as well as books that will teach you. SQL isn't something that you can just pick up in a few minutes. I would suggest you download and install MySql database in your own personal computer so …

Member Avatar for Ancient Dragon
0
90
Member Avatar for Wayne.

It appears the only differences are the graphics card and the size of the hard drive. The hard drive difference in price is minimal -- you can buy a [URL="http://www.directron.com/200gb.html"]250 gig hard drive[/URL] in USA for about $75.00 So that leaves just the graphics card. Do you like to play …

Member Avatar for jbennet
0
133
Member Avatar for TFrank2

never heard of the language. But did you try [URL="http://www.google.com/search?hl=en&q=Ruby+programming+language&btnG=Google+Search"]google[/URL] ? [quote]Results 1 - 10 of about 1,710,000 for Ruby programming language. (0.18 seconds)[/quote] Now I'm not saying you have to read each and every one of those hite, but the first few will probably be helpful. Nearly 2 million …

Member Avatar for pty
0
188
Member Avatar for krazywasabi

I will buy it in about a year. By then M$ will have at least one service pack out for it.

Member Avatar for jbennet
0
325
Member Avatar for jbennet

From my observations it doesn't look like spam and porn stay up on DaniWeb very long -- there are now a lot of moderators from all over the world (timezones) who can delete those posts within the hour or less.

Member Avatar for happygeek
0
240
Member Avatar for Elfshadow

[QUOTE=Elfshadow;296631]I'm a learning C++ programmer but one of my friends is a VB 6 programmer.He wants to go to vb.net but it makes him mad because it's so different from VB 6.Could someone please tell me any good tutorials for VB 6 to VB.net programmers.;)[/QUOTE] might try some of [URL="http://www.programmingtutorials.com/vbnet.aspx"]these[/URL] …

Member Avatar for waynespangler
0
104
Member Avatar for Stuki

we also have no snow -- and it pleases me to no end! I hate the stuff, shoveling it off the roads and driveways is a lot of work. If I want to see snow I'll drive into the mountains (which I have not done in the past 25 years). …

Member Avatar for Dani
0
283
Member Avatar for Dani

Here in St Louis they usually rerun it when its midnight central time zone. I've watched it here every since I can remember. Years ago we also watch all (or many) live big-band parties in various cities. Unfortunately TV doesn't do that any more -- what a pitty young people …

Member Avatar for BamaStangGuy
0
396
Member Avatar for Mr.UNOwen

Getting the list of files from a directory is not too difficult but is os-dependent. In C there is no portable way to do it. In C++ boost libraries have portable functions. [URL="http://www.daniweb.com/code/coder46588.html"]these code snippets[/URL] show how to do it in both linux and ms-windows.

Member Avatar for WaltP
0
129
Member Avatar for TomPettyJT

I would suggest getting input as a string so that you can detect invalid characters. scanf() won't necessarily do that for you. For example you might type "123.45abcd" and scanf() will accept everything up to the first non-numeric character -- 'a' -- without any complaints. But if you want to …

Member Avatar for ~s.o.s~
0
118
Member Avatar for irfan.motiwala

Dam edit button! Sorry Irfan I didn't mean to edit your post. At least I didn't destroy anything that's a great idea!:idea: But I'll bet you soon get millions of spam faxes in your email

Member Avatar for ~s.o.s~
0
131
Member Avatar for syruspayne

[URL="http://en.wikipedia.org/wiki/Pseudocode"]pseudocode[/URL] and flow charts are two different things. see link for description and brief examples.

Member Avatar for 80s
0
323
Member Avatar for vov4ik

what assembler are you using? it can not be assembled with any 32-bit assembler because 16-bit MS-DOS interrupts can not be used in protected mode programs. also the program is not complete -- it does not terminate back to the os when done but instead keeps executing random instructions that …

Member Avatar for vov4ik
0
137
Member Avatar for stoopidnerd

[QUOTE=stoopidnerd;294508]Where would i be able to purchase visual basic or a similar .EXE creator? is there any free versions?[/QUOTE] [URL="http://msdn.microsoft.com/vstudio/express/vb/"]Here[/URL]

Member Avatar for WaltP
0
98
Member Avatar for eddie-jdp
Member Avatar for eddie-jdp
0
188
Member Avatar for 'Stein
Member Avatar for Siva_sbj

please post how the array was declared, or better yet post the entire function. what's the max value of each dimension?

Member Avatar for Siva_sbj
0
126
Member Avatar for GreenDay2001
Member Avatar for gn0m3
0
89
Member Avatar for The Dude
Member Avatar for geek

There are a couple ways you can do it. 1. The program that is to get the numbers should get then from argv. The program that passes the numbers just passes them in the argument list as if you passed them on the command line. [code] // Program A int …

Member Avatar for Ancient Dragon
-1
171
Member Avatar for gabs

[URL="http://www.codeproject.com/buttonctrl/"]Here[/URL] are several MFC button controls -- if you are using pure win32 api functions you can just strip out the MFC code and call win32 api functions directly.

Member Avatar for jwenting
0
87
Member Avatar for jan1024188

MS-Windows -- [URL="http://msdn2.microsoft.com/en-us/library/aa376873.aspx"]InitiateSystemShutdown()[/URL]

Member Avatar for ~s.o.s~
0
124
Member Avatar for sTorM

[code] {'J', 10},{'Q', 10},{'K', 10}, {'A', 1} [/code] The above are all wrong. the values of J, Q, K and A are incorrect, should be 11, 12 , 13 and 14 respectively.

Member Avatar for sTorM
0
104
Member Avatar for chunkmartinez

So, in otherwords you bought this game (or Santa gave it to you) and you want someone to tell you how to run the game from the hard drive without having the CD in the CD drive? Smells like it might be illegal.

Member Avatar for jwenting
0
86
Member Avatar for catty50

>>cin >> cardname[ORDER][COLUM]; I don't understand the problem you are trying to explain. But above line is certainly wrong. The array has 3 rows and 4 columns. Rows are numbered 0, 1 and 2, and the columns are numberd 0, 1, 2, and 3. The line above is trying to …

Member Avatar for Ancient Dragon
0
132
Member Avatar for nuwan243

0x10 is an [URL="http://en.wikipedia.org/wiki/Interrupt_vector"]interrupt vector[/URL], which is a hard-coded memory address where an interrupt handler begins. This can only be used in old 16-bit MS-DOS programs. [URL="http://win32assembly.online.fr/tutorials.html"]Here[/URL] are assembly language tutorials. If you want to learn interrupts then you will need to know basic assembly language. [URL="http://spike.scu.edu.au/~barry/interrupts.html"]Here[/URL] is information about …

Member Avatar for Ancient Dragon
0
154
Member Avatar for roryt

got a cell phone, now I just have to learn how to use the blasted thingamabob.

Member Avatar for roryt
0
168
Member Avatar for nuwan243

[QUOTE=nuwan243;294298]Hi everybody, How to crack a password of a simple C++ Programme? Please give me a simple code sample????????? heres to, Nuwan[/QUOTE] passwords are encrypted for a good reason -- to keep people like you from reading them.

Member Avatar for jwenting
0
316
Member Avatar for libin

you will probably have to go to the barcode reader manufacture's web site and see if you can find some programmer's information and device driver.

Member Avatar for Paladine
-1
111
Member Avatar for EnderX

you can use [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/registry_functions.asp"]win32 api functions[/URL] (scroll down to bottom for GetPrivateProfile??? functions)

Member Avatar for sushanth
0
1K
Member Avatar for sTorM

look at an [URL="http://www.asciitable.com/"]asscii chart[/URL] and you find that the ascii value of the letters 'a' to 'z' are 97 thorugh 122 respectively. This will return a character beteween 'a' and 'z'. Use the same technique to get a number between 1 and 10. [code] rand() % ('z' - 'a' …

Member Avatar for sTorM
0
128
Member Avatar for nuwan243

baud rate described [URL="http://en.wikipedia.org/wiki/Baud"]here[/URL] >>? Why we cannot transmit data than that (maximum ) data rate? how fast can you talk? why can't you talk any faster?

Member Avatar for nuwan243
0
106
Member Avatar for alsami

you already have a schedule of doctors and times. Convert the times from HH:MM into just minutes for easy comparison. For example: 5:14 AM is (5*60)+14 = 314 minutes into the day. [code] beginning of loop: get current time, convert current hour and minutes to just minutes and compare it …

Member Avatar for Ancient Dragon
0
175
Member Avatar for nuwan243

[QUOTE=nuwan243;294191]12) what are the I/O ranges?funcitons of it? is it useful to a programmer ? if How ? 13) can we use a C++ programme without windows? I mean can we use C++ programme in MS-DOS mode? Can we run a C++ programme before windows boots?if can how to do …

Member Avatar for Ancient Dragon
0
166

The End.