Search:

Type: Posts; User: maestorm

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    5,413

    It gave me this: (gdb) run Starting...

    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...
  2. Replies
    13
    Views
    5,413

    Here is whole code, but still some parts I am...

    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
  3. Replies
    13
    Views
    5,413

    s is declared: Slovo s[6000]; int cisloSlova =...

    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
  4. Replies
    13
    Views
    5,413

    Here is part of code and thank you for your help,...

    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,...
  5. Replies
    13
    Views
    5,413

    It gave me this: #0 0xb7e66021 in...

    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 ...
  6. Replies
    13
    Views
    5,413

    First debugging - Segmentation fault

    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...
  7. I know this, but I don't know how to include for...

    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...
  8. problem part of sudoku solving program

    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> ...
  9. Program is crashing because algorithm for solving...

    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.
  10. Sudoku how to include algorithm into this code?

    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
  11. Replies
    1
    Views
    810

    error expected expression bfore...

    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];
  12. Thread: explanation

    by maestorm
    Replies
    13
    Views
    1,117

    I know solution now... it is simple:...

    I know solution now... it is simple:
    ((7*(-6*4))-24)+((7*(-6*4))-24)
  13. Thread: explanation

    by maestorm
    Replies
    13
    Views
    1,117

    But please show me which minors, cause I was...

    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...
  14. Thread: explanation

    by maestorm
    Replies
    13
    Views
    1,117

    I am still watching on it, computing, but I cant...

    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 ||...
  15. Thread: explanation

    by maestorm
    Replies
    13
    Views
    1,117

    Thank you :)

    Thank you :)
  16. Thread: explanation

    by maestorm
    Replies
    13
    Views
    1,117

    I can't find... :( please help me, I really...

    I can't find... :( please help me, I really would like to know what is this doing.
  17. Thread: explanation

    by maestorm
    Replies
    13
    Views
    1,117

    It is making some recursive computing but I can't...

    It is making some recursive computing but I can't find what exacttly it is computing on matrix...?
  18. Thread: explanation

    by maestorm
    Replies
    13
    Views
    1,117

    Sorry, there was some problem with uploading the...

    Sorry, there was some problem with uploading the code... but it is here now.
  19. Thread: explanation

    by maestorm
    Replies
    13
    Views
    1,117

    explanation

    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>
  20. Replies
    3
    Views
    1,391

    I have problem with fiding out if is matrix...

    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 <...
  21. Replies
    3
    Views
    1,391

    How to multiply matrix with unitary matrix?

    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
    ...
  22. Replies
    14
    Views
    2,088

    Now my code works, but still it doesn't work for...

    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
  23. Replies
    14
    Views
    2,088

    This program should write into file, what will...

    This program should write into file, what will you write.
  24. Replies
    14
    Views
    2,088

    So how should correctly working code look like? I...

    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.
  25. Replies
    14
    Views
    2,088

    Thank you, but now it doesn't work too (sorry I...

    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
Results 1 to 25 of 37
Page 1 of 2 1 2