I have decided to create a simple guessing number game that uses Linux system calls, and some C functions to provide a more simpler interface. I seem to get a segmentation fault when I convert the int
I am working on this old c++ program that runs in Linux. It is the worst code I had ever tried to read, and running it with ValGrind gives tons of memory problems. 开发者_C百科
I have a simple program $ cat a.cpp #include <iostream> class MyClass { public: virtual void check() {
Today I faced an error due to which my Android application is getting by SIGNAL 11. This error usually occurs due to unauthorized memory area access by Android internal storage. Some of the possible
I am attempting to create a wrapper class to the Xlib library, but I get a segmentation fault! I am new to C++ and this is probably out of my depth and maybe have my goals set to high, other than that
I\'m trying to learn shellcode for a project in comp science but I’m having a bit of a problem writing it
I started learning how to write programs using the NASM assembly programming language. I wrote this simple program that prompts the user to enter two numbers and then adds the two operands together. I
I am trying to append two chars but for some reason I am getting a segmentation fault. My code is like;
I\'m getting a segmentation fault from SDL_BlitSurface in C++. here\'s the code mainScreen->draw( 0, 0, background, NULL );
When trying the following in C : g_string_printf(qbuf,\"INSERT INTO inbox (number, smsdate, text) VALUES (\'%s\',\'%04d-%02d-%02d %02d:%02d:%02d\', \'%s\')\",