15,300 Posted Topics

Member Avatar for gabs

you gave each combobox a unique id when you created it. Just use it. what version of vc++ are you using? There are a lot of combo box messages See[URL="http://msdn2.microsoft.com/en-us/library/ms674060.aspx"] this[/URL] MSDN article

Member Avatar for gabs
0
104
Member Avatar for GreenDay2001

Old borland compilers starting with Turbo C had that problem -- its 16-bit compiler will not allow more than 64K worth of data in any one *.c or *.cpp file. If you need more global data than that you have to split it up into two or more files.

Member Avatar for Dave Sinkula
0
178
Member Avatar for GreenDay2001

[QUOTE=iamthwee;293858]Don't bother with MFC.[/QUOTE] You will probably have to know it because there are millions of programs out there that use it. I use MFC all the time and don't have a problem with it any more -- it has a very very steep learning curve, up to a year …

Member Avatar for GreenDay2001
0
105
Member Avatar for Boldgamer

please read [URL="http://www.daniweb.com/techtalkforums/thread50370.html"]this[/URL] thread. which provides a wealth of information for beginners.

Member Avatar for may4life
0
169
Member Avatar for l2u

None of the win32 api functions I'v used take smart pointers as a parameter or pass them back. Why? because they can all be called from other languages which know nothing at all about c++ smart pointers.

Member Avatar for Ancient Dragon
0
96
Member Avatar for zare

1. create an MFC Extension DLL 2. In the .h file, define a macro similar to below [code] // The following ifdef block is the standard way of creating macros which // make exporting from a DLL simpler. All files within this DLL are compiled // with the __GXDLCODE_EXPORTS__ symbol …

Member Avatar for Ancient Dragon
0
85
Member Avatar for stan yost

You should study [URL="http://msdn2.microsoft.com/en-us/library/wss56bz7(vs.80).aspx"]this MSDN article[/URL]. I think it includes some example too. [edit]Just noticed the link is for VB .NET, not VB 6. [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconaddingcontrolstoproject.asp"] This[/URL] might give you a start. I'm sure there are many examples. [/edit]

Member Avatar for QVeen72
0
99
Member Avatar for saqib

did you compile and run the program to see what it does? Requires Turbo C compiler.

Member Avatar for saqib
0
144
Member Avatar for mattyd

I smoked since high school, and just got the guts to stop in Sep 2001. One of the main reasons I stopped was cost -- the cost nearly $5.00 USD per pack in my area, and its a lot more expensive than that in other parts of USA. It was …

Member Avatar for Dave Sinkula
0
247
Member Avatar for bento

MS-Windows, use [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/console_functions.asp"]these[/URL] console functions. First, get the handle to the consol window with GetConsoleWindow() then move the cursor to desired location with SetConsoleCursorPosition().

Member Avatar for Ene Uran
0
368
Member Avatar for tech291083

bad link -- either fix the link or post the code. My guess is that you either used an old header file or no header file at all. should be <iostream>, not <iostream.h> (doesn't have a .h extension)

Member Avatar for tech291083
0
188
Member Avatar for dil.om

Look in your text book how to access database objects. You [u]are[/u] trying to learn VB with a book aren't you ??? If not, you should be. Also try to get initialize answers from google, which is getting pretty good at answering programming questions. For example , ask for "vb …

Member Avatar for dil.om
0
130
Member Avatar for Liuism

how about [URL="http://www.azzcardfile.com/cardfile/crd_file.html"]this[/URL]

Member Avatar for Liuism
0
161
Member Avatar for dr.it

why do people keep saying VC++ is a language. It isn't. VC++ is the name of Microsoft Visual Studio C++ compiler, not a language. >>C and C++ are free C# is not. Again, those are languages, not compilers. Some compilers for each of those languages are free and some are …

Member Avatar for TylerSBreton
1
239
Member Avatar for JRM

My solution would be to write a public get function and use it in the loop instead of attempting to accessing the private member directly.

Member Avatar for JRM
0
4K
Member Avatar for mytime19

Every version of MS-Windows has come with a free disassembler -- its called debug.exe and located in c:\windows directory (or whereever you installed windows). Here are a couple very basic commands [code] c:\debug myprogram.exe // disassemble the program >u <Enter> // get help >h <Enter> [/code]

Member Avatar for Ancient Dragon
0
76
Member Avatar for turnbui

my guess is the computer that runs the cgi program does not have .NET framefork installed or the wrong version. Use either fprintf() or cout and you won't have that problem.

Member Avatar for Ancient Dragon
0
192
Member Avatar for mattyd

There was a short film on tv the other day on the history channel (I think) that discussed that. The interviewed a very old shepherd (maybe in his 80s) who had been born and raised on the area, and he also confirmed that it would have not been possible for …

Member Avatar for The Dude
0
114
Member Avatar for The Dude
Member Avatar for The Dude
0
129
Member Avatar for mytime19

you probably can not do the because the program is more than likely burned into a ROM (Read-Only Memory) chip on the card. Either buy a new 64-bit video card or run the 32-bit card on your 64-bit computer. That's what I do and don't have a problem.

Member Avatar for Ancient Dragon
0
92
Member Avatar for mytime19

There are a few articles about mixing c and assembly. Not very difficult to do, but the techniques may be a bit different from one c compiler to another due to c calling convention and how the c compiler modified function names. For example microsoft compiler add an underline before …

Member Avatar for Ancient Dragon
0
131
Member Avatar for adam37

>>What is the size of a double? depends on operating system and possibly the compiler. But you can use sizeof(double) to get its size. >>How long is a piece of string? depends on where you cut it with your scissors. (sorry for the bad joke, I just couldn't resistet temptation …

Member Avatar for Colin Mac
0
151
Member Avatar for mytime19

>>enterance papers What are these? You mean students in India have to take a test in order to advance to the next grade ?:eek: And why would you want the solutions to some previous year's test? I would think you would want the solution to the next year's test. This …

Member Avatar for ~s.o.s~
0
130
Member Avatar for roryt

Oh Cool!:) :) I just saw the new format for the first time. Looks great -- I thought the previous format looked a little cluttered.

Member Avatar for Ancient Dragon
0
104
Member Avatar for Mike999984

[QUOTE=Mike999984;292283]Is it possible? Because I want to convert my Mario by Utter Chaos into Java to put on my website.[/QUOTE] Of course its possible. Just rewrite the application in Java. (don't ask me how because I don't know either).

Member Avatar for TylerSBreton
0
251
Member Avatar for senguptapallab

please read [URL="http://www.daniweb.com/techtalkforums/thread50370.html"]this thread[/URL]

Member Avatar for JoBe
0
147
Member Avatar for jobra

>> buffer[field.Size()] = 0; this C string technique is unnecessary when using std::string objects (assuming buffer is std::string). And it might actually cause data corruption if the amount of allocated space is not enough for that character. >> if ( code = "SUB1" ) you probably intend to use the …

Member Avatar for Ancient Dragon
0
121
Member Avatar for randomromper

I'm not sure if this will work, but if there are spaces in the path then you will have to put it in a directory that does not have spaces. old MS-DOS programs do not recognize long filenames or path names either.

Member Avatar for Ancient Dragon
0
83
Member Avatar for jobra

what operating system? There are no standard C or C++ functions to do that. If you are using MS-Windows you can call the win32 api function [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/gettimezoneinformation.asp"]GetTimeZoneInformation[/URL]()

Member Avatar for John A
0
233
Member Avatar for thunderstorm98
Member Avatar for andrax

How about [URL="http://shop.compuware.com/dr/sat1/ec_Main.Entry17C?SID=50965&SP=10023&CID=0&PID=773671&PN=1&V1=773671&CUR=840&DSP=&PGRP=0&ABCODE=&API1=65&API2=GOOGLE&API3=boundschecker_exa&API4=Empty&API5=Empty&CACHE_ID=0"]BoundsChecker[/URL]

Member Avatar for andrax
0
204
Member Avatar for p_p_g_1_6

Please read [URL="http://web.daniweb.com/techtalkforums/announcement8-2.html"]forum announcements[/URL]

Member Avatar for DavidRyan
0
83
Member Avatar for paradoxxx

here is how to enter the characters of a number as a string and convert to float. If this code is too much for you then you should probably shelve your project for awhile and concentrate on learning c++. [code] #include <string> #include <strstream> #include <iostream> using namespace std; int …

Member Avatar for wildpine
0
183
Member Avatar for green_oasis

[QUOTE=green_oasis;291272]Thanks for the reply. I actually don't understand the size of B. There's only one private function in B. What made the size to be 4? For A, because the long int takes 4 bytes, I can understand the size is 4. Thanks![/QUOTE] class B also includes class A, therefore …

Member Avatar for ~s.o.s~
0
171
Member Avatar for tech291083

some programs were written with more than one language. Now emerging are .NET programs which may be a combination of c++, VB and C#.

Member Avatar for Ancient Dragon
0
250
Member Avatar for Monsignor

fscanf() will read just one word at a time, which will greatly simplify the solution to the problem.

Member Avatar for Ancient Dragon
0
166
Member Avatar for vicky_dev

[code] fin.seekg( 0, ios::end ) // Find file size fileSize = fin.tellg( ); if( fileSize < sizeof( int )) // Need atleast one in[/code] Is the file a binary file or text file? If you view it in Notepad or some other text editor are the numbers readable? If they …

Member Avatar for Ancient Dragon
0
115
Member Avatar for centrinostyle

[URL="http://scv.bu.edu/tutorials/F90/intrinsics/TRANSPOSE.html"]here[/URL] is a simple example, but it is not in C language. If you study some of the [URL="http://www.google.com/search?hl=en&q=how+to+transpose+a+matrix"]google links[/URL] you will find other examples that might help you

Member Avatar for DavidB
0
95
Member Avatar for mattyd

I suspect there are billions of planets in the universe that have water. We earthlins are probably not alone.

Member Avatar for 'Stein
0
213
Member Avatar for newbie2c++

your program compiled without error with my compiler -- VC++ 6.0 on Windows XP. what compiler are you using? If its really old, such as Turbo C++, then the program may not compile because the compiler is just too ancient.

Member Avatar for Ancient Dragon
0
125
Member Avatar for Nick Evan

[QUOTE=jbennet;289152]piss isnt that bad a word really as it says in daniwebs rules, most of our posters are teens or adults and so it should be fairly acceptable[/QUOTE] depends on how that word is used. "I'm pissed off" is one thing, but "are you taking a piss" is quite another. …

Member Avatar for mattyd
0
213
Member Avatar for Sandtimes

have you tried to compile that program? what are the compiler errors? [code] tructure Moviedata; int movie title; int movie director; int year released; [/code] That is not the correct way to declare a structure. Here is how it should be done. Since you are writing a c++ program you …

Member Avatar for Sandtimes
0
641
Member Avatar for newbie2c++

what is the error message? have you granted yourself permissions in the directory that contains the cgi program and the program itself to run the program?

Member Avatar for Ancient Dragon
0
83
Member Avatar for backstabber

Your coding style is really quite terrible. There is nothing wrong with putting stuff on separate lines to make it easier to read. Easy reading is much better than being cute. For example: [code] for(int r = 1; r <= rows; r++) { <snip> for(b = 1; b <= rows; …

Member Avatar for backstabber
0
129
Member Avatar for 'Stein

[quote]provides a forum for [u]intellectual[/u] exchange among members.[/quote] That disqualifies me :mrgreen:

Member Avatar for happygeek
0
100
Member Avatar for Ryan Steyn

I think [URL="http://bloodshet.net"]Dev-C++[/URL] will be easier for beginners to learn the language because it doesn't have as complex an IDE as MSVC. Once you get to the place when you want to start writing MS-Windows gui programs then you should probably switch to the Microsoft VC++ 2005.

Member Avatar for jbennet
0
109
Member Avatar for Kishor Soni

use [URL="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingcommunicationscontrol.asp"]The Communications Control[/URL]

Member Avatar for Kishor Soni
0
109
Member Avatar for arh

[u]research project[/u]: name the most popular sort algorithms and briefly describe how they work. Which algorithms are the fastest. there is tons of information on this topic because Ph.D.'s have done a great deal of search about it.

Member Avatar for Rashakil Fol
0
147
Member Avatar for joelw

what is GetStudents() supposed to do ? >>will receive the array an array of what? It certainly is not an array of struct Student because the function does not take an array but a single object.

Member Avatar for Ancient Dragon
-1
322
Member Avatar for sdillinger

The End.