Search Results

Showing results 1 to 18 of 18
Search took 0.56 seconds.
Search: Posts Made By: ddanbe ; Forum: C++ and child forums
Forum: C++ May 29th, 2009
Replies: 2
Views: 676
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
strange... what if my name is U2 ?
Forum: C++ Dec 28th, 2008
Replies: 9
Views: 3,652
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
What is your favorite boolean? true, false, inbetween?
Forum: C++ Dec 14th, 2008
Replies: 42
Views: 2,039
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
I refuse to read your code any more until you put it in code tags
Forum: C++ Dec 7th, 2008
Replies: 2
Views: 246
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
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
Posted By ddanbe
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...
Showing results 1 to 18 of 18

 


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

©2003 - 2009 DaniWeb® LLC