Search:

Type: Posts; User: jacek

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Capitalization

    by jacek
    Replies
    1
    Views
    1,384

    Capitalization

    C code - 530 lines - codepad

    lines 89-99. what's the point of capitalizing letters and later doing it back?
  2. Thread: Segm fault

    by jacek
    Replies
    2
    Views
    999

    OK guys. I have taken care of these erros and...

    OK guys. I have taken care of these erros and none of them are present. It was my connection fault, I think.


    I get this segm fault when I want to use dodajBaze. How to fix it?
  3. Thread: Segm fault

    by jacek
    Replies
    2
    Views
    999

    Segm fault

    Hello.

    For this code: C code - 503 lines - codepad I get these errors:

    projekt3.c: In function `znajdz_baze_w':
    projekt3.c:209: error: `bieza' undeclared (first use in this function)...
  4. Replies
    3
    Views
    2,243

    I mean how this program outputs that answer.

    I mean how this program outputs that answer.
  5. Replies
    3
    Views
    2,243

    my teacher gave it to us....

    Hello. Our teacher gave us this piece of code:


    #include <stdio.h>

    #define PR(a,f) printf (#a "= %#f"\t", (int)(a) )
    #define PRINT(a,f) PR(a,f); putchar ('/n')
    #define PRINT2(a,b,f1,f2)...
  6. Replies
    9
    Views
    2,371

    ok, could you point me to some good tutorials?

    ok, could you point me to some good tutorials?
  7. Replies
    9
    Views
    2,371

    This is exaclty what I mean - but how to do it?

    This is exaclty what I mean - but how to do it?
  8. Replies
    9
    Views
    2,371

    #include #include ...

    #include <stdio.h>
    #include <stdlib.h>

    typedef struct node {
    int a;
    int b;
    struct node *next;
    } *list;

    void print(list head);
  9. Replies
    9
    Views
    2,371

    ok, it executes. #include ...

    ok, it executes.


    #include <stdio.h>
    #include <stdlib.h>

    typedef struct node {
    int a;
    int b;
    struct node *next;
  10. Replies
    9
    Views
    2,371

    list of pairs on integers

    #include <stdio.h>
    #include <stdlib.h>

    typedef struct node {
    int a;
    int b;
    struct node *next;
    } *list;

    void print(list head);
  11. Replies
    16
    Views
    3,949

    what's wrong here? i get ExitFailure 7. ...

    what's wrong here? i get ExitFailure 7.


    #include <stdio.h>
    #include <math.h>

    typedef struct
    {
    int x;
    int y;
  12. Replies
    16
    Views
    3,949

    ok. so far i have this. it compiles, but doesn't...

    ok. so far i have this. it compiles, but doesn't check those 4 poinst...


    #include <stdio.h>
    #include <math.h>

    typedef struct
    {
    int x;
    int y;
  13. Replies
    16
    Views
    3,949

    So what in my example?

    So what in my example?
  14. Replies
    16
    Views
    3,949

    so, before that for example: printf("Enter...

    so, before that for example:

    printf("Enter x1:\n");
    scanf("%d", point1.x);
    printf("Enter y1:\n");
    scanf("%d", point1.y);

    ?
  15. Replies
    16
    Views
    3,949

    Obviously the first one. The problem is that I...

    Obviously the first one.

    The problem is that I have no idea how to put x1..x4 and y1..y4 into this (I have already algorithm checking wheter 4 points for a square).
  16. Replies
    16
    Views
    3,949

    Here's the list: c: In function `write': c:30:...

    Here's the list:
    c: In function `write':
    c:30: error: `x' undeclared (first use in this function)
    c:30: error: (Each undeclared identifier is reported only once
    c:30: error: for each function it...
  17. Replies
    16
    Views
    3,949

    OK, but still there are a lot of errors...

    OK, but still there are a lot of errors...
  18. Replies
    16
    Views
    3,949

    Struct, points, square

    Hi guys. I need to create a progam with struct of 4 points that define a square (and something more - that's why there are 3 structs, not one). The goal of the program is to check wheter those points...
  19. Thread: Touch typing

    by jacek
    Replies
    34
    Views
    9,832

    Touch typing

    Hi there. I have a question to people like you - who spend millions of hours in front of their PCs.

    Do you really care about typing keys with propers keys? For example, the letter P with right...
  20. Thread: values of sine

    by jacek
    Replies
    2
    Views
    1,789

    Could you point me out some good tutorial on...

    Could you point me out some good tutorial on arrays?
  21. Thread: values of sine

    by jacek
    Replies
    2
    Views
    1,789

    values of sine

    Hi guys. I need to calculate the values of sine function between 45 and 90 degrees (5 degrees step).

    So far I have the following code:


    #include <stdio.h>
    #include <math.h>

    void fprint();
  22. Replies
    20
    Views
    7,247

    It doesn't... I enter x=3 and it says to enter...

    It doesn't... I enter x=3 and it says to enter something between -pi and pi :)
  23. Replies
    20
    Views
    7,247

    Do you have any idea why this program isn't...

    Do you have any idea why this program isn't working for x=3 or x=-3?
  24. Replies
    20
    Views
    7,247

    OK, seems like everything is done. Last...

    OK, seems like everything is done.

    Last question: isn't there going to be any problem with radians or degrees?
  25. Replies
    20
    Views
    7,247

    Do you mean switching ...

    Do you mean switching
    element=(sin(n*x))/pow(n,3); to
    element=(sin(n*x)*pow(-1,n))/pow(n,3);?
Results 1 to 25 of 32
Page 1 of 2 1 2