Forum: C++ Jul 3rd, 2008 |
| Replies: 4 Views: 550 Isn't your question vague? Avoid forcing people who want to help you to assume anything. |
Forum: C++ Jul 3rd, 2008 |
| Replies: 6 Views: 1,527 Post it in this (http://www.daniweb.com/forums/forum133.html) forum if you're in search of project partners. |
Forum: C++ Jun 27th, 2008 |
| Replies: 5 Views: 1,102 Okay. Post the entire code if possible. The root cause of the problem may lie somewhere else rather than in the code you've given. |
Forum: C++ Jun 26th, 2008 |
| Replies: 5 Views: 1,102 Are you sure you've declared those variables as public? |
Forum: C++ Jun 25th, 2008 |
| Replies: 5 Views: 1,500 This (http://www.ucancode.net/Visual-C-Printing-PrintDlg.htm) may be relevant. |
Forum: C++ Jun 25th, 2008 |
| Replies: 7 Views: 1,079 Sorry, but I'm not able to understand the format of the output you want from the program. I'll be able to help if you describe in a bit detail. |
Forum: C++ Jun 25th, 2008 |
| Replies: 5 Views: 1,443 |
Forum: C++ Jun 25th, 2008 |
| Replies: 7 Views: 1,079 Do you mean a bar chart? Then scale those values by a suitable factor and then display the results. For e.g. for Celsius to Fahrenheit, take 0 to 100 on X-axis, and 32 to 212 on Y-axis. Scale the... |
Forum: C++ Jun 25th, 2008 |
| Replies: 4 Views: 584 Just create your normal application and add it to the scheduled tasks. You don't need to worry much about (regarding the code) the scheduling part. |
Forum: C++ Jun 25th, 2008 |
| Replies: 7 Views: 1,079 Inside the if blocks that you've commented, wait for a character to be pressed by the user. That would print all the results on the console, and at the same time, the user will be able to view them... |
Forum: C++ Jun 25th, 2008 |
| Replies: 3 Views: 1,530 Instead of keeping two buttons for this task, why not use two radio buttons? This would be more appropriate as you want only one of the panels to be visible at a time. |
Forum: C++ Jun 25th, 2008 |
| Replies: 5 Views: 1,443 Yes.
Yes.
Couldn't understand this question. |
Forum: C++ Jun 24th, 2008 |
| Replies: 3 Views: 308 No problems regarding the compiler, then. I'm unaware about the details of this problem. Yeah, it is a memory problem; atleast. But I'd still suggest that you learn dynamic memory allocation...... |
Forum: C++ Jun 24th, 2008 |
| Replies: 8 Views: 613 Do that if it doesn't hamper the various functions the header file is meant to serve. I'm not sure how it may affect the operation. |
Forum: C++ Jun 24th, 2008 |
| Replies: 3 Views: 308 What compiler are you using? If you're using one of those old compilers, make the memory model large.
Dynamic memory allocation would be a better solution. |
Forum: C++ Jun 24th, 2008 |
| Replies: 5 Views: 1,443 You need to start with C++. Be specfic with your questions. MMORPG is too vague. |
Forum: C++ Jun 24th, 2008 |
| Replies: 3 Views: 1,037 Does this appear to be a homework help site? Show your efforts and specify your problems in order to get effective help. |
Forum: C++ Jun 24th, 2008 |
| Replies: 1 Views: 389 The point is, that they are meant to teach C++ using example codes.
You'll come to realize that as you go on pursuing C++. As of now, as a newbie, take my word that you'll be able to program... |
Forum: C++ Jun 24th, 2008 |
| Replies: 8 Views: 613 Check (on the site from where you downloaded this file) whether this header is VC++ 6.0 compatible. |
Forum: C++ Jun 24th, 2008 |
| Replies: 8 Views: 613 Does the header file itself compile? |
Forum: C++ Jun 24th, 2008 |
| Replies: 1 Views: 318 The simplest method is to use brute force. Develop your first program using that, then look out for further optimizations. |
Forum: C++ Jun 24th, 2008 |
| Replies: 3 Views: 812 Here's (http://www.math.grin.edu/~stone/courses/fundamentals/IEEE-reals.html) another article that might be of help. |
Forum: C++ Jun 24th, 2008 |
| Replies: 3 Views: 897 Which header file library are you using? |
Forum: C++ Jun 24th, 2008 |
| Replies: 8 Views: 613 If you've got the header file from a genuine source, the only possible problem is that you might not have placed the header file in the appropriate path; i.e. e:\program files\microsoft visual... |
Forum: C++ Jun 24th, 2008 |
| Replies: 7 Views: 1,253 Use these statements inside the area function.
area = sqrt( s * (s-s1) * (s-s2) * (s-s3) );
return area; |
Forum: C++ Jun 23rd, 2008 |
| Replies: 7 Views: 1,253 Instead of
use
area = sqrt( s * (s-s1) * (s-s2) * (s-s3) );
That would give you the correct value of the areas. Try building the same with functions if you want to do so. Post any... |
Forum: C++ Jun 23rd, 2008 |
| Replies: 3 Views: 1,436 Refer this (http://www.google.co.in/search?q=Traveling+Salesman+Problem&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a). This is a standard problem for AI and such fields but... |
Forum: C++ Jun 22nd, 2008 |
| Replies: 3 Views: 571 AD already answered that: |
Forum: C++ Jun 22nd, 2008 |
| Replies: 3 Views: 1,436 Google for the "Traveling Salesman Problem". You might come across some help. |
Forum: C++ Jun 22nd, 2008 |
| Replies: 10 Views: 828 Insert the switch(userChoice) into a do-while loop and specify a break condition for the same. You'll have to increment the wins, loses and ties in the different cases of switch(computerChoice). Hope... |
Forum: C++ Jun 22nd, 2008 |
| Replies: 7 Views: 1,253 Not
But
infile>>s1>>s2>>s3;
After that, check your program for bugs and return if you need any help. And yes, use code tags for posting your code from now onwards. |
Forum: C++ Jun 22nd, 2008 |
| Replies: 8 Views: 836 vijayan121 has just provided the functions, you'll have to adapt them according to your main code and use them. His functions will compile, but how do you expect them to run?! |
Forum: C++ Jun 22nd, 2008 |
| Replies: 2 Views: 684 Use code tags :D
Why have you commented intialization statements? |
Forum: C++ Jun 21st, 2008 |
| Replies: 4 Views: 4,188 Oh! It's not biades towards anyone ;). There must be some other problem. Refer 12.30 of http://measure.feld.cvut.cz/usr/staff/smid/faq/C_lang.html
Hope this helps. |
Forum: C++ Jan 20th, 2008 |
| Replies: 14 Views: 2,603 CODE 1:
... and many others...
(!!!)
I bet you're kidding. |
Forum: C++ Jan 18th, 2008 |
| Replies: 14 Views: 2,492 Perhaps, you should familiarize your self with DaniWeb rules and FAQs. You've just hacked a thread with an entirely different problem. You should start a new thread instead. Also, the last post was... |
Forum: C++ Jan 10th, 2008 |
| Replies: 16 Views: 2,164 He talked to me about it. He has decided to write a program for 'Go'. |
Forum: C++ Jan 9th, 2008 |
| Replies: 16 Views: 2,164 Then mark it as solved. Use the link that appears at the end of the last post in this thread. |
Forum: C++ Jan 2nd, 2008 |
| Replies: 10 Views: 3,539 Okay. Did you try doinf things suggested by invisal? If so, where are you going off-track?
One more point. Is the maze created at run time? |
Forum: C++ Jan 1st, 2008 |
| Replies: 12 Views: 1,444 I understand your goodwill, but it would appear to anyone who does not know you that you were doing his homework. Please reconsider your actions in future :). |