868 Posted Topics

Member Avatar for Leil@
Member Avatar for ithelp
0
54
Member Avatar for wamuti

No there is no specific forum for Windows Programming. You can ask in the C++ forum.

Member Avatar for WolfPack
0
61
Member Avatar for apcxpc
Member Avatar for smile!

Asking where the problem is not a question in C++. You have to explain what the problem is, and then we will tell you where it is. One problem in your code is this loop. [CODE=CpP] while (!infile.eof() && (count <=50)) { infile>>names[count]>>scores[count]; count++; sum+=scores[count]; } [/CODE] For some [URL="http://www.parashift.com/c++-faq-lite/input-output.html#faq-15.5"]reason[/URL] …

Member Avatar for wamuti
0
113
Member Avatar for xdream

I didn't go through all your code, but shouldn't you be using [code=cpp] cout << " Player " << player<< " wins. " << endl;[/code] instead of [code=cpp] cout << " Player " << check << " wins. " << endl;[/code]? In any case, try to debug this first by …

Member Avatar for xdream
0
171
Member Avatar for michaelmac
Member Avatar for kv79

From what I see, you are trying to create the pushbutton inside a menu. Is that what you are trying to do? If so, I don't think you can do that. In any case, there is nothing wrong with the pushbutton line.

Member Avatar for kv79
0
136
Member Avatar for zaks

If you have no previous knowledge of C++ the best thing will be to start by [URL="http://www.cprogramming.com/tutorial/lesson1.html"]learning C++[/URL]. The link has information about editors and compilers needed to write, compile and execute C++ programs. Do you at least know C?

Member Avatar for WolfPack
0
132
Member Avatar for TheBeast32

Well, you could do that programmatically, but you will need administrative priviledges for that. Wouldn't it be easier to let the user unblock the application by his own accord? After all it is his computer, and it only takes one click of a button.

Member Avatar for WolfPack
0
348
Member Avatar for ben8118

What seems to be the problem? And next time, do not attach the code as files. Usually it is an extra trouble for us to download it and open them seperately. We would prefer it included with the post so we can look at it directly. I have done it …

Member Avatar for ben8118
0
121
Member Avatar for mentallybroken

I have forgotten all my Java, so the code may give you compile errors and you will have to fix them on your own. However the algorithm will be the same Try a loop like this. [code=java] int x,y; \* Make these integers */ System.out.println("Enter a positive integer: "); x=Interger.parseInt(input.readLine()); …

Member Avatar for mentallybroken
0
112
Member Avatar for eranga262154

The timezone information resides in the registry location of [icode]HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones[/icode]. Use the [URL="http://msdn2.microsoft.com/en-us/library/ms724875%28VS.85%29.aspx"]API functions[/URL] for accessing the windows registry to read that information.

Member Avatar for WolfPack
0
111
Member Avatar for eranga262154
Member Avatar for meirab

Didn't you read the links properly? [quote] 6.1 Link From Within the Visual Studio IDE Starting with the header-only example project we created earlier: 1. Right-click example in the Solution Explorer pane and select Properties from the resulting pop-up menu 2. In Configuration Properties > Linker > Additional Library Directories, …

Member Avatar for meirab
0
203
Member Avatar for eranga262154

Use [URL="http://www.cppreference.com/stdstring/isspace.html"]isspace[/URL] for a check like this. [code=cpp] for(int i = 0; i < iLength; i++) { if(!isspace(strTemp.at(i))) { iSpace++; } } [/code]

Member Avatar for eranga262154
0
157
Member Avatar for eranga262154

Something like this will be easy. There are more compilicated methods if you want to break Japanese or Chinese words. Also you can use a callback function to count the words on the fly, but I think this is the most simple way. [code=cpp] #include <string> #include <sstream> // Get …

Member Avatar for WolfPack
0
893
Member Avatar for kv79

[QUOTE]How to use user32.dll in Dev-C++?[/QUOTE]You give the path of the dll to the library path of DevC++. [QUOTE]Where to find User32.lib ?[/QUOTE] I believe you will have to install the Microsoft Windows Platform SDK to have access those libraries.

Member Avatar for kv79
0
82
Member Avatar for satya.vijai

Use the [URL="http://msdn2.microsoft.com/en-us/library/aa364993.aspx"]GetVolumeInformation [/URL]Function. The Label can be obtained by the [icode]LPTSTR lpVolumeNameBuffer[/icode] parameter.

Member Avatar for ssharish2005
0
109
Member Avatar for jobs

Lookup the documentation of the read function. We can only guess that conf_fd may be a destination data buffer conf maybe the source data buffer 100 is the number of bytes of data that should be read from conf to conf_fd.

Member Avatar for WaltP
0
93
Member Avatar for snipercat

C++ does not give you a method out of the box for multithreading like Java does. To use multithreading, you will have to use the thread libraries offered by the operating system. For win32 you will have to use [icode]CreateThread[/icode] and in unix you will have to use [icode]pthread_create[/icode]. I …

Member Avatar for WolfPack
0
186
Member Avatar for mayank_ati

Is it true that England holds a cricket match when they are in a great need for rain?

Member Avatar for sneekula
0
149
Member Avatar for Dean_X

You have missed a opening bracket in line 102. [icode]else newBal = [COLOR="Red"]([/COLOR](balanceline - minimumPayment) * APR) + lateFee;[/icode]

Member Avatar for WaltP
0
176
Member Avatar for kararu
Member Avatar for boyz
Member Avatar for towhoe260

line 21 and line 22 are wrong. First implement the function getmeters. Indentation of the code is horrible. Write the getmeters function and repost code.

Member Avatar for WaltP
0
746
Member Avatar for Slavrix

Go through step 3 of this [URL="http://msdn2.microsoft.com/en-us/express/aa700755.aspx"]link[/URL].

Member Avatar for Slavrix
0
185
Member Avatar for The Dude
Member Avatar for grunge man
Member Avatar for shuncyk
0
151
Member Avatar for locy

Check line 7 [inlinecode]if h+= b % 10;[/inlinecode] Next time post the error messages. That would help us to help you.

Member Avatar for Aia
0
96
Member Avatar for raja.geek

The End.