4,439 Posted Topics

Member Avatar for ddanbe

Hi, You can simulate this by starting a new WinForm app. Add a datagridview and add some columns. Add a contextmenustrip, add a menuitem, doubleclick it to get a clickhandler. Attach the menustrip to the datagridview in the properties window of the DGV. Then refer to this code and the …

Member Avatar for ddanbe
2
3K
Member Avatar for BERIHUN

Why would I do that? Why don't YOU give it a try. Any problems? Ask a question and we will do our best to help you out.

Member Avatar for Alberto Bucur
0
207
Member Avatar for james.lu.75491856

I wanted to say "daniweb" but because from times to times I'm a little shy, I stumbled over my words and it became "ddanbe"

Member Avatar for ddanbe
2
171
Member Avatar for moodyR

Search [DaniWeb](http://www.daniweb.com/search/query/0?q=leap+year+c%2B%2B#gsc.tab=0&gsc.q=leap%20year%20c%2B%2B&gsc.page=1)!

Member Avatar for ddanbe
0
227
Member Avatar for Awais ramzan
Member Avatar for Akash_Soni
0
221
Member Avatar for nahashon

Why do you ever want to do that? Because it is your homework assignment?

Member Avatar for David W
0
177
Member Avatar for Momerath

Wow! You must have spent some time to work this all out! This is great, great stuff! I'm working( well not all day ;) ) on a sort of matrix calculator, you surely gave me some ideas to rework my code. Rep X 10, but alas I can't:'(

Member Avatar for fran2884
7
6K
Member Avatar for jeffersonalomia
Member Avatar for ddanbe
0
62
Member Avatar for diafol

After my midlife, I still do the things you like to do. Except for the tattoo. The last 20 years I have seen and will be seeing a lot of needles. Never mind, you get used to it. What I still like to do(don't know if I will succeed...) is …

Member Avatar for ChrisHunter
5
1K
Member Avatar for celineshh
Member Avatar for arunkumars
0
1K
Member Avatar for Tamara_1

Just a small remark: use meaningful names for your variables. Do not use things like "one" and "two". And yes, I know. It is sometimes hard to find a good meaningful name, but believe me in larger programs it pays off. :)

Member Avatar for ddanbe
1
540
Member Avatar for deceptikon

Awesome indeed! I guess strings like "1 jan 14" or "01 1 2014" are allowed also? I'm going to try to put my teeth in it. Just had a completely new set installed BTW. Which is ahem also rather awesome ... :)

Member Avatar for ddanbe
1
581
Member Avatar for blackmiau

I like to take photos of flowers and animals in nature. (If I find the time...) This is a photo I took in my little back yard. It is as if this great tit is trying to say:"This is MY nut, you won't take it away!" ![532f694a9149deb7b2220c22e142d683](/attachments/large/1/532f694a9149deb7b2220c22e142d683.png "532f694a9149deb7b2220c22e142d683")

Member Avatar for blackmiau
2
692
Member Avatar for Mya:)

Implement an elevator simulation. Floors, number of elevators etc. I can garantee you will be busy for a while.

Member Avatar for Mya:)
0
358
Member Avatar for iAssistant

[Click Here](http://www.buienradar.nl/weersverwachting/v2/belgie/mechelen?n=Mechelen&c=België&view=Hour&lat=4.48&lon=51.03&p=1)

Member Avatar for Stuugie
0
4K
Member Avatar for NewbInProg

Hi, NewbinProg, welcome at Daniweb. As for your problem, I guess you should have some knowledge of [ADO.NET](http://msdn.microsoft.com/en-us/library/e80y5yhx(v=vs.110).aspx) and the [DataGridView class](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview(v=vs.110).aspx)

Member Avatar for ShadyG
0
264
Member Avatar for rahulzephyr

Have a look at the [DoubleBuffered](http://msdn.microsoft.com/en-us/library/system.windows.forms.control.doublebuffered(v=vs.110).aspx) property of the Form.

Member Avatar for rahulzephyr
0
296
Member Avatar for oanahmed

@Olyboy16 I have read [thisone](http://www.heatonresearch.com/book/programming-neural-networks-cs-2.html) Guess if you look hard enough on the web you can even download it legaly for free.

Member Avatar for oanahmed
-1
423
Member Avatar for costigan555

Just a few points: °°° This C++ used like C, rethink your design. °°° Sort your arrays of polynomials by power before doing addition. °°° Think about how you are going to add X^2 and X^3 + 7X^2 - 1.

Member Avatar for iamthwee
0
373
Member Avatar for M_I_K_E_911

Put your xyz items, together with a price in a listbox. Create a second listbox with the choices, your puchases. [Here](http://www.dotnetperls.com/listbox) is a short tutorial about listboxes.

Member Avatar for M_I_K_E_911
0
233
Member Avatar for facadie

TextBox has a MaxLength property. Set it to 7 if you do not want users to type more than 7 chars.

Member Avatar for vadde
0
4K
Member Avatar for nyfan68
Member Avatar for rizwan anjum

Remember that Google can be a very good friend. [Example](http://msdn.microsoft.com/en-us/library/ms173152.aspx), among a plethora of others.

Member Avatar for Loosipher
0
169
Member Avatar for KushMishra

John Lennon once sang in a famous song: *"Imagine there's no heaven"* Does this means he assumed there WAS a heaven?

Member Avatar for ddanbe
1
737
Member Avatar for meides
Member Avatar for uday.raj.73345

Could be a abbreviation for microphone or microgram. Could you please be more specificic with your question?

Member Avatar for Schol-R-LEA
0
99
Member Avatar for Traffkk
Member Avatar for Ancient Dragon
-2
160
Member Avatar for kothaisaravan

Of course it is possible. Write a parser for your rules. What have you got so far?

Member Avatar for ddanbe
0
425
Member Avatar for M_I_K_E_911

[N.Wirth](http://en.wikipedia.org/wiki/Niklaus_Wirth) developed the language Pascal in the seventies (previous century) for learning how to program.You should have a look at it, but then move on to a C-style language as AD says. My personal favorite is C#, but as a beginner, start of with C. Two other languages worth considering …

Member Avatar for M_I_K_E_911
1
353
Member Avatar for sknake

Very instructive for a C# learner like me. I have already seen it pays off! You reffered to this snippet in another thread. Keep up the good spirit!

Member Avatar for pritaeas
10
8K
Member Avatar for khal3d

Try to read [the rules](http://www.daniweb.com/community/rules) before posting.

Member Avatar for Mr.M
-1
112
Member Avatar for nitish.mohiputlall
Member Avatar for Ancient Dragon
0
291
Member Avatar for danyalempire

You got to have a translator that knows the gramar of both languages(e.g. Arab and English) That is very, very hard to do.

Member Avatar for ddanbe
0
360
Member Avatar for shehata07
Member Avatar for jessica_6

Hi jessica 6 welcome at DaniWeb. This is not the way we work here. YOU write a program, YOU encounter problems. WE try to solve these problems.

Member Avatar for Bandarigoda123
0
124
Member Avatar for nikiki

> how do i rank up on this site? Just upvoted your previous post if that makes you more happy. I'm here to learn, ask questions and help other members if I can. After some time, your ranking will go up or down, wether you like it or not. Click …

Member Avatar for ddanbe
0
291
Member Avatar for BogdanCov

Use the Opacity property to make eg. a button transparant. Read this [MSDN article.](http://msdn.microsoft.com/en-us/library/system.windows.uielement.opacity.aspx)

Member Avatar for ddanbe
0
221
Member Avatar for GingerDontCare

`List<int> scoresList = new List<int>();` You did that already on line 17, which is good. Replace line 43 with: `scoresList.Add(scoreInt);`

Member Avatar for ddanbe
0
380
Member Avatar for ddanbe

Don’t know if this is ever been done before, or even if it is a good way to do it. I’ll just await your comments if any. What I mostly found on the web is that if you want to define a polynomial you need to have an array containing …

0
448
Member Avatar for rexasabor
Member Avatar for ddanbe

I'm not. My idea is: if you want to stop a tsunami(a disease) you have to build a strong, huge concrete wall(a medication), a pebble(a dilution of a dilution?) will have little effect.

Member Avatar for jwenting
0
734
Member Avatar for itslucky
Member Avatar for riahc3

Did you check the format of your string? Format for DateTime strings can be found [here](http://www.csharp-examples.net/string-format-datetime/).

Member Avatar for riahc3
0
1K
Member Avatar for Andy76
Member Avatar for mxood

My idea:If you want to be productive I would go for C#.But in the end to be a good c# programmer you also have to know what a pointer is or to grasp the concept of boxing and unboxing. C++(I love C++ too) lets you come in contact with those …

Member Avatar for rubberman
0
245
Member Avatar for vishalonne

> My question is if my friend's logic is correct then why random() is not returning 2? Did you read the info in your screenshot? It states that random(num) will return a number from 0 to num-1 So if num=2(your code) random will return 0 or 1. If num=3 random …

Member Avatar for vishalonne
0
272
Member Avatar for mamahadija
Member Avatar for lithium112

`not all code paths return a value` mean your string function does not yet return a string with the [return statement](http://msdn.microsoft.com/en-us/library/1h3swy84.aspx) On line 7 `x` appears to be a string but is not yet defined as such.

Member Avatar for lithium112
0
247
Member Avatar for RohanSpi

Wildcard looks practically the same as regex. Or did you have a specific flavor of regex in mind?

Member Avatar for RohanSpi
0
183
Member Avatar for castajiz_2

I know that [Ada](http://en.wikipedia.org/wiki/Ada_(programming_language)) was used, but have no idea what they use now.

Member Avatar for rubberman
0
911

The End.