Search:

Type: Posts; User: tmd2

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Help with a program to "mirror" using pointers and struct

    Hi,

    I have to write a program that basically takes in values and spits out it's mirror. What I mean is for example if the data is 123 the output would 123321, it prints itself and then itself...
  2. ok great thanks a lot for the help very much...

    ok great thanks a lot for the help very much appreciated.
  3. ok so I have a global Vector good for all...

    ok so I have a global Vector good for all functions right? It takes in a int and a pointer variable float variable, so it storing 4 bytes of memory each I believe? Then in VoidAlloc, I am...
  4. Actually that was only maybe half of my...

    Actually that was only maybe half of my homework...I have to write functions to Distribute the Vector, Mirror the Vector and reverse the Vector (This one I think I have close to done) I didn't mean...
  5. Oh wow thank you kindly to everyone....so much...

    Oh wow thank you kindly to everyone....so much help I really can't thank you enough....if someone has the time could they explain to me exactly what is going on in the code... Don't get me wrong I...
  6. Hi thanks I am still getting a bunch of errors I...

    Hi thanks I am still getting a bunch of errors I made the adjustments you said... I will paste them...i can't imagine i have this much wrong...I'm hoping it's just a few things causing all of this....
  7. Can someone help me with Struct Pointers....compile errors

    Hi,

    I have the following code.... when I try to complile I get a huge amount of errors. I'm not sure why?? It looks right to me?? The program is pretty obvious what I am trying to do.... Sum...
  8. Replies
    11
    Views
    1,872

    Hi thanks a lot for taking the time.....man you...

    Hi thanks a lot for taking the time.....man you guys are really smart! Ok so let me make sure I have this....AllocVector passes in the address of V1 and whatever value N is, and frees up the...
  9. Replies
    11
    Views
    1,872

    Hi thanks....would someone if they have the time...

    Hi thanks....would someone if they have the time explain to me exactly what is going on in the function he wrote. I understand a lot of it...but if someone could expand I would be greatly...
  10. Replies
    11
    Views
    1,872

    Ok cool thanks a lot. How would I apply these...

    Ok cool thanks a lot. How would I apply these functions in the Main....if someone can give me a little code on I might use this I mean not a whole main function just how these functions would be...
  11. Replies
    11
    Views
    1,872

    Hi, Thanks a lot for the help.....now...this...

    Hi,

    Thanks a lot for the help.....now...this may be a real dumb question...how do I call the allocmemory (I know the space in the initial code needs to be removed) and the free memory function? ...
  12. Replies
    11
    Views
    1,872

    Hi, Thanks...I believe, (and I am very much...

    Hi,


    Thanks...I believe, (and I am very much a newbie) the assignment calls to allocate and free the data element, not necessarily the struct itself, so that's what I was trying to do. With the...
  13. Replies
    11
    Views
    1,872

    Help with pointers, structures, and malloc

    Hi,

    This may be a really dumb question, but I am having trouble with it. I have an assignment that reads like this

    "write a function void AllocVector(struct vector v, int n) that dynamically...
  14. Replies
    38
    Views
    5,506

    Ok great thanks a lot subsonics that helps a lot...

    Ok great thanks a lot subsonics that helps a lot I really appreciate it
  15. Replies
    38
    Views
    5,506

    I could also work e-man's code into a function...

    I could also work e-man's code into a function right? So when called upon it will act the way it's supposed to?
  16. Replies
    38
    Views
    5,506

    thanks subsonics what you and eman gave were just...

    thanks subsonics what you and eman gave were just about the same...if you have time ( i asked eman the same thing) can you explain how this is working...these are things I know I have learnedbut...
  17. Replies
    38
    Views
    5,506

    Hey thanks eman that worked great....I think I...

    Hey thanks eman that worked great....I think I can modify to accept any input just by changing the Joe Horn part by asking and then scanning in input....if you have time can you explain how this...
  18. Replies
    38
    Views
    5,506

    just print it....no need to store it....yep...

    just print it....no need to store it....yep somewhere get to user to enter JoeWalsh and it prints Joe Walsh...that's all....sorry for the confusion...I'm just at the beginning stages...any help is...
  19. Replies
    38
    Views
    5,506

    no all I want is something where someone would...

    no all I want is something where someone would enter JoeWalsh and the output is Joe Walsh that simple
  20. Replies
    38
    Views
    5,506

    oh ok great guys so...please forgive my ignorance...

    oh ok great guys so...please forgive my ignorance but that getchar will replace the "JoeHoe" With whatever is entered?
  21. Replies
    38
    Views
    5,506

    ah yes I see...what does cout and cin mean...I...

    ah yes I see...what does cout and cin mean...I have not seen them before?
  22. Replies
    38
    Views
    5,506

    ok...i'm sorry how would that look?

    ok...i'm sorry how would that look?
  23. Replies
    38
    Views
    5,506

    oh I see..yes what you did looks to advanced for...

    oh I see..yes what you did looks to advanced for where we are at in the course... it seems like it should be easy I literally just want to do something like ' 'input[i]....I have to believe there is...
  24. Replies
    38
    Views
    5,506

    nope I just found that out..last night actually

    nope I just found that out..last night actually
  25. Replies
    38
    Views
    5,506

    hi....I'm not sure what a struct is how would I...

    hi....I'm not sure what a struct is how would I write the following code? Not sure how to store?
Results 1 to 25 of 75
Page 1 of 3 1 2 3