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...
Type: Posts; User: tmd2
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...
ok great thanks a lot for the help very much appreciated.
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...
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...
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...
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....
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...
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...
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...
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...
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? ...
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...
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...
Ok great thanks a lot subsonics that helps a lot I really appreciate it
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?
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...
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...
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...
no all I want is something where someone would enter JoeWalsh and the output is Joe Walsh that simple
oh ok great guys so...please forgive my ignorance but that getchar will replace the "JoeHoe" With whatever is entered?
ah yes I see...what does cout and cin mean...I have not seen them before?
ok...i'm sorry how would that look?
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...
nope I just found that out..last night actually
hi....I'm not sure what a struct is how would I write the following code? Not sure how to store?