python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Cannot use both Argv's, cannot run Move twice segmentation fault
Ive been trying various ways to get my program to work. regardless of weather i try argv1 or argv2 first, the second one will segmentation fault. even if i try to print SOURCE2DEFINE or argv[2] AFTER ...
PerfectChaos117
Votes: 0
Answers: 1
Why does a segmentation fault not occur?
I am expecting a seg-fault to occurr after the execution of the code below, but it doesn't. Could someone tell me why?
int main(){
float *arr;
cout << arr[0] << "\n" --&g...
San Kim
Votes: 0
Answers: 2
How to create a program that crashes with a segfault, but without core dump
I am currently writing in C a UNIX-like shell, and in order to test my shell, I need to create a program that creates a segmentation fault, but without Core Dumped being print.
I already wrote a progr...
qdesmettre
Votes: 0
Answers: 1
Use MPI_Type_create_subarray to move column
I have a problem with sending a single column of a 2D array with MPI in C++. I found MPI_Type_create_subarray and it seems to work fine, except for the case where I want to receive the values in the l...
eisenbahnfan
Votes: 0
Answers: 0