868 Posted Topics

Member Avatar for geeta

For a simple C++ program you should be able to do it even when Visual Studio is not installed in the other machine. Since you have mentioned it as simple C++ program, I assume it is a console program and that you have forgotten to include a cin statement at …

Member Avatar for WolfPack
0
488
Member Avatar for Chinjoo

Any questions? or is this an example for an implementation of a Binary Tree Traversal?

Member Avatar for Cudmore
0
389
Member Avatar for Clinton Portis

Tried running it under a debugger. It terminated when the dialog box was initialized. The position that it crashed was this. [code] while(Lines[i][j]!=',') { j++; } [/code] I think the reason is this. When you initialized the window, there are no text strings in the edit box. Remember the return …

Member Avatar for WolfPack
0
686
Member Avatar for Micko

If you think that it is a bug in Visual Studio, it is not. Refer the following URL. [URL=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_predir_comment.asp]#pragma comment[/URL] You need to link the wsock32.lib or ws2_32.lib ( Winsock Library ) to use the APIs that are needed for WinSock programming in Windows. Visual Studio by default links the …

Member Avatar for WolfPack
0
139
Member Avatar for Asif_NSU

I have worked with MFC for sometime and then started Windows Programming with the pure C/C++ Code and the Win32 APIs. After that much of the things that were not clear in MFC became easier to understand. All Win32 and MFC does is handle the Various Windows messages under some …

Member Avatar for Ancient Dragon
0
572
Member Avatar for btech

Well I ran the code, and it compiled and linked just fine. Since you have pasted codes for two files, doublyLinkedList.h and main.cpp in the same code window, I only had to seperate them and compile. Otherthan that I didnt do any changes. THe program ran fine, I entered some …

Member Avatar for Ancient Dragon
0
162
Member Avatar for atrusmre

I believe you are asking for a way of updating a Caption of a Static Text Label Control ( IDC_STATIC ) which displays the Clock output without using the UpdateData method. You can do this by the use of Control Variables. It is possible to declare a control variable for …

Member Avatar for Ancient Dragon
0
140
Member Avatar for AhmedHan

Check these links out. Maybe you can get an idea on how to solve your problem. [URL=http://msdn.microsoft.com/workshop/networking/moniker/reference/functions/urldownloadtofile.asp]URLDownloadToFile[/URL] [URL=http://209.171.52.99/internet/urldownload.asp#xx710915xx]URLDownloadToFile Sample[/URL] [URL=http://www.codeproject.com/miscctrl/iprogressdialog.asp]Implementing the Progress Display[/URL]

Member Avatar for WolfPack
0
100
Member Avatar for kreitcher

Just out of curiosity. What has GTK got over good old Visual Studio in the Windows Environment?

Member Avatar for yeohhs
0
455
Member Avatar for WolfPack

Hello, I am developing an application in Win32, ( No MFC at all ). It is an MDI application, and I am using Keyboard accelerators. The Keys that I have assigned for accelerators are working properly, but when I press something that is not an accelerator, such as Ctrl + …

Member Avatar for WolfPack
0
272
Member Avatar for skprasat

If you are programming for windows you can use the GetFileTime( ) API to retrieve the Created/LastAccessed/and Last Modified times. These are output in the FILETIME structure, so you will have to use the FileTimeToSystemTime() in order to change the FILETIME structure to a SYSTEMTIME structure. After that , you …

Member Avatar for skprasat
0
4K
Member Avatar for ocw

If you are interested in speed, then I think it is better to use the OpenCV library in sourceforges.net. [url]http://sourceforge.net/projects/opencvlibrary/[/url] There are a lot of built in image processing functions and they also provide good documentation. I have used some of it for image prcessing applications, and found them very …

Member Avatar for WolfPack
0
143
Member Avatar for elek

Okay here goes. You had got your types mixed up and the casting was not done properly. You had assigned floats to integers there by losing information. Also initialize every variable you define. Otherwise you will have unexpected results. I corrected them and basically got it to work. Also I …

Member Avatar for elek
0
113
Member Avatar for hemanth.balaji

This reply is a bit late. But I hope maybe somebody else will learn something from it. The list view control has a default font and this is the same for the column and the items. So to change this I think that you should change the font of the …

Member Avatar for WolfPack
0
133
Member Avatar for NejiHyuuga

What your professor had in mind apparently was to give you an exercise in Data output and a simple exercise in logical operators ( i.e > , < , == , etc. ) The output of a character in hexadecimal and decimal is okay. But you dont have to input …

Member Avatar for WolfPack
0
94
Member Avatar for WolfPack

Hi all, I joined DaniWeb maybe two days back. And I was thinking of what to say about me, other than I am an alchoholic ( work ). Well I guess I can start off by saying that I do programming for a living and also for leisure. My area …

Member Avatar for belama
1
128
Member Avatar for alexbadboys
0
93
Member Avatar for blackspyder01

Can't you look at the date and reply? This thread is more than 2 years old.

0
94

The End.