Search Results

Showing results 1 to 40 of 134
Search took 0.03 seconds.
Search: Posts Made By: WolfPack ; Forum: C++ and child forums
Forum: C++ Sep 6th, 2008
Replies: 15
Views: 2,348
Posted By WolfPack
You have missed a semicolon at the end of this line.
double gettestscores

You can't get your program to run should mean compiler errors or link errors. Next time post the error or warning...
Forum: C++ Mar 24th, 2008
Replies: 2
Views: 749
Posted By WolfPack
Change
Deck *dk; = new Deck; in the main() function
To
Deck *dk = new Deck;
Forum: C++ Mar 21st, 2008
Replies: 30
Views: 1,538
Posted By WolfPack
Either you didn't know that you should use braces, or you forgot.


for (int i=0;i<rollsize;i++)
{
switch (rolls[i])
{ // Forgot this
case 3:allresults[0] = allresults [0]+1;...
Forum: C++ Mar 15th, 2008
Replies: 4
Views: 609
Posted By WolfPack
cout << n1 << " + " << n2 << " = " << n1+n2 <<endl;
Forum: C++ Feb 8th, 2008
Replies: 12
Views: 12,830
Posted By WolfPack
I don't see anything wrong with checkIfMagic. But what is this function void ManiMatrix() in the first warning? Also make sure that Mani is not a misspelling for Main.
Forum: C++ Jan 26th, 2008
Replies: 20
Views: 2,470
Posted By WolfPack
No he has not missed the point. You have. Arguments can be used to pass things both in and out. Passing by reference can be used to get things out. It is also memory efficient because another copy of...
Forum: C++ Jan 26th, 2008
Replies: 20
Views: 2,470
Posted By WolfPack
When you call the function calculation, you will have to pass the variable names that you want to get the output from.

int main(void)
{
int num;
int first, last, total;
while (num...
Forum: C++ Jan 26th, 2008
Replies: 20
Views: 2,470
Posted By WolfPack
What are the problems you are getting? Passing by reference can be used when you want to update the values in last and first. Is that what you want to do?
Forum: C++ Jan 26th, 2008
Replies: 20
Views: 2,470
Posted By WolfPack
You can do something like this.

int main()
{
int num;
cout << "Enter an integer (0 to stop): ";
cin >> num;

while (num != 0)
{
Forum: C++ Jan 24th, 2008
Replies: 2
Views: 530
Posted By WolfPack
9999999999 cannot be stored in a long typed variable. You will have to use a double typed variable. However if you use double, you will have to change the condition inside the while statement. I will...
Forum: C++ Jan 18th, 2008
Replies: 6
Views: 869
Posted By WolfPack
There is a spelling mistake with the function name.
showlist() and
showList()
Forum: C++ Jan 18th, 2008
Replies: 4
Views: 1,454
Posted By WolfPack
You should copy test to a folder in your PATH variable, or add the folder that contains test to the PATH variable.
Refer the Adding to PATH variable section in this link...
Forum: C++ Jan 18th, 2008
Replies: 6
Views: 869
Posted By WolfPack
What error does the compiler give? At first glance I can't see any problem with the code.
Forum: C++ Jan 16th, 2008
Replies: 11
Views: 2,061
Posted By WolfPack
Read the replies in this (http://www.daniweb.com/forums/thread104979.html) thread.
Forum: C++ Jan 16th, 2008
Replies: 11
Views: 2,061
Posted By WolfPack
In the vclskin2.zip file that can be downloaded from the above link, there is a folder called help file. And in that Help file there are instructions on how to install it in C++ Builder 6.
Forum: C++ Jan 16th, 2008
Replies: 11
Views: 2,061
Posted By WolfPack
Try this (http://www.link-rank.com/download.htm) download page. Figure out the rest yourself.
Forum: C++ Jan 16th, 2008
Replies: 11
Views: 2,061
Posted By WolfPack
If this is a C++ Builder 6 Enterprise library, look for it inside the Lib folder of the CB6 installation directory. Also read the documentation for this TSkindata thing.
Forum: C++ Jan 5th, 2008
Replies: 4
Views: 1,417
Posted By WolfPack
A trigger event is something that you can use to get a notification from the library when a particular even occurs. For example, you can get a notification when new data has arrived in the buffer by...
Forum: C++ Jan 5th, 2008
Replies: 4
Views: 1,417
Posted By WolfPack
Documentation is not written by the developers for fun you know. Unless you are using fairly well known, well established APIs like the Windows API, the chances that someone who has used the library...
Forum: C++ Dec 24th, 2007
Replies: 3
Views: 857
Posted By WolfPack
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...
Forum: C++ Dec 18th, 2007
Replies: 4
Views: 3,262
Posted By WolfPack
Didn't you read the links properly?
Forum: C++ Dec 16th, 2007
Replies: 6
Solved: Question?
Views: 987
Posted By WolfPack
You give the path of the dll to the library path of DevC++.


I believe you will have to install the Microsoft Windows Platform SDK to have access those libraries.
Forum: C++ Sep 4th, 2007
Replies: 7
Views: 1,505
Posted By WolfPack
You are using the Visual C++ IDE.
You have created a "Win32 Project".
You should be creating a "Win32 Console Application" project.
To solve this problem, create a new "Win32 Console Application"...
Forum: C++ Sep 3rd, 2007
Replies: 6
Views: 2,344
Posted By WolfPack
Tell me the actual version (Year and Month)of this MSDN Library that you have installed. Did you install it when the VC++ installation prompted you to provide the MSDN disks, or was the MSDN library...
Forum: C++ Jul 12th, 2007
Replies: 4
Views: 5,033
Posted By WolfPack
Do you have a GUI and a Menu? If so, then you should search on the subject of keyboard accelerators (http://msdn2.microsoft.com/en-us/library/ms645526.aspx)
This ...
Forum: C++ Jun 28th, 2007
Replies: 67
Views: 6,070
Posted By WolfPack
Read this (http://www.cs.bu.edu/teaching/cs111/spring-2000/file-io/)tutorial. Searching for C++ File IO in google will also give you more than enough results.
Forum: C++ Jun 20th, 2007
Replies: 13
Views: 6,454
Posted By WolfPack
Hello

No. Errors are not normal.

By telling the linker where your library files are. There is a option in your project settings to specify the directories to search for library files. Use...
Forum: C++ Jun 8th, 2007
Replies: 4
Views: 3,203
Posted By WolfPack
Because the Trace function is to be used as a general purpose function, the writer of the code doesnt know what type of arguments and how many arguments will be passed. In other words Trace is a...
Forum: C++ Jun 8th, 2007
Replies: 3
Views: 2,330
Posted By WolfPack
Doug,

I don't think it is a problem with the resource file. Show the code where you are displaying the menu.
Forum: C++ Jun 8th, 2007
Replies: 4
Views: 3,203
Posted By WolfPack
If the _DEBUG flag is not defined, the code inside the #ifdef #endif preprocessor directives will not be compiled and linked.

The code inside the directives makes the program slow and bulky. So...
Forum: C++ May 30th, 2007
Replies: 4
Solved: Windows api
Views: 1,223
Posted By WolfPack
For books I would recommend Charles Petzold's (http://www.charlespetzold.com/pw5/index.html) .
Forum: C++ Apr 6th, 2007
Replies: 3
Solved: iostream
Views: 2,018
Posted By WolfPack
Spelling mistake.
The correct one should be iostream
Forum: C++ Mar 27th, 2007
Replies: 5
Views: 4,707
Posted By WolfPack
First of all, remember to post the relevant error messages when you have a problem.

Compiling your program under VC 2003.Net gave me the following error messages.

perfect_nos.cpp(21) : error...
Forum: C++ Mar 21st, 2007
Replies: 23
Views: 4,796
Posted By WolfPack
Does the above function even compile? I see an undefined variable called value and a missing semicolon after value++.
Forum: C++ Mar 20th, 2007
Replies: 23
Views: 4,796
Posted By WolfPack
For someone with almost 400 posts, you should have known better to explain what is going wrong (like post error messages), rather than just ask for help. If you compiled this program, you would have...
Forum: C++ Dec 20th, 2006
Replies: 5
Solved: win32 memcheck?
Views: 2,649
Posted By WolfPack
Try the built in _CRTDebug (http://msdn2.microsoft.com/en-us/library/1666sb98%28VS.80%29.aspx)Libraries of Visual C++.
Forum: C++ Dec 6th, 2006
Replies: 7
Views: 2,973
Posted By WolfPack
Looks like there is a resource leak in your code. You are probably not releasing the Device Context by using ReleaseDC. If you are using fonts, maybe it is a font that you are not releasing. Post the...
Forum: C++ Nov 14th, 2006
Replies: 8
Views: 2,818
Posted By WolfPack
the heart of the function convert_to_int that converts the string to int is the strtol (http://www.cppreference.com/stdstring/strtol.html)function.
From the documentation you see that it gives you...
Forum: C++ Nov 13th, 2006
Replies: 8
Views: 2,818
Posted By WolfPack
#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
long convert_to_int(const char* input )
{
char* end = 0;
long choice;
choice = strtol( input, &end,...
Forum: C++ Nov 13th, 2006
Replies: 8
Views: 2,818
Posted By WolfPack
Showing results 1 to 40 of 134

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC