Search results for query: *

  1. benjm-ma

    Do you use an IDE? What IDE do you use? If you don't what's your workflow like?

    This makes sense, I could see one spending less time writing boilerplate code and more time on what matters as a definite advantage. I learn a lot about the build process and such without using an IDE, however I do feel as I mature as a programmer using an IDE for this functionality will really...
  2. benjm-ma

    Do you use an IDE? What IDE do you use? If you don't what's your workflow like?

    Personally, I use a text editor and the command line. I'm proficient with vi and find it way too convenient as opposed to clicking around a UI. However, as of recently I have been using Sublime and really enjoy it. It has a "vintage mode" which allows you to navigate a file using vi controls. I...
  3. benjm-ma

    Question Terminal.Gui (Gui.cs) - previous window should disappear

    Well this was my impression as well. However the containers I am thinking behave modally, but have components and functionality you might find in a window. To be honest, perhaps the container I am thinking may not be something that is directly offered. Nonetheless I may just be able to get away...
  4. benjm-ma

    Answered Please critique my method

    Yea, like if you start to find it tedious calling these functions with the "prompt" parameter in your program. But I'm now realizing that my understanding what "prompt" meant in your code is not what you mean by it... So disregard my comment there.
  5. benjm-ma

    Question Terminal.Gui (Gui.cs) - previous window should disappear

    This is the closest I have gotten to what I want by clearing the screen and calling the application main loop on a new window instance. However It doesn't seem like I have control as to what colour I clear the terminal with. Here's the code: using System; using Terminal.Gui; using...
  6. benjm-ma

    Question Terminal.Gui (Gui.cs) - previous window should disappear

    Github : migueldeicaza/gui.cs Documentation : Namespace Terminal.Gui I was reaching out to anyone who might have used the library. Nonetheless, I can whip up an actual coded example as well if you're interested in looking into this so you can see exactly what I am attempting to do. I really...
  7. benjm-ma

    Question Terminal.Gui (Gui.cs) - previous window should disappear

    Hey guys, Want to know if anyone has worked with this curses like TUI library. What I am trying to do is super basic but I haven't figured out how it's done using this library: User is presented with a window with button elements. Once you click one of these buttons a new window should appear...
  8. benjm-ma

    Answered Please critique my method

    Whether or not this class should be static or not is more of a design question I would think. It depends on how you end up using the class. I think if you begin to tire passing the same prompt to these methods that might inspire you to approach it differently.
  9. benjm-ma

    Question Linux Debugger Recommendations : Is GDB Effective in Debugging C# Code? (Mono Platform)

    This really makes sense. I do wonder if they would have to put in more work to make an official extension that behaves like sdb rather than just create and maintain their own debugger as they did that seamlessly integrates itself into their toolchain. Nonetheless, I suppose If I am so adamant to...
  10. benjm-ma

    Question Linux Debugger Recommendations : Is GDB Effective in Debugging C# Code? (Mono Platform)

    Well on the mono develop site it there is documented support and configuration for gdb, however according to this stack answer gdb is "not very helpful for C# debugging unless you wish to debug parts of the mono runtime itself". Of the alternatives suggested, it seems that mdb is deprecated and...
  11. benjm-ma

    Question Linux Debugger Recommendations : Is GDB Effective in Debugging C# Code? (Mono Platform)

    I also write C programs and would like to know if I can also use GDB to the fullest of its capabilities when debugging C# programs. I know it's possible and needs to be configured, but wanted to know if some features are lacking when it comes to debugging C# code. Is it not worth using in favor...
  12. benjm-ma

    Resolved 'Use of possibly unassigned field' when passing struct to method.

    @Sheepings reading through the article you posted lead me to the solution you provided in your second post there. Now I understand why the two compiler errors were directly related to how the struct was being passed into the method. Thank you
  13. benjm-ma

    Resolved 'Use of possibly unassigned field' when passing struct to method.

    Thank you for the link @Sheepings ! I will give that a read over.
  14. benjm-ma

    Resolved 'Use of possibly unassigned field' when passing struct to method.

    Hey Guys, Here is the code I am trying to compile: using System; class Exercise { static void Main() { Point p; p.x = 40.0; p.y = 45.0; if (NormalizePoint(out p)) { Console.WriteLine ($"x normalized to {p.x}\ny normalized to {p.y}")...
Back
Top Bottom