Top "Increment" questions

DO NOT USE THIS TAG ALONE.

How to make a pointer increment by 1 byte, not 1 unit

I have a structure tcp_option_t, which is N bytes. If I have a pointer tcp_option_t* opt, …

c pointers increment
Is the += operator thread-safe in Python?

I want to create a non-thread-safe chunk of code for experimentation, and those are the functions that 2 threads are going …

python thread-safety increment
bool operator ++ and --

Today while writing some Visual C++ code I have come across something which has surprised me. It seems C++ supports ++ (…

c++ boolean increment
Avoiding concurrency problems with MAX+1 integer in SQL Server 2008... making own IDENTITY value

I need to increment an integer in a SQL Server 2008 column. Sounds like I should use an IDENTITY column, but …

sql locking identity max increment
Difference between ++ and +=1 in javascript

Could somebody explain why the following functions give different results. The first does not seem to work, but the second …

javascript increment
Simple increment/decrement counter

I would like to make a simple counter in PowerShell. It must prompt the user whether they'd like a higher …

powershell counter increment decrement
incrementing struct members

Say I have a struct defined as follows struct my_struct { int num; }; .... Here I have a pointer to my_…

c struct increment pre-increment
Increment a string with letters?

I need to increment a string from.. let's say aaa to zzz and write every incrementation in the console (is …

javascript jquery increment
SQL atomic increment and locking strategies - is this safe?

I have a question about SQL and locking strategies. As an example, suppose I have a view counter for the …

sql locking atomic increment
Android: SeekBar Increment Value - How To

My SeekBar (slider) works just fine but, it increments/decrements by one's as I slide my finger but, I want …

android slider increment seekbar