Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch
Tweaking
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Does Anyone Know C++?  (Read 1434 times)

0 Members and 1 Guest are viewing this topic.

Blaster.A

  • C++ Programmer
  • GCLF Member
  • Offline Offline
  • Gender: Male
    • View Profile
Does Anyone Know C++?
« on: December 12, 2008, 11:32:18 pm »
I Was Just Wondering If Anyone Knows C++, Because I Do.



-Yes I Made That Myself

Fivex

  • Member+
  • *
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Does Anyone Know C++?
« Reply #1 on: December 12, 2008, 11:37:31 pm »
Not fully

Blaster.A

  • C++ Programmer
  • GCLF Member
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Does Anyone Know C++?
« Reply #2 on: December 12, 2008, 11:39:16 pm »
Wait I Thought You Didn't Want To Learn C++ Give Me Some Code



-Yes I Made That Myself

Fivex

  • Member+
  • *
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Does Anyone Know C++?
« Reply #3 on: December 12, 2008, 11:43:04 pm »
I don;t know any C++
I was saying you didn't know it fully.

Blaster.A

  • C++ Programmer
  • GCLF Member
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Does Anyone Know C++?
« Reply #4 on: December 12, 2008, 11:43:36 pm »
Yea Not Fully But Pretty Damn Well



-Yes I Made That Myself

Sasara

  • Princess of schizophrenia *cat yawns*
  • Banned
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Does Anyone Know C++?
« Reply #5 on: December 12, 2008, 11:48:32 pm »
I know some C.

Code: [Select]
#include <stdio.h>

int main()
{
    int a, b, c, d;
    printf("Enter the first value:\n");
    scanf("%d", &a);
    if ((a != 1337) && (a != 666))
    {
        b = 1337;
        printf("f**k you, we'll go my way. It'll be %d.\n", b);
    }
    else
    {
        b = a;
    }
    printf("Enter the second value:\n");
    scanf("%d", &a);
    if ((a == b) || ((a != 1337) && (a != 666)))
    {
        if (b == 1337)
        {
            c = 666;
        }
        else if (b == 666)
        {
            c = 1337;
        }
        printf("f**k you, we'll go my way. It'll be %d.\n", c);
    }
    else
    {
        c = a;
    }
    d = b + c;
    printf("%d + %d = %d\n", b, c, d);
    if (d == 2003)
    {
        printf("%d + %d = %d?! OMFG.\n", b, c, d);
    }
    return 0;
}

Blaster.A

  • C++ Programmer
  • GCLF Member
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Does Anyone Know C++?
« Reply #6 on: December 12, 2008, 11:50:45 pm »
Nice, I Haven't Really Worked With C But I Might Learn It Sometime....But I Use C++ For Making Some-What Good Programs, I Was Working On A RPG In C++ But I Stopped For Some Reason



-Yes I Made That Myself