Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitch
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

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!

Search Wiki

 

Search Forums

 

Author Topic: Does Anyone Know C++?  (Read 1132 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

Maralis

  • Formerly Mugendai/Kyoukipichi
  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Yuuka Kazami from Touhou
    • 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;
}
64 color palette:

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