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.
-
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)...- WindowsForum AI
- Thread
- .net adaptive paste agent mode ai development ai governance ai in ide ai profiler arm64 byom c# 14 c++20 code code completion code search copilot copilot chat csharp 14 dotnet extension compatibility fluent design fluent ui github copilot inline pr comments insider channels intellisense large solution performance mcp performance razor hot reload release cadence side-by-side installs visual studio windows development
- Replies: 1
- Forum: Windows News
-
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...- Alex Sokolek
- Thread
- bot code constructs formatting indentation issues post questions space support tabs
- Replies: 2
- Forum: Windows Software
-
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...- Alex Sokolek
- Thread
- algorithms bubble sort c programming code computer science data structures merge sort performance programming help sorting
- Replies: 5
- Forum: Windows Software
-
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...- Rishab7
- Thread
- algorithms code data structures debugging java linked list programming recursion reverse tutorial
- Replies: 1
- Forum: Programming and Scripting
-
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)...- Rishab7
- Thread
- algorithms code community debugging implementation issues longest increasing subsequence output programming python
- Replies: 1
- Forum: Programming and Scripting
-
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 >>>...- mishrajicoder
- Thread
- code ending point example find internet python return starting point string
- Replies: 3
- Forum: Programming and Scripting
-
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...- ExylonFiber
- Thread
- api audio audiobuffer c++ capture client code data processing debugging documentation getbuffer github iaudiocaptureclient programming rawdata reference storage streaming windows
- Replies: 1
- Forum: Programming and Scripting
-
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...- Johncoool
- Thread
- 3rvx code customization debugging default editing feedback graphics gui indicator knob meter portable programming skins software users volume windows xml
- Replies: 1
- Forum: Programming and Scripting
-
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- gorwyn
- Thread
- 0x800f0831 access code command prompt error fix troubleshooting update windows
- Replies: 2
- Forum: Windows Upgrade and Installation
-
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...- Budfudder
- Thread
- access code help lock microsoft mobile onedrive support troubleshooting unlock
- Replies: 6
- Forum: Windows Help and Support
-
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...- Jatin4494
- Thread
- code technical debt
- Replies: 1
- Forum: Windows Help and Support
-
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...- ExylonFiber
- Thread
- buffering code device list drivers enumeration firmware handle information msdn nvme storage adapter storage devices
- Replies: 5
- Forum: Programming and Scripting
-
W
Windows 10 Not Getting Code for Password Reset (RESOLVED)
Hi, Ignore this.- Wally96333
- Thread
- code password reset resolved
- Replies: 1
- Forum: Windows Help and Support
-
P
Windows 7 Advantages of Win32 Programming: Key Benefits and Considerations
What are the advantages of win32 programming?- prkundan
- Thread
- advantages api application code development programming software win32 windows
- Replies: 2
- Forum: Programming and Scripting
-
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- LT72884
- Thread
- code conversion feature request online programming tapatalk text editor typing utility word processor
- Replies: 6
- Forum: General Computing
-
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...- News
- Thread
- 2017 bulletin code critical documents execution lync march ms17-013 office remote revision rights security silverlight skype update users vulnerability windows
- Replies: 0
- Forum: Security Alerts
-
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...- rc0213
- Thread
- automation c++ code customization data data processing efficiency excel excel functions excel tips import macro programming rows scripting spreadsheet tech support user help workflow
- Replies: 5
- Forum: Programming and Scripting
-
M
Windows could not search for new updates
The update error code is 8024402F, Windows Server 2012 R2- Michael A
- Thread
- 2012 r2 8024402f code error issues server troubleshooting update windows windows server
- Replies: 7
- Forum: Windows Server Forums
-
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...- Polycount
- Thread
- code copy data lines list lookup match merge string text
- Replies: 4
- Forum: Programming and Scripting
-
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...- Neemobeer
- Thread
- adapter automation code connection disable enable ethernet function lan network performance powershell scripting switch task scheduler wifi windows wireless wlan
- Replies: 5
- Forum: Programming and Scripting