Search:

Type: Posts; User: SirPrattlepod

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    4,545

    You can do this without a second array. Using...

    You can do this without a second array.

    Using your existing code though the problem is on line 15. i+strlen(astr) points to the strings terminating '\0' which you are then copying into the...
  2. Replies
    10
    Views
    1,052

    I like the term commando prompt and I think I'll...

    I like the term commando prompt and I think I'll name my terminals from now on because I have a yeti suit and also commando costume and face paint that I rarely get to use. With my commando prompt I...
  3. Replies
    9
    Views
    7,253

    How is the underscore prefix inherited from...

    How is the underscore prefix inherited from gsoap? Or do you mean your code specifically?
  4. Not sure if there's a question or not...

    Not sure if there's a question or not...
  5. Does it compile?

    Does it compile?
  6. Replies
    16
    Views
    1,064

    hmm, cool

    hmm, cool
  7. Replies
    9
    Views
    7,253

    You're mistaken ;-)

    You're mistaken ;-)
  8. Replies
    3
    Views
    885

    Since this is a filled circle then the only...

    Since this is a filled circle then the only significant efficiency gains are (probably)
    a) What Salem suggested
    b) Reflect above/below y-axis (halve the calculations required)
    c) Move the...
  9. Replies
    3
    Views
    885

    It might be nice to have some compilable code......

    It might be nice to have some compilable code...

    Not sure how close this is to what you have, but if it's "close enough" then maybe optimizations can be suggested based on this (so at least we can...
  10. Replies
    2
    Views
    606

    You're not assigning the returned values to...

    You're not assigning the returned values to anything; e.g. you probably want countx = function2(array);
  11. Replies
    7
    Views
    827

    It's not clear at all. The OP said they typed...

    It's not clear at all. The OP said they typed exactly what the guidebook said to type. If you typed that in Linux, for example, you'd get exactly the same error message from g++.
  12. Replies
    63
    Views
    6,566

    Not sure if I'm misunderstanding you or not but...

    Not sure if I'm misunderstanding you or not but this program has far too few functions as it is without suggesting moving the entire game into main() ;-)
  13. Thread: help

    by SirPrattlepod
    Replies
    2
    Views
    607

    There are a couple of ways. The most common way...

    There are a couple of ways. The most common way you'll probably encounter uses modulus operator
  14. What's "String"?

    What's "String"?
  15. Whoa, whoa, whoa; hold the horses! Somebody used...

    Whoa, whoa, whoa; hold the horses! Somebody used the words argument and parameter correctly!
  16. Replies
    9
    Views
    814

    What's that cat on your task bar?

    What's that cat on your task bar?
  17. You're ruining my fun. I was going to write a...

    You're ruining my fun. I was going to write a solution using buckets of water :-(
  18. The only other problem with that is that the OP...

    The only other problem with that is that the OP cannot use if statements :/
  19. The problem is probably your getus_dollars...

    The problem is probably your getus_dollars function.

    First, your scanf() is wrong; you're using %f but passing a pointer to an integer as the second argument. Perhaps int us_dollars; should be a...
  20. Or make them static

    Or make them static
  21. Replies
    6
    Views
    798

    I'm not trying to sound harsh (honestly) but...

    I'm not trying to sound harsh (honestly) but maybe you should have started earlier? Free rides in real life are very rare indeed and maybe the only thing you will learn from this...
  22. Replies
    6
    Views
    798

    It's very unlikely (actually, probably...

    It's very unlikely (actually, probably impossible) that anyone here will do the assignments for you. So, what's a good strategy? I think that it'd be a good idea if you read the problems and tried...
  23. Kiel provides many examples that address this....

    Kiel provides many examples that address this. Have you used one of their "templates" or rolled your own code from scratch?

    I echo andruil462's comments.
  24. Replies
    6
    Views
    798

    Have you attempted this at all? If so it's a...

    Have you attempted this at all? If so it's a great idea to post the source code of your attempts and people can then help.
  25. Replies
    63
    Views
    6,566

    It's a very counter-intuitive thing... I...

    It's a very counter-intuitive thing...

    I accept your apology :p
Results 1 to 25 of 495
Page 1 of 20 1 2 3 4