It gave me this:
(gdb) run
Starting program: /home/maestorm/fi.muni/C_programming/files/dutomas/a.out
Press any key
Program received signal SIGSEGV, Segmentation fault.
0xb7e66021 in...
Type: Posts; User: maestorm
It gave me this:
(gdb) run
Starting program: /home/maestorm/fi.muni/C_programming/files/dutomas/a.out
Press any key
Program received signal SIGSEGV, Segmentation fault.
0xb7e66021 in...
Here is whole code, but still some parts I am working on..
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stdbool.h>
typedef struct
s is declared: Slovo s[6000];
int cisloSlova = 0; //initialization and after it is incremented for every word
char cele[21]; //in structure on begin
Here is part of code and thank you for your help, really thank you.
do
60 {
61 c = fgetc(fr);
62 if(isalpha(c))
63 {
64 fseek(fr, -1,...
It gave me this:
#0 0xb7e66021 in _IO_vfscanf_internal (s=s@entry=0x804b008, format=format@entry=0x8048d89 "%s", argptr=argptr@entry=0xbffca388 " ", errp=errp@entry=0x0) at vfscanf.c:1095
#1 ...
Hi dear friends,
I have problem including Segmentation fault and I don't know how to repair it. I am using gdb but I haven't knowledge how to repair mistake like this:
Program received signal...
I know this, but I don't know how to include for example backtracking method (like here) into the program? Please I need this program for my friend, I thought I'll be able to make it for him, but I...
When I run program after compile process then it fall down (after some time) because I don't know how to write part of program which is responsible for solving sudoku.
#include <stdio.h> ...
Program is crashing because algorithm for solving isn't correct and I really don't know, how to make it correctly. And too I don't know which algorithm could be faster (backtracking?).
Thank you.
Hello, I would like to ask you for help with this program, it should open file with sudoku soubor.txt
65 7 2 93
7 6
365
9 85 13 2
5 2 7
4 68 39 5
936
Hello,
would be somebody so great and could help me with (not only) this problem:
#define CAR_SIZE 101
typedef struct {
int *ID;
char brand[CAR_SIZE];
I know solution now... it is simple:
((7*(-6*4))-24)+((7*(-6*4))-24)
But please show me which minors, cause I was computing minors of diagonal matrices 2x2 and it doesn't work, after I tried to compute determinant for every (size + 2) <= input size and it doesn't work...
I am still watching on it, computing, but I cant find it, I know only so for matrix 2x2 it is computing determinant, but how is it computing with other numbers on diagonal?
Formula is
for 1x1 ||...
Thank you :)
I can't find... :( please help me, I really would like to know what is this doing.
It is making some recursive computing but I can't find what exacttly it is computing on matrix...?
Sorry, there was some problem with uploading the code... but it is here now.
Hello,
please could somebody explain me what is this program computing?
I can't still see it...
Please tell me.
#include <stdio.h>
#include <stdlib.h>
I have problem with fiding out if is matrix multiplication of unitary matrix...
void transponuj(int size, int puvodni[size][size], int transponovana[size][size]) {
for (int i = 0; i <...
Hello,
I would like to know how could I make multiplication of matrix called betrix in this code:
printf("transposed matrix:\n\n");
int trantrix[size][size]; //transposed matrix
...
Now my code works, but still it doesn't work for diacritic. How could I make it?
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define MAX 500
This program should write into file, what will you write.
So how should correctly working code look like? I am doing this example just for training, but I have problems with writing text into file with spaces few days, please tell me.
Thank you, but now it doesn't work too (sorry I am beginner).
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define MAX 500