Like Tree17Likes

Me

This is a discussion on Me within the General Discussions forums, part of the Community Boards category; Hello On other forums I belong to members introduce themselves. I cannot find a section here where I should do ...

  1. #1
    Registered User Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    650

    Me

    Hello

    On other forums I belong to members introduce themselves. I cannot find a section here where I should do that but it feels a bit uncomfortable posting when I haven't.

    I'm not a professional programmer but do a lot of programming because I find it fun. I don't know a lot of C++ but I am trying to learn. I do a lot of programming in C but I would not call myself an expert. I probably know enough to do damage but not enough to realise it. I like to think that my C programs are OK but I don't really have any benchmark to gauge that against. This is the first programming forum I have joined but I am a member of lots of photography forums.

    I guess that's a summary of me and I hope to get to know you all better.

    Thanks
    laserlight likes this.

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,681
    Welcome Hodor!

    Your experience with the other forums shall give you the attitude needed here!

    Best,
    George
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  3. #3
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    1,074
    Wait, isn't Hodor a Game of Thrones reference?

  4. #4
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    I've always found such introductions to be rather awkward, personally, like a self-help group meeting or something...just creeps me out for some reason.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  5. #5
    Registered User
    Join Date
    Jun 2011
    Posts
    2,362
    All I know is that we never usually see those who introduce themselves thusly for more than a week.

    Oh, and welcome, Hodor

  6. #6
    Registered User Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    650
    Hello and thank you everyone.

    Hodor is a Game of Thrones reference Mutant John. Actually it's a reference from the books because I haven't watched GoT but it's the same thing.

    Sebastiani: Hodor!

  7. #7
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    1,074
    Code:
    std::string & Hodor = Game_of_Thrones;

  8. #8
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,681
    Quote Originally Posted by MutantJohn View Post
    Code:
    std::string & Hodor = Game_of_Thrones;
    Nope. I haven't watch it, but I have heard that Hodor is a character that is part of the Game of thrones.

    As a result you should write
    Code:
    class Game_of_Thrones{
    public:
              ....
    private:
             ....
             std::string Hodor;
    };
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  9. #9
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    Code:
    #include<vector>
    #include<string>
    #include<algorithm>
    class Realm
    {
        public:
        //...
        std::vector<std::string> characters;
    };
    int main()
    {
        Realm gameOfThrones;
        std::string& hodor = *std::find(gameOfThrones.characters.begin(),gameOfThrones.characters.end(),"hodor");
    }
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  10. #10
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    1,074
    You guys completely missed the point of my code post. What I meant was, Hodor is a reference to Game of Thrones. Gedit?

  11. #11
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    What a bunch of geeks you guys are. Sheesh.
    Hodor and manasij7479 like this.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  12. #12
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,627
    Quote Originally Posted by std10093 View Post
    Code:
    class Game_of_Thrones{
    public:
              ....
    private:
             ....
             std::string Hodor;
    };
    Correction
    Code:
    class Game_of_Thrones{
    public:
              ....
    private:
             ....
             
             std::string Walder, Hodor;
    
             Game_of_Thrones(){
                      Hodor = Walder;
             }
    };
    Hodor likes this.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  13. #13
    Registered User Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    650
    Quote Originally Posted by Yarin View Post
    Correction
    Code:
    class Game_of_Thrones{
    public:
              ....
    private:
             ....
             
             std::string Walder, Hodor;
    
             Game_of_Thrones(){
                      Hodor = Walder;
             }
    };
    Whoa, somebody knows their show / books!

  14. #14
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,727
    So, Hodor is a copy of Walder, and both are empty?
    Sebastiani and Hodor like this.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  15. #15
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by laserlight View Post
    So, Hodor is a copy of Walder, and both are empty?
    puts("These boys clearly spend most of their time honing their programming skills. One thing is for certain, no-one could ever say of them: 'Those guys? They're just a bunch of gaming fanatics!'"+0x86);
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21