About 1,430,000 results
Open links in new tab
  1. What are the rules for casting pointers in C? - Stack Overflow

    Jul 20, 2015 · Casting pointers is usually invalid in C. There are several reasons: Alignment. It's possible that, due to alignment considerations, the destination pointer type is not able to …

  2. sql - datetime Cast or Convert? - Stack Overflow

    Jul 2, 2013 · What to choose: Cast or Convert for datetimes (Microsoft SQL Server)? I have had a look at the MSDN Specifications. At the first glance it seems there is no difference, except for …

  3. c# - Direct casting vs 'as' operator? - Stack Overflow

    Sep 25, 2008 · Custom implicit/explicit casting: Usually a new object is created. Value Type Implicit: Copy without losing information. Value Type Explicit: Copy and information might be …

  4. c++ - Proper way of casting pointer types - Stack Overflow

    I used to think that reinterpret_cast is OK for e.g. casting pointers to and from integer types (like e.g. DWORD_PTR), but to cast from a void* to a BYTE*, isn't static_cast OK? Are there any …

  5. Casting to TV has no sound. - Microsoft Community

    Jan 27, 2023 · Hello.I've recently installed Windows 11 and now whenever I cast to my TV (as a wireless monitor), Windows only casts picture, but not sound. The sound still goes through my …

  6. casting - Explanation of ClassCastException in Java - Stack Overflow

    Apr 10, 2021 · Java allows us to cast variables of one type to another as long as the casting happens between compatible data types. For example you can cast a String as an Object and …

  7. c++ - When should static_cast, dynamic_cast, const_cast, and ...

    It is unnecessary when casting upwards (towards a base class), but when casting downwards it can be used as long as it doesn't cast through virtual inheritance. It does not do checking, …

  8. What is castsrv.exe? - Microsoft Community

    Jun 20, 2019 · Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of violence, or harm to another.

  9. Casting variables in Java - Stack Overflow

    Mar 13, 2011 · Casting in Java isn't magic, it's you telling the compiler that an Object of type A is actually of more specific type B, and thus gaining access to all the methods on B that you …

  10. java: How can I do dynamic casting of a variable from one type to ...

    Casting of an object does NOT change anything; it is just the way the compiler treats it. The only reason to do something like that is to check if the object is an instance of the given class or of …

Refresh