Search:

Type: Posts; User: garth

Search: Search took 0.02 seconds.

  1. Replies
    19
    Views
    2,812

    Okay, no reply from the website but I found the...

    Okay, no reply from the website but I found the solution to sum of odd numbers + sum of naturals + others. It was very idiotic.
    Remove the last line of code that they give you so that you only...
  2. Replies
    8
    Views
    1,264

    okay I think I understand that. For example if...

    okay I think I understand that. For example if using c style char* I should stay with c libraries to manipulate it?

    The serialize a vector worked great. But my strings contained multiple words...
  3. Replies
    19
    Views
    2,812

    Hmm, shame that seems a bit discouraging I was...

    Hmm, shame that seems a bit discouraging I was enjoying the site. I sent some feedback to them and will advise if I hear anything. Thanks for the help, at least their wasn't any obvious issues with...
  4. Replies
    19
    Views
    2,812

    nope that didn't work either.

    nope that didn't work either.
  5. Replies
    19
    Views
    2,812

    no solution here your code didn't work either....

    no solution here your code didn't work either. although much better. I seem to start with some sort of structure but I end up hacking it to make it fit, making it less user friendly.
  6. Replies
    19
    Views
    2,812

    yeah I had the same problem. you need to wait for...

    yeah I had the same problem. you need to wait for the page to fully load. then change to cpp. then wait for it to fully load. refresh latency issue on the site.
  7. Replies
    19
    Views
    2,812

    that is the site and the question but you can...

    that is the site and the question but you can navigate to the cpp side of things. code challenges -> cpp -> easy
  8. Replies
    19
    Views
    2,812

    I'm hoping its something like that. Although this...

    I'm hoping its something like that. Although this is the code they provide you with. I've tried returning sum, or omitting any output. no joy :(



    #include <iostream>
    #include <string>
    ...
  9. Replies
    19
    Views
    2,812

    I don't think so. At least not in that respect. I...

    I don't think so. At least not in that respect. I have probably put you wrong by using the terminology "duplicate". It only wants the natural numbers. so you don't want to repeat a natural number. At...
  10. Replies
    19
    Views
    2,812

    Not sure why this failed

    Write a program which calculates the sum of natural numbers which are divisible by 3 and 5 less than the number given as input.

    for ex.
    1) If user input 10 then output will be 23.
    2) If user...
  11. Replies
    8
    Views
    1,264

    Thanks guys, obviously bit off more than I could...

    Thanks guys, obviously bit off more than I could chew. My tutorials had explained how to save a simple object to binary file using write/read. My class contains linked lists of objects and vectors of...
  12. Replies
    8
    Views
    1,264

    trouble reading binary data file

    Hi,

    I was hoping to get some help to understand why I have coded this so poorly. I have re written the code below to demonstrate the problem I face. A really good indicator that something is wrong...
Results 1 to 12 of 12