programming

  1. Rishab7

    Android Need Help with Preorder Traversal in C++

    Hello to everyone. I'm now working on understanding preorder traversal in binary trees using C++, and I've been using material from a blog article on the subject. I've been trying to implement the code provided on the page, but I'm encountering some issues, and I was hoping someone here could...
  2. Rishab7

    Windows 7 Reverse a linked list in Java

    Hi everyone, I am trying to reverse a linked list in Java. I have been following the tutorial on how to reverse a linked list, but I am having trouble understanding the recursive approach. Can anyone help me understand how to reverse a linked list using recursion in Java? Here is the code that...
  3. Rishab7

    Windows 7 Preorder Traversal of Binary Tree

    Hi everyone, I'm currently learning about binary tree traversals, and I'm having trouble understanding preorder traversal in binary tree. Can someone please explain it to me in a simple way? I understand that preorder traversal visits the root node first, followed by the left subtree, and then...
  4. Rishab7

    Windows 7 Issues with understanding the Longest Increasing Subsequence code

    Hello all, I am having issues understanding the code posted on this blog for the Longest Increasing Subsequence problem. I've been trying to implement the code, but I haven't been able to get the correct output. The code I've been trying to implement is as follows: def LIS(A): n = len(A)...
  5. G

    Pimnote is a new text editor handy for note taking

    Note taking with text editors is the best way I've ever used. The real note taking software keep files locally which is risky for data loss when the operating fails or when the notebook is stolen. Word processors are too clunky and risky of data loss when crashed. Mozilla Composer is the fast...
  6. M

    Windows 10 Is it important to you how much of your code makes it into production?

    Hi all! As an engineer, is it important to you how much of your code makes it into production? Do you frequently monitor the features and projects you deliver in production, even if it's not your direct responsibility?
  7. AlishS

    Windows 7 Permit HTML material to be published.

    Recently, I encountered an interview question. You have completed an ASP.NET application with .NET framework 3.5. You plan to submit text with HTML tags to a page in the application. You need to make sure that the HTML code will be submitted without causing any disruption to other programs...
  8. AlishS

    Windows 11 Is this code correct?

    I learn javascript from an online resource. I got to this example. Is there any possibility how to write this code "better"? Is it not antiquated? <!DOCTYPE html> <html> <body> <h1>JavaScript Arrays</h1> <p>The best way to loop through an array is using a standard for loop:</p> <p...
  9. M

    Java equals() selection

    In Java, if I try to do.equals() on a null string, a null pointer error is issued. I’m wondering whether I can perform the following if I’m attempting to compare if a string is equal to a constant string: MY CONSTANT STRING.equals(aStringVariable) I’m sure it’ll work, but is this simply...
  10. hundayyova

    Windows 11 How do you change the font color in Vim editor?

    You can change color schemes at anytime in vi by typing colorscheme followed by a space and the name of the color scheme. For more color schemes, you can browse this library on the vim website. You can enable or disable colors by simply typing “syntax on” or “syntax off” in vi.
  11. YTAIGamer

    VIDEO Suggestions on building a gaming AI?

    I'm an experienced programmer, but new to AI. I'm trying to learn ML techniques by building a bot to play a video game. I'm documenting my process as I go. The game I'm focusing on 1st is TFT (TeamFightTactics) which is in the AutoBattler genre - Essentially, you try to build the strongest...
  12. bochane

    Real Programmers don't use Pascal

    Looking through old papers I found a copy I made of an amusing contribution to Datamation July 1983 Readers' Forum: Real Programmers don't use Pascal Who knows nowadays of Fortran, Pascal or ADA? Who were able to dig into the machine code to gain some precious microseconds? We were, a long...
  13. E

    Windows 11 Windows Audio Capture Client GetBuffer()

    Can someone explain how to get data stored in a pointer and get an address that is stored in that pointer, then get the data from the address? I cannot figure out how to store the raw audio data into a file every time I run it the data accumulating in the file is low. The function in question is...
  14. J

    Windows 10 Editing an existing script or code because it does not work as intended...

    I posted this query in another Forum about 1 month ago but no replies yet so I hope that I can get some feedback here. 3RVX is a skinable volume indicator for Windows. It looks almost exactly the same is the volume indicator for Windows 8 and 10 but in a different region of the screen. I did...
  15. News

    Test IE mode in Microsoft Edge with Internet Explorer Driver

    In collaboration with our friends in the Selenium project, the Microsoft Edge team is excited to announce that you can now test Internet Explorer mode in Microsoft Edge with Internet Explorer Driver. With just a few changes to an existing test that runs against Internet Explorer, you can get...
  16. Xarzu

    Windows 10 How do I add an .EXE project to a solution of DLL's?

    How do I add an .EXE project to a solution of DLL's? This is using Microsoft Visual Studio Professional I have been handed a solution file which contains three projects. But all three projects generate DLL files. It is kind of unique because I have uncovered that they contain XAML files. So...
  17. adam2001

    Windows 7 How to Check C++ Version Using Command Prompt

    what is the cmd commande to check c++ version ?
  18. News

    VIDEO Announcing Rust for Windows v0.9

    Rust for Windows v0.9 has recently been released and includes full consumption support, along with several other updates! With completed consumption support, you can now call any Windows APIs (past, present, and future) using the Rust language projection. Rust developers have access to the...
  19. News

    C#/WinRT Authoring Preview and Updates

    The C#/WinRT team is excited to announce our latest release, which includes a preview of C#/WinRT authoring with the latest C#/WinRT NuGet package, as well as updates to the .NET 5.0 SDK with the .NET February update. Since our last blog post on C#/WinRT v1.0, we have some new features to show...
  20. News

    Participate in the Developer Economics Survey

    The /Data Developer Economics Q1 2021 Survey is now open! Every year more than 30,000 developers around the world participate in this survey. Take the survey now to share your experience as a developer and your perspective on the future of the software industry. Want more information? Read our...
Back
Top