Forum: C Feb 17th, 2009 |
| Replies: 2 Views: 449 Post a screenshot of the control. |
Forum: C++ Sep 6th, 2008 |
| Replies: 15 Views: 2,466 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: 775 Change
Deck *dk; = new Deck; in the main() function
To
Deck *dk = new Deck; |
Forum: C++ Mar 21st, 2008 |
| Replies: 30 Views: 1,598 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: 618 cout << n1 << " + " << n2 << " = " << n1+n2 <<endl; |
Forum: C++ Feb 8th, 2008 |
| Replies: 12 Views: 13,535 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,515 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,515 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,515 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,515 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: 537 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 22nd, 2008 |
| Replies: 6 Views: 1,013 Those statements are used to print a newline after 10 numbers are printed in a row.
% is the modulus operator. a%10 is 0 for numbers like 10, 20, and so on. So after the 10th number, the rest of... |
Forum: C Jan 22nd, 2008 |
| Replies: 6 Views: 1,013 What part to you not understand? |
Forum: C Jan 21st, 2008 |
| Replies: 12 Views: 47,869 In case you didn't notice, the fellow wanted the code in C. |
Forum: C++ Jan 18th, 2008 |
| Replies: 6 Views: 881 There is a spelling mistake with the function name.
showlist() and
showList() |
Forum: C++ Jan 18th, 2008 |
| Replies: 4 Views: 1,480 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: 881 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,135 Read the replies in this (http://www.daniweb.com/forums/thread104979.html) thread. |
Forum: C++ Jan 16th, 2008 |
| Replies: 11 Views: 2,135 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,135 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,135 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 15th, 2008 |
| Replies: 2 Views: 3,805 C FAQ (http://c-faq.com/decl/strlitinit.html). |
Forum: DaniWeb Community Feedback Jan 6th, 2008 |
| Replies: 3 Views: 1,278 1. post more.
2. get reputation more.
3. live longer. |
Forum: C++ Jan 5th, 2008 |
| Replies: 4 Views: 1,465 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: 10 Views: 2,056 Here is the minimal code for a dialog box with a single push button. When experimenting it is always best to experiment with the least possible code.
#include <windows.h>
#define ID_1 4001
... |
Forum: C Jan 5th, 2008 |
| Replies: 10 Views: 2,056 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... |
Forum: C++ Jan 5th, 2008 |
| Replies: 4 Views: 1,465 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: 880 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,340 Didn't you read the links properly? |
Forum: C++ Dec 16th, 2007 |
| Replies: 6 Views: 995 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,557 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,381 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,195 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,154 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: Geeks' Lounge Jun 26th, 2007 |
| Replies: 600 Views: 46,688 That's wrong for two reasons
1. Humans are 100% animal, there's no "partly" about it.
[/quote]Either you are dyslexic or you ought to change your spectacles. Or I missed the joke.
... |
Forum: C++ Jun 20th, 2007 |
| Replies: 13 Views: 6,693 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,323 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,377 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,323 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 Views: 1,267 For books I would recommend Charles Petzold's (http://www.charlespetzold.com/pw5/index.html) . |