Showing posts with label CPP. Show all posts
Showing posts with label CPP. Show all posts

Wednesday, 11 March 2015

How to solve signal SIGSEGV segmentation fault in c++

                         SIGSEGV segmentation fault in c++

A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to access a memory location in a way that is not allowed (for example, attempting to write to a read-only location, or to overwrite part of the operating system).

Sunday, 8 March 2015

How to make header of a program in c++

Create a header of your program c/c++

You can create your own header of your program, to which you can include in any other program by just enclosing in #include<"header">. By doing This you can access the methods of  your created header in any programs .