Discover the power of algorithms

Complexities of algorithm, thier applicability. Optimization techniques associated with diffrent algos.

Dec 13, 2011

How to increase service start/stop timeout ?

Windows provide SetServiceStatus function by which one can manage service time out period. It’s a very straight forward API here are its details:-          BOOL WINAPI SetServiceStatus(                             __in  SERVICE_STATUS_HANDLE hServiceStatus,                             __in  LPSERVICE_STATUS lpServiceStatus                          ...



Dec 3, 2011

Inline function example, a sample program c++

Inline function examples :- recommended article :- Inline Function Lets look out one of the simple example :- ------------------------------------------------------------------- // inline_functions_inline.cpp #include #include inline char toupper( char a ) { return ((a >= 'a' && a <= 'z') ? a-('a'-'A') : a ); } int main() { printf_s("Enter a character: "); char ch = toupper( getc(stdin) ); printf_s( "%c", ch ); } ------------------------------------------------------------------- Now  moving to example of using inline function inside a class :- ------------------------------------------------------------------- //...



Page 1 of 1212345Next