Search:

Type: Posts; User: vincentThorpe

Search: Search took 0.00 seconds.

  1. @laserlight...

    @laserlight Hey thank you for the answer that is what I was looking for. Good to have you in this community. Regards.
  2. How to access members to double pointer struct?

    I'm creating a *Node inside a function (allocate and accessing its members) but when I try to access compiler jumps.

    l've tried this (Node*)(*_node)->item = ""; but it says "suspicious pointer...
  3. Replies
    3
    Views
    1,458

    thats what l was thinking thank you. Yes this a...

    thats what l was thinking thank you. Yes this a small part of a program.
  4. Replies
    3
    Views
    1,458

    delete new char[] correctly ?

    Hi padawan here So do l have this situacion. l call a function twice that returns a c-string, and l save into the same char* pointer (* c_string). but is correct to delete that (* c_string) before...
  5. Thanks for the answers, l was suspecting that....

    Thanks for the answers, l was suspecting that. The ldea is because l wanted to have the same function to print an array values of type int and for type float too. But l guess that a limitation of the...
  6. How to pass int array[] to float array[] in a function?

    Hi ld like to know how to pass an array of integers to a function that takes an array of integers. The idea l want to print() the data from an array of type integer as well as of type float.

    l...
  7. Replies
    2
    Views
    2,175

    Thank you for the effort. I agree with that `node...

    Thank you for the effort. I agree with that `node temp;` dies after `insert()` is done but then this doesnt explain why in the first call of `printInfo()` struct temp can be accessed. But l think l...
  8. Replies
    2
    Views
    2,175

    Pointer to struct

    Hello everyone, l have following code and l see an issue wich l cant understand. When l call the printInfo() method its showing two different things of the same struct. Is located at the second...
Results 1 to 8 of 8