Thread: Hehehh

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 32
  1. #16
    ғᴜᴋᴏᴊʀ's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    1,557
    Reputation
    87
    Thanks
    141
    My Mood
    Inspired
    Quote Originally Posted by Nubzgetkillz View Post
    Idk.

    Code:
    #include <iostream>
    using namespace std;
    
    class Learn {
        int c++, english;
      public:
        void Knowledge(int,int);
        int learn() {return (c++*english);}
    };
    
    void Learn::Knowledge (int cplusplus.com, int elementaryschool) {
      x = cplusplus.com;
      y = elementaryschool;
    }
    
    int main () {
      Learn stuff;
      stuff.Knowledge (c++,english);
      cout << "You Learned: " << stuff.learn();
      return 0;
    }
    This code might actually work
    It won't compile . c++ and english don't have int values. So next time try doing
    Code:
    int c++ = 0
    Code:
    int english = 0
    Pl34ze f1x codez for meh. I iz shtupid and i cann0tz compilez thiz shitz


    [IMG]https://i186.photobucke*****m/albums/x253/Rypleys/MNC/biohazard2.jpg[/IMG]

    MPGH in 5 words:

    Quote Originally Posted by ZEROProJect View Post
    1 in a million community

  2. #17
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by -TwEaK View Post


    It won't compile . c++ and english don't have int values. So next time try doing
    Code:
    int c++ = 0
    Code:
    int english = 0
    Pl34ze f1x codez for meh. I iz shtupid and i cann0tz compilez thiz shitz
    Well you cant assign Variables in side a class stuff unless its in the class constructor

  3. #18
    Apoc91's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    35
    My Mood
    Twisted
    Quote Originally Posted by whit View Post


    Well you cant assign Variables in side a class stuff unless its in the class constructor
    Technically you can't define a name with ambiguous characters, in this case '+' and also it's best to initiate variables in the initializer list =)

    Code:
    class Test
    {
    private:
        int x;
    public:
        Test() : x(3) 
        {
        }
    };
    Just a quick C++ tip -- it's not directed towards you lol, just quoted you to show what I was talking about :P

  4. #19
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by Apoc91 View Post
    Technically you can't define a name with ambiguous characters, in this case '+' and also it's best to initiate variables in the initializer list =)

    Code:
    class Test
    {
    private:
        int x;
    public:
        Test() : x(3) 
        {
        }
    };
    Just a quick C++ tip -- it's not directed towards you lol, just quoted you to show what I was talking about :P
    The code you posted is exactually what im talking bout

  5. #20
    ғᴜᴋᴏᴊʀ's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    1,557
    Reputation
    87
    Thanks
    141
    My Mood
    Inspired
    Oh whit WB I missed yew
    Btw stop the flameoff with the choob. He's just a... Oh wait...

    RAGE FLAME
    TROLOLOL UP THE ASS


    [IMG]https://i186.photobucke*****m/albums/x253/Rypleys/MNC/biohazard2.jpg[/IMG]

    MPGH in 5 words:

    Quote Originally Posted by ZEROProJect View Post
    1 in a million community

  6. #21
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    The code i posted was crap and not good

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  7. #22
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  8. #23
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by -TwEaK View Post
    Oh whit WB I missed yew
    Btw stop the flameoff with the choob. He's just a... Oh wait...

    RAGE FLAME
    TROLOLOL UP THE ASS
    Come on guys we all know i dont flame..

  9. #24
    detroyd's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    38
    Reputation
    10
    Thanks
    10
    Quote Originally Posted by whit View Post


    i bet you gotta little penis..
    At least i got a penis

  10. #25
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by detroyd View Post
    At least i got a penis
    Nice come back..Musta took you a minute..

  11. #26
    ғᴜᴋᴏᴊʀ's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    1,557
    Reputation
    87
    Thanks
    141
    My Mood
    Inspired
    Quote Originally Posted by whit View Post


    Come on guys we all know i dont flame..
    I wuz juzt j0king wit y3w
    I iz gunna startz talkinz like thiz. id iz funz to typez thiz


    [IMG]https://i186.photobucke*****m/albums/x253/Rypleys/MNC/biohazard2.jpg[/IMG]

    MPGH in 5 words:

    Quote Originally Posted by ZEROProJect View Post
    1 in a million community

  12. #27
    seeplusplus's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Massachusetts
    Posts
    329
    Reputation
    8
    Thanks
    85
    Learn C++, and don't come back until you are pro!
    Goals:
    Green = Done
    Blue = Getting Somewhere
    Red = Not Done
    • Mouse Grid
    • PTC Method
    • Trigger Bot

    I'm trying to think of more stuff!

  13. #28
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    Quote Originally Posted by whit View Post


    Nice come back..Musta took you a minute..
    No. It took him at least 35 minutes based on the posting times. derp.

  14. #29
    z0mbie-'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    Spain
    Posts
    16
    Reputation
    10
    Thanks
    19
    Download a base like with combined base, its easy to use. : )

  15. #30
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    Brazilian lazy is all the same, search, study!!
    Last edited by Alessandro10; 12-02-2010 at 05:31 AM.

Page 2 of 3 FirstFirst 123 LastLast