As of May 31, 2023, we have updated our Code of Conduct.

Stack Overflow is a community of 20.6 million programmers, just like you, helping each other.

Join them; it only takes a minute: Sign up

Top Questions

20 votes
4 answers
2k views

Is there a faster algorithm for max(ctz(x), ctz(y))?

13 votes
5 answers
974 views

Efficiently match all values of a vector in another vector

5 votes
7 answers
204 views

How to split a column in Excel till the first number after *

7 votes
3 answers
484 views

Numbers of combinations modulo m, efficiently

5 votes
3 answers
123 views

In Functional Programming, why the Maybe functor is not defined as data Maybe a = Nothing | a?

5 votes
3 answers
372 views

Net Framework 4.8 EF6 EDMX T4 Error _generationEnvironment is NULL [duplicate]

7 votes
2 answers
338 views

AddressSanitizer: stack-buffer-overflow on boost cpp_int

2 votes
3 answers
116 views

Why is looping over a container and modifying it considered bad practice?

7 votes
4 answers
162 views

Is it possible to modify input function to echo uppercase letters?

2 votes
2 answers
115 views

Monad and Functor law for Monad and Functor type class in Haskell

6 votes
4 answers
89 views

Location of highest values in a matrix

5 votes
1 answer
399 views

Entity Framework 6 t4 code generation not working in VS2022?

5 votes
2 answers
87 views

Why does initializing a negatively-sized array cause an overflow exception?

6 votes
1 answer
341 views

Is it legal to store a 'static reference to struct internal data in unsafe Rust?

9 votes
2 answers
236 views

Why sometimes local class cannot access constexpr variables defined in function scope

7 votes
1 answer
2k views

Plugin validation issues were detected in plugin(s)

3 votes
2 answers
108 views

Why are stderr, stdin, stdout defined as macros?

1 vote
2 answers
119 views

Overloading with params in C# [closed]

1 vote
3 answers
111 views

Why does a warning appear when passing a 4-element array to a function in C?

2 votes
1 answer
86 views

Floats division give different results

2 votes
3 answers
111 views

Why do I get a wrong pointer to a base class with a virtual constructor on C++?

0 votes
4 answers
82 views

How to convert a two column list to a matrix

2 votes
3 answers
105 views

Using std::optional to invalidate my RAII object in move constructor/asignment [closed]

4 votes
3 answers
103 views

Efficient algorithm to calculate the most right non-zero digit of a number's factorial in Python

2 votes
2 answers
169 views

Casting a void pointer to a 2D String array pointer (C/CPP)

0 votes
3 answers
118 views

Is it faster to use push_back(x) or using an index (capacity)?

3 votes
4 answers
53 views

Excel Filter Function Include Different Array for Filtering

2 votes
2 answers
86 views

Can an f77 subroutine be called from C?

3 votes
6 answers
105 views

Having issues with removing preceding zeroes and characters after special characters from a varchar column

1 vote
1 answer
169 views

Why does a slice in Go stack get garbage collected?

1 vote
1 answer
904 views

How to fix CORS for Capacitor/Quasar App in a Laravel API

1 vote
3 answers
94 views

Excel - unique combination

5 votes
4 answers
117 views

Detect the format of a datetime string in Python

3 votes
3 answers
87 views

Randomly rearranging patches of a matrix in R

4 votes
1 answer
135 views

Firebase Firestore Indexes issue: Oops, indexes failed to load

1 vote
1 answer
102 views

When I try to lock the mutex recursively, no deadlock occurs

5 votes
2 answers
60 views

How can I convert an int to a generic type containing complex128 in Go?

0 votes
5 answers
96 views

Java: short if else statement

-3 votes
2 answers
120 views

What is the output of this C program and how does it work?

0 votes
1 answer
251 views

how to write equivalent of curl in powershell [duplicate]

1 vote
2 answers
71 views

What exactly is a reference/borrow under the hood? a.k.a. stack pointers vs heap pointers

2 votes
2 answers
395 views

cannot import name 'PartialState' from 'accelerate' when using Huggingface pipeline on Kaggle notebook?

0 votes
4 answers
88 views

SQL group by - match all items in a given list

3 votes
4 answers
85 views

How can I efficiently calculate differences between values of a column and the preceding column in R?

0 votes
3 answers
108 views

Inverse of fmod

0 votes
4 answers
106 views

How can we block write function in linux?

4 votes
3 answers
63 views

PostgreSQL - Get value from from the same table

1 vote
0 answers
596 views

Docker error "An unexpected error occurred. Restart Docker Desktop." [closed]

0 votes
4 answers
77 views

Unique row no matter the column

5 votes
2 answers
98 views

Avoiding Javadoc duplication in Java records

2 votes
3 answers
96 views

Deallocating a data structure with a void* value

2 votes
4 answers
72 views

Is there a vba code for moving value from one column to the other (if empty)?

0 votes
4 answers
72 views

typeof(T) vs new T().GetType()

1 vote
3 answers
71 views

BubbleSort implemented with do-while loop

5 votes
3 answers
91 views

How can I determine if a user's PC is running Windows 10 or Windows 11 for Excel functions?

3 votes
3 answers
69 views

Multiple outer product in R

5 votes
1 answer
110 views

Capture in a lambda expression of anonymous union member

0 votes
1 answer
786 views

SwiftUI Formatting TextField for credit card input "xxxx-xxxx-xxxx-xxxx"

1 vote
6 answers
136 views

Parsing a large CSV file with unusual characters, spacing, brackets, and irregular returns in bash

2 votes
3 answers
81 views

Equality of floating point numbers after storing/loading/moving

0 votes
1 answer
103 views

Does a stack allocated array gets automatically zero-initialized?

0 votes
3 answers
103 views

C struct with function pointer as member and variable pointer as member

1 vote
5 answers
62 views

nested for loops stored in a nested list

2 votes
2 answers
60 views

Perl Mojolicious: Passing arguments to a code ref

6 votes
3 answers
127 views

Unused parameter warning in templated function with if constexpr

5 votes
2 answers
77 views

Will memory write be visible after sending an IPI on x86?

2 votes
2 answers
59 views

Is there a naming convention for constants in Haskell

0 votes
6 answers
121 views

count number of lines between two pattern match in file and delete all lines between pattern match only if count is more than 4

1 vote
2 answers
199 views

Firebase Cloud Functions V2: The request was not authorized to invoke this service

2 votes
1 answer
94 views

How can I convert a lambda function arguments and store it in std::function

0 votes
1 answer
118 views

Using anonymous Threads in Delphi

0 votes
1 answer
117 views

Is there a way to move a std::tuple into a struct?

0 votes
2 answers
90 views

C++ function parent

1 vote
2 answers
54 views

Find Column Header based on criteria from an array

2 votes
1 answer
89 views

R BEST package how to set Bayesian priors by group

0 votes
1 answer
112 views

method to make this for-loop faster in C++ possibly with NVidia?

3 votes
4 answers
66 views

How can I resolve circular references between two instances of a class in Python?

6 votes
1 answer
65 views

Is it possible to "advance" a mutable slice through a mutable reference?

1 vote
3 answers
107 views

In C++ how to reuse a class definition as a different class

2 votes
4 answers
64 views

Extract a number from the middle of a multi-line string?

6 votes
1 answer
105 views

Different observable order of local variable destruction and its return

2 votes
2 answers
172 views

Does curly brackets initialization enforce order of evaluation of default arguments?

4 votes
1 answer
81 views

What is the "-S" flag used for in Ruby?

2 votes
4 answers
49 views

how to select all shape with a specific word in their name

5 votes
1 answer
80 views

Why is np.zeros() faster than re-initializing an existing array in Numba with Python?

1 vote
3 answers
131 views

Creating a structure from a C++ function prototype

0 votes
1 answer
208 views

duplicate definitions with name `is_soa` [closed]

-2 votes
2 answers
97 views

How to delete constructors and operators using inheritance in c++? [closed]

0 votes
2 answers
74 views

Can I remove all '>' in front of the code?

2 votes
10 answers
95 views

Newly Created age_date() Function Not Recognized in Cypher Query

1 vote
1 answer
95 views

C code allocating more memory than it should

2 votes
2 answers
72 views

Does stringr's regex engine translate [a-z] into abcdefghijklmnopqrstuvwyz?

1 vote
2 answers
56 views

Function call as a parameter inside insert values statement

8 votes
1 answer
117 views

Can an strstream directly use the buffer of a standard string

0 votes
1 answer
115 views

Compiler differences when throwing exception from a destructor

1 vote
1 answer
54 views

C Macro List size resolving but not entering for loop


Looking for more? Browse the complete list of questions, or popular tags. Help us answer unanswered questions.