Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. OverflowAI
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
418,062 questions
Filter by
Sorted by
Tagged with
0votes
0answers
19views

How can i check for board boundaries if I am using int[] array to store pieces and position

So....I am making my own chess engine now, however I have a question I am storing every piece in an int array with separate values for separate types of pieces and and wrote the moves script which ...
NervousSaint's user avatar
0votes
0answers
25views

Algorithm to find the number of specific continuous substrings

I am trying to solve the following algorithmic problem:Every day, Bob goes to work and does one of 26 possible tasks. The tasks are coded with the letters of the English alphabet from a to z. ...
-2votes
0answers
71views

Why does an IndexError occur when I try to use a variable that is being iterated to access data in an array and how can I eliminate it? [closed]

I am trying to create a program that processes a screenshot into a downsized red image with only three colours. I expected to get an image, however, I ran into this error.IndexError: invalid index ...
-4votes
0answers
42views

How would you check the user's input in a more elegant way? [closed]

I've made two lists to check for the answers "Yes, yes, No" and "no".But I feel that there would be a much easier/better way of doing this.First post here, so if something is off ...
1vote
0answers
87views

Marshaling an Array of Struct

I'm working with an unmanaged c++ dll in C# that controls a measuremnet device over USB. I got as far as getting single value measurement but I struggle trying to recover recorded data... I guess I ...
-1votes
1answer
43views

API form-data how to send array data for eMag Marketplace [closed]

In api doc for eMag marketplace on page 16 are properties stock and handling_time but i dont know how send this via Postman .I tried to create the form-data in the picture but it's not working as I ...
-1votes
3answers
84views

Shift data associated with an array's index based on filter data

I have an array of any values, as well as data associated with each value.This data is stored as Record<string,FooData> where the key is generated using the index within the array.However, I ...
0votes
2answers
60views

C++ - Candidate function not viable: no known conversion from 'double[10][Globals::MAX_COL]' to 'double (*)[Globals::MAX_COL]'

When compiling my program, I get the following error:No matching function for call to 'fillWithRandomNum'Candidate function not viable: no known conversion from 'double[10][Globals::MAX_COL]' to '...
1vote
1answer
41views

Reactive form module is getting time to render in case of edit mode

i am using angular reactive from module to my application here is my html code <form *ngIf="myForm" [formGroup]="myForm" (submit)="onSubmit()"> <mat-select ...
0votes
0answers
22views

Script ignoring array variables and using random price instead lookiing only in Array(Market structure logic) Pinescript

So the idea to realize price structure based on 3 candles fractals, I'm done it, but script at some occasions ignoring specified array to look and plots different price that it should be. the logic is ...
0votes
1answer
47views

What is the Regular Expression syntax to select the text after the match, using Visual Studio Code Find&Replace

I have rewritten this question to hopefully make it more clear what I need.I an configuring some files.I want to clear an array in multiple files.The array is labeled the same across all files, but ...
2votes
2answers
102views

storing all c stuct arrays in only one single memory segment obtained with malloc/calloc

Suppose I have a database in memory that I want to modify.Let's say the tables are phone information and items.The phone information consists of a name up to 99 characters and a character code.The ...
2votes
1answer
93views

Why do these nearly identical functions perform very differently?

I have written four functions that modify a square 2D array in place, it reflects half of the square array delimited by two sides that meet and the corresponding 45 degree diagonal, to the other half ...
0votes
1answer
101views

Difference between reading large chunks of data using char* or std::string

I was trying to solve a coding problem and, to summarize, I was using this piece of code:char result[50005][26], buffer[50005];while (fin >> buffer) { for (int i = 0; i < strlen(...
naphy's user avatar
0votes
1answer
57views

nums[:] = unique anyone please explain this line of code [duplicate]

class Solution(object): def removeDuplicates(self, nums): unique = [] for num in nums: if num not in unique: unique.append(num) nums[:] ...
Siva Anchuri's user avatar

153050per page
1
2345
27871

Related Tags

 × 93326
 × 72508
 × 52450
 × 34591
 × 30424
 × 27332
 × 25565
 × 19989
 × 19284
 × 19134
 × 18498
 × 17724
 × 17293
 × 13565
 × 11732
 × 10975
 × 10306
 × 8748
 × 8700
 × 8266
 × 8207
 × 8098
 × 7680
 × 7657
 × 7505
more related tags

Hot Network Questions

more hot questions
Newest arrays questions feed

[8]ページ先頭

©2009-2025 Movatter.jp