The answer might be compiler dependent but; What is the expected output of the lines below? Would a compiler fill the Most Significant Bits with z ...
The answer might be compiler dependent but; What is the expected output of the lines below? Would a compiler fill the Most Significant Bits with z ...
I feel this should be easy, but I'm stuck I can easily do a frequency count of a specific type (like u8), but how can I make it generic to allow count ...
I just solved a C task and now wonder if there is a quick way to copy an array while casting the data type. Specifically, I had an array of integer va ...
I have been working on this problem for a while now: basically I need to put the for loop in a function so I can call for it, but I don't how to to ma ...
In postgres when i do cast(varchar_col as timestamp) how do i know which formats (ie yyyymmdd, yyyy-mm-dd...etc) are supported? ...
I am using Groovy to create a package that I use in ReadyApi. In a Groovy script test step, I do the following: And I get the following error: ...
} //in my code I have used a nepali date calendar so I have replaced DateTime with NepaliDateTime and the then method uses value which is DateTime s ...
I am aware of the int() or int64() typecast functions, the Go provides. Is there a safe way to cast float64 to int64 (with truncation,) given the larg ...
I get a CastError when trying to save items to MongoDB using $each . I use FormData to send the array. If I display the array in the backend, everythi ...
I want to use the pthreads library in C++ with C++ lambdas. My lambdas are of the type std::function<void(X)> when X can be any type such as int ...
I'm trying to build a function that checks whether a particular pointer value is stored in a given array. I'm trying to make the function type-agnosti ...
I have two columns, date and time, both strings. I can concatenate them to get a column timestamp. I need to use the timezone_minute() function†. I h ...
I am trying to read the sent items folder of my outlook, with the following code: Outlook folders outlook folders when I try to read the informat ...
I'm looking to get order data from the past 30 rolling days. The goal, eventually, is to get this to pull some DISTINCTs so I can measure new orders/c ...
I would like to have a generic type predicate that allows me to check the type of an object's property. To illustrate this, I want to achieve the fol ...
I have something like And I want to cast this to double[][]. I tried (double[][])a and a.Cast<double[][]>() but it didnt work ...
I can't believe that I can't figure this out myself and I also cant find an answer online, but... I'm working in Swift after a long break working on ...
If I have this line of code in Visual Studio: I get compiler error CS0266: Cannot implicitly convert type 'System.Collections.Generic.IEnumerab ...
The goal is to have an object (callback_handler) implementing the traits A, B and C that can be passed to different functions that expect a trait obje ...
the thing is to replace whatever observation that hold the number 999.9 as NULL but i dont know the utility of CAST here as i know it helps change the ...