Forum: C++ Jun 11th, 2009 |
| Replies: 8 Views: 269 Here's a hint.
if(Orig[i] > Sub[j-1])
Then insert Orig[i] into Sub[j] |
Forum: C++ Apr 28th, 2009 |
| Replies: 4 Views: 337 |
Forum: C++ Apr 19th, 2009 |
| Replies: 5 Views: 263 I think you need another ending bracket for the for loop. |
Forum: C++ Apr 15th, 2009 |
| Replies: 10 Views: 542 Remove the semi colon from
#include <iostream>; |
Forum: C++ Feb 2nd, 2009 |
| Replies: 14 Views: 619 I thought of something last night. When clicking the .cpp file make sure you do that inside the IDE. I wasn't clear about that on my first post. |
Forum: C++ Feb 1st, 2009 |
| Replies: 14 Views: 619 Oh thats weird. I did it in 2005 edition just how Comatose explained.
Also if I remember right this problem can be solved by building your application as a Microsoft app instead of an empty clr... |
Forum: C++ Feb 1st, 2009 |
| Replies: 14 Views: 619 You can do it in express. Right click your .cpp file and then properties. Works for me at least. |
Forum: C++ Jan 30th, 2009 |
| Replies: 11 Views: 478 Oh I see what's going on. Just study the loop like StuXYZ is saying. And I wrote bad code earlier. Here it is corrected.
if (a % b == 0)
{
cout << b << " is a factor of " << a << endl;
... |
Forum: C++ Jan 30th, 2009 |
| Replies: 11 Views: 478 Sorry code tag didn't work. |
Forum: C++ Jan 30th, 2009 |
| Replies: 11 Views: 478 I think this is what you want. Add a temp and use it to add together your factors.
#include <iostream>
using namespace std;
main()
{
int a; |
Forum: C++ Jan 19th, 2009 |
| Replies: 4 Views: 1,963 Or *mumble mumble*
if(result > 99999)
{
exit(1);
} |
Forum: C++ Jan 9th, 2009 |
| Replies: 4 Views: 475 Okay I'm out of my league hear, but this sounds similar to your problem.
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/603b02f1-754d-4298-b7fa-fe4203c0ab81/ |
Forum: C++ Jan 8th, 2009 |
| Replies: 2 Views: 2,054 did you include the image in the solution explorer? |
Forum: C++ Jan 8th, 2009 |
| Replies: 9 Views: 514 I got it to open with 7-zip |
Forum: C++ Jan 7th, 2009 |
| Replies: 4 Views: 475 Well if I remember correctly the Console.Beep is part of the system namespace. So you might want to research the system namespace, which could be causing the BEEP that you are hearing. |
Forum: C++ Jan 7th, 2009 |
| Replies: 9 Views: 763 I'm not sure if this will work, but try
while(keywords>>keyword != NULL) |