google-site-verification: googlebaca44933768a824.html .WiRED's Test App - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

.WiRED's Test App

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    .WiRED's Test App

    Hey guys, this is my second day into C++.

    I've done a real small HelloWorld application.. Just output's user selection.


    No flamez0rs on me kthx :D


    Code:
    #include <iostream>
    
    using namespace std;
    
    
    main()
    {
    Start: // Goto statement
    
        int choice = 0;
    
    
        cout << "What account do you wish to get? Enter 1 or 2" << endl; // Asking for user Input
        cin >> choice;
        
    
        if (choice == 1) // If statement - Choice 1
        {
    
            cout << "Username: 11" << endl;
            cout << "Password: 11" << endl;
        }
    
        else if (choice == 2) // If statement - Choice 2
        {
    
            cout << "Username: 22" << endl;
            cout << "Password: 22" << endl;
    
        }
    
        cout << " " << endl; // Adding space for organisation.
    
    goto Start; // Goto Statement
    
    return 0; 
    
    }
    Attached Files





    (8:22:27 AM) Aspire: and i noticed your good at programming
    (8:22:41 AM) czkb: bs im nubcake
    νзηοма: cu later i have to bomb jerusalem from toilet
    [root@project7 ~]# whoami
    root

    #2
    NOOOB
    Jk ... good that you're actually attempting to learn c++ rather than c+p. :)

    Comment


      #3
      Originally posted by Crypt View Post
      NOOOB
      Jk ... good that you're actually attempting to learn c++ rather than c+p. :)
      Indeed..

      But even C+P requires basic knowledge, because you get errors if you just paste it anywhere.


      Cheers,
      .WiRED





      (8:22:27 AM) Aspire: and i noticed your good at programming
      (8:22:41 AM) czkb: bs im nubcake
      νзηοма: cu later i have to bomb jerusalem from toilet
      [root@project7 ~]# whoami
      root

      Comment


        #4
        Hehe....id rather take a class and get certified
        in c++ ---- i tend to ask allot of questions....
        anyways good start.......you should learn
        to use ollydbg and other apps first if you plan to hack. ^^
        Buy
        _______________________________________________

        Comment


          #5
          Originally posted by Lrrpdude View Post
          you should learn
          to use ollydbg and other apps first if you plan to hack. ^^
          Why's that?


          Cheers,
          .WiRED





          (8:22:27 AM) Aspire: and i noticed your good at programming
          (8:22:41 AM) czkb: bs im nubcake
          νзηοма: cu later i have to bomb jerusalem from toilet
          [root@project7 ~]# whoami
          root

          Comment


            #6
            Told ya on msn ;)
            Buy
            _______________________________________________

            Comment


              #7
              Originally posted by .WiRED
              Hey guys, this is my second day into C++.

              I've done a real small HelloWorld application.. Just output's user selection.


              No flamez0rs on me kthx :D


              Code:
              #include <iostream>
              
              using namespace std;
              
              
              main()
              {
              Start: // Goto statement
              
                  int choice = 0;
              
              
                  cout << "What account do you wish to get? Enter 1 or 2" << endl; // Asking for user Input
                  cin >> choice;
                  
              
                  if (choice == 1) // If statement - Choice 1
                  {
              
                      cout << "Username: 11" << endl;
                      cout << "Password: 11" << endl;
                  }
              
                  else if (choice == 2) // If statement - Choice 2
                  {
              
                      cout << "Username: 22" << endl;
                      cout << "Password: 22" << endl;
              
                  }
              
                  cout << " " << endl; // Adding space for organisation.
              
              goto Start; // Goto Statement
              
              return 0; 
              
              }

              it looks liike your willing to make a good stab at this.
              all the best to you on your project, not just for the hacking like.
              i mean for coding in general.

              i take a guess that you are using dev c++ or something, if your going for c++
              i do suggest that you get visual studio for development (2003),
              if you write that same applicaition as about in VS you will see the differences
              and updated things/

              Code:
              cout << "the number is: " << number << endl;
              
              printf("the number is: %i", number");
              good luck

              ka0s?

              (one free internet to those that can post a back slash ( opposite / )
              Last edited by ( oO' ); 09-06-2008, 12:57 PM.

              sigpic

              -=[ http://kaos.99k.org ]=-

              czkb: yay but for now i still understand half of the half of the quarter of the half of what i must know.
              [email protected] (E-mail Address Not Verified) says:
              http://www.youtube.com/user/ka0s99k#p/f/70/iK9bhyl6B_E
              J says:
              can we please accomplish something

              Comment


                #8
                Thanks mate.

                Yeah I've got the Visual Studio 2003 version.


                Cheers,
                .WiRED





                (8:22:27 AM) Aspire: and i noticed your good at programming
                (8:22:41 AM) czkb: bs im nubcake
                νзηοма: cu later i have to bomb jerusalem from toilet
                [root@project7 ~]# whoami
                root

                Comment


                  #9
                  i use visual studio 2008. but i'm not doing hacks or anything like that
                  as i plan on majoring in physics, i'm working on fortran and c++ code, but im just a high school senior so i haven't really gotten into it yet
                  all i've coded in c++ is just some simple conversion tools based upon the celsius to fahrenheit converter that was shown to me in that c++ for dummies

                  Skilled in HTML, XHTML, Photoshop, GIMP, MS Paint, Halo PC Modding
                  Learning Fortran, C, C++, and maybe CS:S Modding

                  Comment


                    #10
                    Originally posted by crisis View Post
                    i use visual studio 2008. but i'm not doing hacks or anything like that
                    as i plan on majoring in physics, i'm working on fortran and c++ code, but im just a high school senior so i haven't really gotten into it yet
                    all i've coded in c++ is just some simple conversion tools based upon the celsius to fahrenheit converter that was shown to me in that c++ for dummies
                    oh good man, another scientist in the making.

                    well, your laughting with 2008. even express will surpass. in addition to that,
                    theres a games engine with it, so you got a 3d environment out of the bag.
                    've used bullet physics within a project before, and the engine mainly consists
                    of code so its well worth a look.

                    i'm into the games dev side of things, and having to do the physics for a hover car was vIntresting to say the least.

                    sigpic

                    -=[ http://kaos.99k.org ]=-

                    czkb: yay but for now i still understand half of the half of the quarter of the half of what i must know.
                    [email protected] (E-mail Address Not Verified) says:
                    http://www.youtube.com/user/ka0s99k#p/f/70/iK9bhyl6B_E
                    J says:
                    can we please accomplish something

                    Comment


                      #11
                      well done for your first try! :smiley_880:
                      ps: i am nearly at the same level at the moment, i started a long while earlier but had no time to code/learn more :(

                      Comment


                        #12
                        Originally posted by chaotix View Post
                        oh good man, another scientist in the making.

                        well, your laughting with 2008. even express will surpass. in addition to that,
                        theres a games engine with it, so you got a 3d environment out of the bag.
                        've used bullet physics within a project before, and the engine mainly consists
                        of code so its well worth a look.

                        i'm into the games dev side of things, and having to do the physics for a hover car was vIntresting to say the least.
                        i've seen the demo of cuda on nvidia's site, but as im just a novice, im afraid to even go into that level of code
                        interestin to see how you can simulate effects (such as steam flowin around a ball) with just computer code

                        Skilled in HTML, XHTML, Photoshop, GIMP, MS Paint, Halo PC Modding
                        Learning Fortran, C, C++, and maybe CS:S Modding

                        Comment


                          #13
                          your not storing username / passwords. use APSTRING functions for those if your just starting.

                          Comment


                            #14
                            :P:smiley_880:






                            gibs coins @
                            1KatP9B8KG7mvcoFhdLGua1isG88nYZE8C

                            Comment


                              #15
                              Thx v3n :p

                              Cheers,
                              .WiRED





                              (8:22:27 AM) Aspire: and i noticed your good at programming
                              (8:22:41 AM) czkb: bs im nubcake
                              νзηοма: cu later i have to bomb jerusalem from toilet
                              [root@project7 ~]# whoami
                              root

                              Comment


                                #16
                                thanks for sharing

                                Comment


                                  #17
                                  niiiice :D
                                  Pressing thanks helps alot!

                                  Comment

                                  Working...
                                  X