Search:

Type: Posts; User: eddwills

Search: Search took 0.01 seconds.

  1. hehe, thanks a lot :flattered: I really...

    hehe, thanks a lot :flattered:

    I really couldn't have gotten it anywhere near as good without all of the help from you guys though.
  2. ahh thanks for that one, that'll come in useful....

    ahh thanks for that one, that'll come in useful. I'll amend that quickly now. I've only been learning C++ for a few days, but I did learn BASIC quite a few years back now. Some of it has come in...
  3. I've amended everything now, renamed "time.h" to...

    I've amended everything now, renamed "time.h" to "uptime.h", used cin.getline(name,30) for the name (whilst increasing the value from 20 to 30), got main to return 0, and i got around using a goto...
  4. Fair enough man, I'll remember that one. Sorry if...

    Fair enough man, I'll remember that one. Sorry if you got a tad wound up :)
    My compiler (Dev-C++) doesn't give me any warnings for not having it, but I guess you know your stuff and it can't hurt to...
  5. According to the very first C++ tutorial on this...

    According to the very first C++ tutorial on this site:



    Here's the link too, it's the paragraph just above the 2nd example: link .
  6. Thanks for the advice, I'm only at home briefly...

    Thanks for the advice, I'm only at home briefly at the moment but I'll amend the code later. I don't like using goto either but there was only the one result that needed a loop so I figured there...
  7. Hehe, I was only talking philosiphically anyways,...

    Hehe, I was only talking philosiphically anyways, so my bubble's quite intact thanks :D. The same as how I was getting the computer to 'know' how long it has been 'awake'. The computer doesn't have...
  8. It's done!

    I know it's probably a pile of lame compared to the sort of stuff most of you guys can probably make, but I'm happy with it, especially for a first C++ project.

    I called it 'Get To Know Your...
  9. Yeah, I'll agree to that. I needed it for what I...

    Yeah, I'll agree to that. I needed it for what I wanted to do though, and it all works, so its not like it's such a bad thing. I'll go back to the tutorials after this. The program's pretty much done...
  10. Well... thanks for that... I dont really care,...

    Well... thanks for that...

    I dont really care, at the end of the day im making my own Windows application and having fun. the only functions like those that I used were GetUserName and...
  11. neandrake, that works a treat, thanks! Now to...

    neandrake, that works a treat, thanks! Now to figure out how to incorporate it into my existing code :)
    It's hard to believe that 2 days ago i had no knowledge of C++ and already im making this, I...
  12. wow, msdn is pretty good! theres loads of stuff!...

    wow, msdn is pretty good! theres loads of stuff!
    GetKeyboardType, GetSystemInfo, GetUserName, GetVersion, loads of stuff! Thanks for showing me bud ;)
  13. thanks guys, i was just coming back to say i...

    thanks guys, i was just coming back to say i found this example...


    #include <windows.h>
    #include <stdio.h>

    int main()
    {
    char buffer[MAX_COMPUTERNAME_LENGTH + 1];
  14. Replies
    2
    Views
    1,312

    I've been learning some basics on this site here,...

    I've been learning some basics on this site here, and they've been a godsend so far.
    linky :)
  15. hehe, thanks, glad you like the idea. ill quite...

    hehe, thanks, glad you like the idea.
    ill quite happily host the exe and the source once its done.
    its only a simple program but its a nice idea and would hopefully inspire others to code.

    edit:...
  16. How do I get a computer to detect its own name and hardware?

    Hello all. I'm still learning the basics of C++ and at the moment I'm working on a nice little program that lets the user 'have a conversation' with the computer. The computer asks the user various...
  17. Whaaaat it was that simple? Haha, thanks! Maybe...

    Whaaaat it was that simple? Haha, thanks! Maybe one day I'll understand what all the other stuff means, but it obviously isnt necessary for this. Brilliant stuff! Thanks a lot.
  18. Could do with help combining two working programs.

    Hello again, I've been messing around, which is my preferred way of learning. For my first program I'm making a small practical joke to play on some friends. I'm almost done, but could do with a...
  19. Replies
    11
    Views
    1,923

    Hehe, thanks joni. So while the example in the...

    Hehe, thanks joni. So while the example in the tutorial is bad programming, excluding breaks may be used on purpose for good. C++ is so much better than BASIC! Even things like having different...
  20. Replies
    11
    Views
    1,923

    Another question now.

    Hello again!
    I figured making a new thread would've been a bit of a waste of space, so I have another question here.
    It is from the quiz on "Lesson 5: Switch Case".

    Can someone tell me how when...
  21. Replies
    11
    Views
    1,923

    Yup, sorry for that, I understand now though....

    Yup, sorry for that, I understand now though. Thanks again for the help.
  22. Replies
    11
    Views
    1,923

    I see! I was just looking at your text saying "1...

    I see! I was just looking at your text saying "1 AND 0 = 0" and though erm..

    But now I see, "TRUE AND FALSE = FALSE"

    Which means "TRUE OR FALSE = TRUE"

    Thanks for helping me clear it up, I...
  23. Replies
    11
    Views
    1,923

    thanks!

    Ok thankyou, I think I get it now.
    (0 OR 1) = 1?
    I thought it was 0 OR 1, not just 1.

    Surely that is like saying blue or green is green, even though it could be blue.

    I think I do understand...
  24. Replies
    11
    Views
    1,923

    [newb] How is "!(1 && !(0 || 1))" true?

    Hello there, I've just signed up to this forum after getting confused with the 2nd quiz in the tutorial. First up I just want to say how pleased I am to have found this website, it is really great!
    ...
Results 1 to 24 of 24