About this tag
The code tag on WindowsForum.com covers a range of programming topics, including algorithm analysis, data structure manipulation, and API usage. Discussions include sorting algorithms like a variant of bubble sort, reversing linked lists in Java, and understanding dynamic programming solutions such as the Longest Increasing Subsequence problem. Members also seek help with Python string methods, Windows audio capture via IAudioCaptureClient::GetBuffer(), and editing existing scripts for volume indicators. Additionally, there are posts about posting code on the forum itself, where indentation and formatting issues arise. The tag reflects community troubleshooting and learning across multiple languages and platforms, with a focus on practical code examples and debugging.
  1. WindowsForum AI

    Visual Studio 2026 Insiders: AI-Driven IDE for .NET 10 and C# 14

    Visual Studio 2026’s first Insiders build lands as a clear statement: Microsoft intends to make AI the connective tissue of the IDE while simultaneously modernizing Visual Studio’s foundation for the.NET 10 era. At VSLive! San Diego Microsoft unveiled Visual Studio 2026 (internal version 18.0)...
  2. Alex Sokolek

    A question for the AI Bot

    Hi. I am having trouble posting code on your site. The indentation is lost. I tried tabs and spaces - both of the leading white space on each line gets deleted. Also, certain constructs, such as LeftSquareBracket i RightSquareBracket gets changed to white space. So, how do I post code ini the...
  3. Alex Sokolek

    What sort algorithm is this?

    Hi. Does anyone recognize this sort algorithm? BOOL swap; tagFileNode* TempNode; int i, j, diff = 0; for (j = _NodeCount / 2; j > 0; j /= 2) { swap = true; while (swap) { swap = false; for (i = 0; i + j < _NodeCount; ++i) { if (compare(_NodeList[i...
  4. 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...
  5. 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)...
  6. M

    Android Python string find() examples

    I'm looking for examples, but I'm not finding any. Are there any examples on the internet? I'd like to know what it returns when it can't find something, as well as how to specify the starting and ending points, which I assume will be 0, -1. >>> x = "Hello World" >>> x.find('World') 6 >>>...
  7. 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...
  8. 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...
  9. G

    Windows 10 windows update error code 0x800f0831

    How can I fix windows update error code 0x800f0831? I can not access the command prompt Admin, it is not highlighted
  10. B

    Windows 10 OneDrive Locked - Cant Be Unlocked

    I try to connect to my OneDrive and get a message that it's locked. Okay, so I follow the directions to unlock it. I get to the screen where it says to enter my cell phone number to get a code to unlock. I enter my cell number, press the 'Send Code' link - and nothing. It doesn't send a code. As...
  11. Jatin4494

    Windows 10 Ways to improve technical debt for windows app.

    I am building a Windows app that will allow the user to convert various images and scanned material into high definition printable formats allowing the user to print any content with ease. But my team recently started facing issues while rolling out v2 for our tool. We noticed a good amount to...
  12. E

    Windows 10 How to enumerate Storage Devices

    I am trying to build a list of storage devices for this particular section of code found on MSDN page: https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/upgrading-firmware-for-an-nvme-device typedef struct _DEVICE_LIST { HANDLE Handle...
  13. W

    Windows 10 Not Getting Code for Password Reset (RESOLVED)

    Hi, Ignore this.
  14. P

    Windows 7 Advantages of Win32 Programming: Key Benefits and Considerations

    What are the advantages of win32 programming?
  15. L

    Windows 10 Online word processor that looks like code

    Ok, strange question. Is there an online word processor that when i type, it looks like random code, but if i hit convert, it will display what i was actually typing? I know it sounds strange but might come in handy Sent from my SM-S920L using Tapatalk
  16. News

    MS17-013 - Critical: Security Update for Microsoft Graphics Component (4013075) - Version: 1.0

    Severity Rating: Critical Revision Note: V1.0 (March 14, 2017): Bulletin published. Summary: This security update resolves vulnerabilities in Microsoft Windows, Microsoft Office, Skype for Business, Silverlight and Microsoft Lync. The most serious of these vulnerabilities could allow remote code...
  17. R

    Windows 7 Need Help Creating an Excel Macro to Delete Empty Rows Based on First Column

    Hi, I am trying to extract information from one program, then import it into Excel. Well, the format it is extracted is not the format that is what I need. So, I have been manually deleting all the unneeded rows. My question is there a macro or C-Plus program that can delete these rows for me...
  18. M

    Windows could not search for new updates

    The update error code is 8024402F, Windows Server 2012 R2
  19. P

    Windows 10 Copy lines of text between two files, Using list / string matches.

    After searching everywhere I'm still unable to find a solution. I have two text documents, one is a list of names the other is coordinates. both documents start each line with an 8 digit code. I want to lookup 8 digit line code from File1 and copy the line contents to only code matches in File2...
  20. Neemobeer

    Windows 7 Powershell LAN/WLAN Switcher

    Many times people may have both their wireless NIC and wired NIC connected at the same time. This can create a bridge and cause your network performance to degrade. Here is a powershell script that could be setup as a scheduled task to run at start up. What it does it detect if the wired nic...