Latest Answer: Both aggregation and composition are special kinds of associations. Aggregation is used to represent ownership or a whole/part relationship, and composition is used to represent an even stronger form of ownership. With composition, we get coincident lifetime ...
Latest Answer: Command line arguments can be accessed by using a string type and integer type variables as the main function arguments. The string includes all what u typed in the command line(eg:hello.exe jijo nijesh). The int variable shows the no of words in it. ...
Latest Answer: In C++, assignment and copy construction are different because the copy constructor initializes uninitialized memory, whereas assignment starts with an existing initialized object. If your class contains instances of other classes as data members, the ...
Latest Answer: In Linux/Unix , we have the header file dirent.h.This .h file contains the direcory manipulation functions Some of the functions are opendir,closedir,readdir. ...
Latest Answer: In linux there is a memory debugging tool valgrind.With the help of valgrind, you can easily check the memory allocation or memory deallocation. ...
Latest Answer: pass multiple variables to the function as formal parameters ... function will actually set those values (output variables). ...
Latest Answer: Arrays have to difine with fixed size it will not grow dynamically , vector size can be increased bydynamically and vectors are synchronized.yaa always right.vector is a standard template library in C++. Vector size can be increased dynamically and stores ...
Latest Answer: Inline functions are small sized functions (basically 2-3 line function) which do not contain any loop. whenever an inline function is invoked, it is expanded thereby rather then passing the control to where it has been defined, thus reducing execution ...
Latest Answer: Yes, Just Put it in an unsigned int Bin_data[] {0x0h, 0x0f......... ............ } ...
Latest Answer: This can be done Using _asm{} operator, first char* mem_ptr; Mov EAX, DWORD PTR[Memory Address] Then... Mov mem_ptr, EAX Now mem_ptr will point to the meory location needed and we can access ...
View page << Previous 5 6 7 8 [9] 10 11 12 13 14 Next >>

Go Top