4,439 Posted Topics

Member Avatar for Thundermax

Don't know if a graphical UI for C exists. But what I do know is that transforming a console app to a graphical app requires a great deal of code rewriting. Hope this helps a bit.

Member Avatar for Hiroshe
0
228
Member Avatar for reuben_1

Seems you have a slight preference for C++, and you definitely don't want to do anything in Python. Why don't you just give it a try and see if C++ is your thing. It's like ice cream with a new flavor. You have to try it to know if you …

Member Avatar for deceptikon
0
293
Member Avatar for Gus_19
Member Avatar for Gus_19
0
140
Member Avatar for iConqueror

The field is private so you don't possibly mess it up. You access it through get and set. In the property syntax you can validate the value you want to set for example. Read [this article](http://msdn.microsoft.com/en-us/library/w86s7x04.aspx) for more info.

Member Avatar for deceptikon
0
169
Member Avatar for Fazelessmetal

Google "C++ text files" [example](http://www.cplusplus.com/doc/tutorial/files/)

Member Avatar for ddanbe
0
177
Member Avatar for Fazelessmetal

I'll repeat the question of decepticon: "What does string compare return?" Look it up in whatever you use for reference manual.

Member Avatar for deceptikon
0
171
Member Avatar for Jack_9
Member Avatar for tamdha

We don't do homework. Show some effort and post us what you got. Maybe we'll help.

Member Avatar for iConqueror
-1
125
Member Avatar for Samarth_1

It CAN be done. BUT, you must be willing to learn a totally new way of programming. Learn WPF and XAML(Speak out 'zammel') I tried to use WPF in C#, I gave up after a few months. So I stay with Jim in this: Can't be done. If you want …

Member Avatar for deceptikon
0
361
Member Avatar for Saboor880
Member Avatar for kdejan87

In the Load event of the first form opening, write some code to show the second form.

Member Avatar for ddanbe
0
125
Member Avatar for spyros.lois

Maybe you could find an answer [here](http://stackoverflow.com/questions/1259369/embed-powerpoint-viewer-in-c-sharp-win-form)

Member Avatar for du_1
0
175
Member Avatar for Jjajangmyeon

Why not just use `cin >> choice`? And while you 're at it, put lines 4 to 8 in a function and reuse it in your while statement.

Member Avatar for Jjajangmyeon
0
116
Member Avatar for yeshamarques

LOL :) > I was about 13 when I created DaniWeb.com as a personal homepage about my dogs. Should we bark from time to time? Great story!

Member Avatar for diafol
0
513
Member Avatar for KDBeckley
Member Avatar for blackmiau

I worked years with an Apple II. It was coupled to an atomic absorption spectrophotometer and processed and printed out my measured data.

Member Avatar for almostbob
4
1K
Member Avatar for Shakeylfc

Think you can remove line 45, it is already declared on line 41 You define an ArrayList on line 39 This ArrayList will happily vanish into oblivion once your PaeseCode method ends. I don't think it is meant to be so. On line 53 start is a position in a …

Member Avatar for arronlee
0
317
Member Avatar for ckide

DaniWeb of course! http://apod.nasa.gov/apod/astropix.html http://www.demorgen.be/dm/nl/983/Nieuws/index.dhtml http://www.buienradar.nl/weer/mechelen/be/2791537#nu http://www.websudoku.com/?level=2 in no particular order.

Member Avatar for expertmagician
0
455
Member Avatar for supermastereu
Member Avatar for supermastereu

Yes. Suggestion: give your variables a mainingful name. Instead of **At** use something like **surface**

Member Avatar for rana ranjit
0
323
Member Avatar for eatyourgreens

With some string manipulation this must also be possible, if you always have the same format in your html. Have a look at the String class in MSDN. Split and Substring methods are the first that come in my mind. Success!

Member Avatar for Hiroshe
0
645
Member Avatar for Asskilled21
Member Avatar for Asskilled21
0
465
Member Avatar for Praveen_10
Member Avatar for lehmber
Member Avatar for Sifiso21031085
Member Avatar for Pyler

I'm not particularly fond (he he) of the purple orange colors around here. But I can live with it. This is Dani's house, not mine. Also let me remind you of a Latin proverb: "De gustibus et coloribus, non disputandum est."

Member Avatar for ddanbe
0
281
Member Avatar for [NOPE]FOREVER

Nope. The best thing you could do with it is forget it. Concentrate on modern, still evolving languages like C#, C++? Java, Python etc.

Member Avatar for Hiroshe
0
215
Member Avatar for Reverend Jim
Member Avatar for BogdanCov

You could use the Tag property of a Button, to store the i,j info. Recall it in your ClickButton handler.

Member Avatar for BogdanCov
1
221
Member Avatar for Jing_1

Did you ever consider a [TimeSpan structure](http://msdn.microsoft.com/en-us/library/system.timespan.aspx)?

Member Avatar for Jing_1
0
222
Member Avatar for Jing_1
Member Avatar for frankie198

Hi frankie198, welcome to DaniWeb! There are no silly questions. Only dumb answers; like mine perhaps. :) As I'm a learner of Python myself, the Python interprter can infer what type is at hand and acts acordingly. So if you print an integer type it will be auto converted to …

Member Avatar for David W
0
451
Member Avatar for Avishek_1

if i = 2, put an extra break after the ; on line 4 of your code. You will notice there is nothing wrong with the C++ compiler. Happy computing.

Member Avatar for jwenting
0
327
Member Avatar for pheonixkid
Member Avatar for mHealth
Member Avatar for jwenting
-5
235
Member Avatar for ddanbe

This is my first try with turtle graphics in Python. It is in fact a sort of "translation" from some old LOGO code. When you run it, this should be the result: ![dbf0a4f76975c5cc4dee5df30139f144](/attachments/small/1/dbf0a4f76975c5cc4dee5df30139f144.png "align-left") Insiders can perhaps play the "Dark side of the moon" record by Pink Floyd :) Any …

Member Avatar for ddanbe
3
2K
Member Avatar for ddanbe

Not that important, but just a question that pops up. Does the code we post here has any legal ownership? Does it still belong to the OP or is it DaniWeb's or has it become open source?

Member Avatar for Dani
0
202
Member Avatar for Jing_1

Look on MSDN for TimeSpan or start with [these examples](http://www.dotnetperls.com/timespan-vbnet)

Member Avatar for Jing_1
0
316
Member Avatar for Saranika
Member Avatar for sunnyrock24

I made [this project](http://www.daniweb.com/software-development/csharp/code/238279/bouncing-ball) to train my ability to pass values from one form to another.

Member Avatar for nelsonfaboan.rios
0
200
Member Avatar for oren.turgeman.9

Read file line by line. Split line. Take Nth item and replace bad chars. Reconstruct line and write to new file. Optionally remove old file.

Member Avatar for tinstaafl
0
583
Member Avatar for Samarth_1
Member Avatar for new2code

Hi new2code welcome here at DaniWeb. Many issues here. Is this a C or C++ program, as it is it is C. Start by writing line 42 and 43 on one line and change the 4 into a 3. Like this: `for (i = 0; i < 3; ++i){` BTW, …

Member Avatar for new2code
0
157
Member Avatar for husres

Assume you start coding. Assume you encounter a problem with your code. Assume you post your code here, explaining your problem. You can very well assume we will try to help you out.

Member Avatar for samwel mramba
0
221
Member Avatar for mustafa.bahaa
Member Avatar for zabayin

Believe it or not there is also a [DataGridView.AlternatingRowsDefaultCellStyle Property](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.alternatingrowsdefaultcellstyle(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1)

Member Avatar for zabayin
0
410
Member Avatar for antonyalston

You could check the DB connectivity in the Load event of the form and show a message with MessageBox. Continue with the login if there is connection.

Member Avatar for ddanbe
0
239
Member Avatar for Bishal_1

Probably, you need to use two numeric updown controls (look in the toolbox) You can set their Minimum and Maximum properties in function of hours and minutes. Look [here](https://www.youtube.com/watch?v=hrWbqJKRMS4) for a tutorial.

Member Avatar for kamilacbe
0
390
Member Avatar for CasianSushin

You don't have to use textboxes to fill a datagrid. The default colomns in a datagrid are textboxes.

Member Avatar for swadeep.kujur
0
187
Member Avatar for jdc5419

These are bitpatterns eg ENQ = 00000101 while the number 5 = 00110101 of course.

Member Avatar for ddanbe
0
72

The End.