Search:

Type: Posts; User: letthem

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    3,945

    Amazing Laserlight! That's great. I already...

    Amazing Laserlight! That's great.

    I already changed everything.
    I will have in the next days a conference with a teacher, nothing too important, but the information you gave me will be precious....
  2. Replies
    4
    Views
    3,945

    They're exercises taken by exams of the previous...

    They're exercises taken by exams of the previous years.
    The university course is "Fundamentals of C language".
    It regards just the fundamentals of this language, so it isn't about the best...
  3. Replies
    4
    Views
    3,945

    Given a matrix, create a list which..

    Hi everyone!

    I'm trying to create this function:

    Given a matrix, create a list which has in his nodes the values of the matrix that are greater than zero. The function has to return the double...
  4. It's not correct dear Laserlight. I hope that...

    It's not correct dear Laserlight.
    I hope that I'm not bothering you.
    Actually it isn't correct.
    The function deletes the float element given in input, but it doesn't link correctly the list after...
  5. My opinion is that: In the function I wrote, the...

    My opinion is that:
    In the function I wrote, the input always changeds(because of the function nexta), so, theorically, it should be able to remove nodes "in the middle".
    This is just my opinion,...
  6. Hello Laserlight! Here there is the function...

    Hello Laserlight!

    Here there is the function which search a specific value in a Binary Search Tree:





    Booleansearch(structbtree* ptr, floattarget) {
    if(ptr != NULL) { //It's not a...
  7. ALL FINE GReaper, I solved that! Thank you for...

    ALL FINE GReaper, I solved that!

    Thank you for your time!
  8. Firstable, thank you for your advices. ...

    Firstable, thank you for your advices.

    Unluckly, the code is still not working.
    Here there is the function:



    void traspo (float *A, int m, int n){
  9. After I created the transposed of A (C), I assign...

    After I created the transposed of A (C), I assign C to A.
    Doing this, the matrix given as input will be actually transformed into its transposed.
    After doing that, I delete C, which becomes useless.
  10. Given a matrix, write a function which... (transposition)

    Hi everyone!
    I should resolve this exercise, but I think I have some problems.
    "Given a matrix written as a monodimensional array, write a function which change this matrix into his transposed".
    ...
  11. P.s. I actually needed that clarification. Thanks...

    P.s. I actually needed that clarification. Thanks a lot!!!
  12. Hello Laserlight! Unfortunately, I'm not able...

    Hello Laserlight!

    Unfortunately, I'm not able to do that.
    I know how to do visit a binary search tree (in many ways).
    I know how to search a value in a binary search tree.
    But I'm not able (at...
  13. I'm sorry for the name of structured data. ...

    I'm sorry for the name of structured data.

    This is the one:


    struct node {
    float value;
    struct node *next;
    };
  14. Given two binary search trees, write a function which.....

    Hi everyone!

    I'm having some troubles with the definition of a function.
    Here there is the exercise:

    "Given two Binary Search Trees, T1 and T2, which contain float values, write a function...
  15. Hello Laserlight! Thanks again for your...

    Hello Laserlight!

    Thanks again for your answer.

    Here there is what I changed:



    void delete_commons (struct list **B, struct list **A){
    while ((*A)!=NULL && (*B)!=NULL){
  16. Hi again laserlight. I didn't understand this. ...

    Hi again laserlight.
    I didn't understand this.
    Are you telling me that, when I use a list, I need a doublepointer only when I have to modify nodes?
  17. List exercise: Given two lists, write a function which delete common elements.....

    Hi everyone! I have a little problem with the solution of this exercise:

    List exercise: Given two lists, A and B, write a function which delete common elements in the list named "B".

    Here there...
  18. Thanks a lot Laserlight. I try immediatly to...

    Thanks a lot Laserlight.
    I try immediatly to verify what you wrote.
    P.S. I agree with you, struct node is better.
  19. List exercise: Given two lists, insert in a third list the pair values of...

    Hi everybody!
    I have a little problem with the solution of this problem:
    "Given two lists, insert in a third list the pair values of the first one and the odd values of the other one."

    My...
  20. sorry but I know just a little bit of C. I never...

    sorry but I know just a little bit of C.
    I never saw

    "std::cout << "Entering at: " << n << std::endl;
    if ( n < 5 ) foo( n + 1 );

    std::cout << "Leaving at: " << n << std::endl;"

    what...
  21. Replies
    7
    Views
    18,775

    Code Blocks Debugger not working

    Hi everyone,

    I have a serious problem.
    Code.Blocks' Debugger is not working at all, and I need it before saturday.
    The version of Code Blocks is 17.12
    The version of Windows is Windows10.

    It...
  22. Function which makes a simmetric visit in a Binary Search Tree

    Hi everyone.


    In this post I'm gonna show you just the definition of a function that I can't understand.


    Here we have the exercise.....
    Given a binary search tree:
    define a recursive...
  23. Ok, so when it reaches line n°10 it starts again...

    Ok, so when it reaches line n°10 it starts again from line n°1 with a different input.
    But I still don't understand how it can work,
    because it will do this until 'ptr->left_ptr' will be' ==...
  24. Function which makes a simmetric visit in a Binary Search Tree

    Hi everyone.

    In this post I'm gonna show you just the definition of a function that I can't understand.

    Here we have the exercise.....
    Given a binary search tree:
    define a recursive function...
  25. Replies
    4
    Views
    7,614

    Super, thanks a lot!!!

    Super, thanks a lot!!!
Results 1 to 25 of 33
Page 1 of 2 1 2