Forum: C++ May 29th, 2009 |
| Replies: 2 Views: 676 I think you have a menu option wich is called Help
Select it and choose Search
In the wondow that opens type DrawLine.
You will find what you are looking for. (he! U2 did not!) |
Forum: C++ Mar 26th, 2009 |
| Replies: 14 Views: 1,058 Looks OK. The switch in the else needs + 1 from case 3 to case 12 Every month from march on needs one day more because of leapyear. Alternatively you could also use one switch and let your... |
Forum: C++ Dec 28th, 2008 |
| Replies: 13 Views: 1,175 strange... what if my name is U2 ? |
Forum: C++ Dec 28th, 2008 |
| Replies: 9 Views: 3,652 In Solution Explorer right click on the References map.
Choose Add Reference...
Add all the dll's of the world if you like, they will be linked with your .exe when appropriate. |
Forum: C++ Dec 28th, 2008 |
| Replies: 3 Views: 548 A parser is a computerprogram and does not have to be in C++.
It can be written in any convienient language.
From wiki :
A parser is one of the components in an interpreter or compiler, which... |
Forum: C++ Dec 22nd, 2008 |
| Replies: 15 Views: 1,090 What is your favorite boolean? true, false, inbetween? |
Forum: C++ Dec 14th, 2008 |
| Replies: 42 Views: 2,039 case 1:
Num_Students = i;
for (int ii =0; ii < Num_Students; i++)
scores[ii] = grades[ii].ID
... |
Forum: C++ Dec 14th, 2008 |
| Replies: 7 Views: 1,191 Don't get frustrated, besides what you have written in the first place wasn't that bad!(You could have used code tags to make it more readable) |
Forum: C++ Dec 12th, 2008 |
| Replies: 42 Views: 2,039 I refuse to read your code any more until you put it in code tags |
Forum: C++ Dec 7th, 2008 |
| Replies: 2 Views: 246 This looks like an assignment to test if you paid enough attention in class.
For the rest: I couldn't agree more with the advice of Ancient Dragon! |
Forum: C++ Dec 3rd, 2008 |
| Replies: 7 Views: 867 You might observe that each row in the triangle is equal to 2 raised to n. Where n starts at zero.
Your example : 2^0+2^1+2^2+2^3=15
I wonder why those binaries always pop up when we talk computer... |
Forum: C++ Nov 12th, 2008 |
| Replies: 9 Views: 1,847 Hey Skatamatic, Right now I'm into C# for that matter and I have been in BASIC, Pascal,Modula-2,C,C++. So the language is not that much of an issue.
Look at this compilercode from a master :... |
Forum: C++ Nov 9th, 2008 |
| Replies: 10 Views: 718 a |= b; is the same as a = a | b; It is a sort of shorthand notation. Just as a += b; is the same as a = a + b; It is probably invented to make life of newbies a little harder... |
Forum: C++ Nov 9th, 2008 |
| Replies: 4 Views: 1,533 You said it yourself! So why bother and make your life difficult. When you come back later to your code it will be more easy to understand then if you used pointer arithmetic. If you have a good C++... |
Forum: C++ Nov 7th, 2008 |
| Replies: 14 Views: 1,652 Does this mean you have become blind?
If not, consult at least an ophthalmologist. Maybe he/she can help you(with a pair of glasses) so you can read your error messages again. |
Forum: C++ Oct 29th, 2008 |
| Replies: 20 Views: 1,072 This is how I would do (and did) it in C#
int x;
for (x = 0; x <= 8; x+=3)
{
Console.WriteLine("{0}\t{1}\t{2}\n", x, x+1, x+2);
... |
Forum: C++ Oct 26th, 2008 |
| Replies: 3 Views: 340 I was in a state of laziness myself!
Had a good read on laziness, thank you. |
Forum: C++ Oct 25th, 2008 |
| Replies: 5 Views: 1,063 Take a pencil and a piece of paper and DRAW, DRAW, DRAW!
By the way, this is an initial phase in any serious programming endeavor : put something on paper first.
Don't start to run before you can... |