Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
MetascriptDex
TMHMDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man glitch
Celebi Egg glitch
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
Pokémon Game Genie codes
Disassembly projects
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

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 1391 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