Search:

Type: Posts; User: phillyflyers

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. AWESOME!!!!!! thank for all the tips and advice I...

    AWESOME!!!!!! thank for all the tips and advice I got it going :) :):) I really appreciate giving me advice and not just the straight out code of how it would work. Thanks agian:):)


    int i = 0;...
  2. Thanks again, I'm on the final part and I just...

    Thanks again, I'm on the final part and I just wanted a piece of advice. The array is has values 0-19. I need to move all the values up to the next one. So it should look like 19 0 1 2 3 4 ...18 ...
  3. Thanks rcg I managed to figure out I need to...

    Thanks rcg I managed to figure out I need to variable to get the values but it would not print out what I wanted until I did what you have up there the i +=2, Im not sure but is that i +=2 because I...
  4. Am I going completely wrong about this, I'm...

    Am I going completely wrong about this, I'm starting to think how is it even possible to tell the loop to assign a[i] the next value but for the next loop assign the previous value? My first two I'm...
  5. Ok just got back from a break and I'm still lost....

    Ok just got back from a break and I'm still lost. Its not swapping just add 1 to the number, also I was thinking I might have to use an if statement in the while not to go over 19? I've tried...
  6. I see what your say I tried it it code but it...

    I see what your say I tried it it code but it doesnt work it give me the next value so 0 become 1 1 becomes 2 and then 19 gives me -8873948 because it is over the max value of the array


    for (i =...
  7. Man I'm blank lol I just dont see how I can do...

    Man I'm blank lol I just dont see how I can do that. If I tell it that Temp = a[i] which is what ever i is for that loop (lets say 0) I just cant seem to find a way I would tell the system to go to...
  8. Hi thanks for your reply, I just want to swap the...

    Hi thanks for your reply, I just want to swap the current value with the next one. I only have 0-19 so the first swap would be to make 0 1 and 1 0, I just am clueless on how to start with a loop. I...
  9. Value swaping/transposing in an array loop

    Hi Guys,

    I hit a road block, I'm trying to swap the values of an array an example would be swapping a[0] with a[1]. I understand you could easily do with using a temp but I'm really stuck on how...
  10. thanks you very much :) I was pullin my hair out...

    thanks you very much :) I was pullin my hair out over here
  11. Thank for the help guys, now I just have to...

    Thank for the help guys, now I just have to figure out why 2012 studio is being crazy and giving me that error
  12. my complier must be broken it is still giving me...

    my complier must be broken it is still giving me that error, I even went as far as declaring it in the if loop to see if it removed the red underline but nothing.


    ...also its stay my scanf is...
  13. Need a quick check for this function call

    Ok guys, I'm about to smash my computer. I am doing this function call the same way I have it in another program but it keeps tell me that when I try to call the function "a" is not indentified. Am...
  14. Thanks but I must have something wrong it doesnt...

    Thanks but I must have something wrong it doesnt seem to be passing the odd or even values to the odd/even arrays
  15. Ok I've worked it a little further Malcolm should...

    Ok I've worked it a little further Malcolm should I change the odd and even counter to 1? I dont think I have the code right. I'm tyring to put the odd and even values in separate arrays. Thanks...
  16. Trying to figure out what I have done wrong but...

    Trying to figure out what I have done wrong but the second part were it is supposed to determine if it is a odd or even just prints the number 41
  17. Thanks I'll update that

    Thanks I'll update that
  18. Printing out odd and even values of an array

    Hi guys, I am trying to print the odd and even values of an array 10 per row. I keep getting the same number printing out can anyone see if my logic is wrong for identifying the odd and even...
  19. Replies
    22
    Views
    25,808

    Hi Andi, thank you i was missing this one line...

    Hi Andi, thank you i was missing this one line it now prints it right. It is the terminal that makes it look like it isnt doing the numbers on 4 rows.


    for(i = 0; i < 4; i++)
    {
    ...
  20. Replies
    22
    Views
    25,808

    I have visual studio 2012 and I am not get any...

    I have visual studio 2012 and I am not get any warnings it just prints out nonsense. I tried doing what my Prof. replied with I'm not sure if the program is correct, because it still is printing on...
  21. Replies
    22
    Views
    25,808

    Thanks Click_here changed that but I'm stuck lol....

    Thanks Click_here changed that but I'm stuck lol. I'll wait to see when the Prof. gets back to me I'm just burnt out been messing with this since 3:00pm central time lol. Thanks again for everyone...
  22. Replies
    22
    Views
    25,808

    One last question and again thanks everyone for...

    One last question and again thanks everyone for your help I'm just impatient and instead of waiting till Monday to hear back from my teacher I was hoping someone here might know. Is there a...
  23. Replies
    22
    Views
    25,808

    Ok I found out why I was getting trash lol noob...

    Ok I found out why I was getting trash lol noob mistake I was telling it to print 4 25 and forgot that arrays start at 0 lol. I got it going so far just need to think of how to get the for loop to...
  24. Replies
    22
    Views
    25,808

    LOL I think I figured out why its printing out...

    LOL I think I figured out why its printing out only one value cause by putting array2 [4][25] I'm telling it to only print what is in there right? Now I just need to figure out why it is trash value...
  25. Replies
    22
    Views
    25,808

    Thanks again it worked but prints out trash and...

    Thanks again it worked but prints out trash and not in the format of 4 x 25 :( I posted my code below to show you what I have so far. Thanks again for all your help just hoping the teacher gets back...
Results 1 to 25 of 41
Page 1 of 2 1 2