Charas-Project

Off-Topic => Really Old Stuff => Archive => General programming => Topic started by: Drighton on August 20, 2005, 02:35:17 PM

Title: The best program EVAR in History
Post by: Drighton on August 20, 2005, 02:35:17 PM
#include

main()
{
    cout << "Hello World!";
    return 0;
}

****************************************

ShaZza! Feelz my skillz!


... okay, i'm bored.
Title:
Post by: Drace on August 20, 2005, 02:51:44 PM
0.o What the?
Title:
Post by: Drighton on August 20, 2005, 03:00:20 PM
oi*

ok, the code your looking at is C++

When you begin programming in any language, the book/tutorial/class/teacher will usually begin with what is known as a "Hello World" program, which is code to simply write the words "Hello World" on the screen. It is the most ridiculous program ever made, but everone knows of it because they have to write it when they begin learning a new language.

I've written a Hello World program in Pascal, C++, and Visual Basic. Sorry, i guess this topic just went over everyone's head...





just bob your head with these guys
Title:
Post by: Osmose on August 20, 2005, 03:26:48 PM
Most of the people here are RPG Maker people, and thus don't know anything of a real coding language. Sticking this in General Programming would probably fend off people who don't understand it.

Grats on learning your first C++ program, though. Now try bringing it out of DOS and into Windows. :P
Title:
Post by: Drighton on August 20, 2005, 03:31:02 PM
Quote
Originally posted by Osmose
Most of the people here are RPG Maker people, and thus don't know anything of a real coding language. Sticking this in General Programming would probably fend off people who don't understand it.

Grats on learning your first C++ program, though. Now try bringing it out of DOS and into Windows. :P



This was more of a humor topic. I took C++ in high school and actually began my current project in C++ (this was before DirectX came into the picture. VGA coding for graphics *shudder*).

P.S. creating a window made my brain melt.
Title:
Post by: Osmose on August 20, 2005, 03:40:48 PM
You see, that's why I never got why so many people idolize C++ over VB. I mean, yes, it is the "easier" choice, but it also handles OOP structure cleaner. Everything just looks way more organized, and you don't have to include every little library to do a simple task like showing text.

It's good to learn C++, but not really my ideal choice for development.
Title:
Post by: Drighton on August 20, 2005, 03:47:29 PM
Rah!

Wholeheartedly agree. However, when it comes down to frame-rates C++ would be better. With VB you have so much running in the background that your program slows down.

I choose not to use C++ because somewhere in high school in missed the lecture on 'pointers', and am now totally lost in the language. :(

What do you use VB for Osmose?
Title:
Post by: Osmose on August 20, 2005, 04:35:21 PM
Different things. I was going to make the game me and my friend were planning in it, but he wanted to use his C++ skills he's learning in school. I also made an atmospheric maturity program for my friend in it.

You know, random things.
Title:
Post by: DragonBlaze on August 20, 2005, 04:42:56 PM
Hehe, I'll be taking computer programing in a few weeks, now I'll already know the first lesson, mwahahaha!
Title:
Post by: Osmose on August 20, 2005, 05:02:07 PM
Quote
Originally posted by Jessica Squirrel
so ya you know a bit of c++. and? I think its snobby to just post things like that knowing only some people would understand.


Or he could be, y'know, starting a conversation on coding.
Title:
Post by: White Dwarf on August 20, 2005, 05:08:18 PM
Quote
Originally posted by Jessica Squirrel
so ya you know a bit of c++. and? I think its snobby to just post things like that knowing only some people would understand.


Well Game maker's come here. some people might use propper coding to make games instead of the RM2K/3 you would exspect at least one person to do that. or at least know C++ so this thread is ok. Plus he was bored.
Title:
Post by: Drighton on August 20, 2005, 09:15:03 PM
Quote
Originally posted by Jessica Squirrel
so ya you know a bit of c++. and? I think its snobby to just post things like that knowing only some people would understand.


"There's nothing more exhilerating than pointing out the shortcomings of others, is there? " - Randal, Clerks
Title:
Post by: Trevlac on August 20, 2005, 09:25:05 PM
Quote
Originally posted by Jessica Squirrel
so ya you know a bit of c++. and? I think its snobby to just post things like that knowing only some people would understand.


Ironic that it wasn't Osmose that said it.

But let me tell you that it isn't snobby.  If I posted a topic about FF7 and (let's assume) most people hadn't played it, that's not snobby, it is starting a conversation.

I havn't had much dealings in C++ because I skipped it and went to C# (C sharp).  I like C#...sorta...
Title:
Post by: Goatulon on August 20, 2005, 10:11:18 PM
Yeah, this pretty much just shot straight over my head. But the plus signs make the program name so pretty.
Title:
Post by: GaryCXJk on August 20, 2005, 11:03:17 PM
You guys are just a bunch of stiffheads. Then again, only programmers understand this joke.
Title:
Post by: Drighton on August 20, 2005, 11:13:22 PM
perhaps we should speak in code :p

Main()
{
 for x:=0 to infinity
 {
  if (charas == true) and (cool = true)
  {
   people.cheer = true
   cheer.duration = x
  }
 }
}
Title:
Post by: White Dwarf on August 20, 2005, 11:39:34 PM
I have so got to kill you...
Title:
Post by: Drighton on August 20, 2005, 11:44:00 PM
Invulnerability(char* user)
{
 if (user == Drighton)
 {
   Drighton.invincible = true
   Drighton.unstoppable = true
   Drighton.AchillesHeel = false
 }
 WhiteDwarf.NerfDegree = 90
 Debuff (WhiteDwarf)

 BeginDuel(Drighton, WhiteDwarf)
}

Main()
{
Invulnerability(Drighton)
}
Title:
Post by: Drace on August 20, 2005, 11:54:00 PM
You know what! *cuts of Drighton's hands*
Title:
Post by: FFL2and3rocks on August 20, 2005, 11:57:20 PM
This topic makes my brain hurt.
Title:
Post by: Osmose on August 21, 2005, 02:28:34 AM
Public Sub Moose_birth
Moose.awesome = true
end sub

public sub World_Exist
k = 1
do while k = 1
if Moose.awesome = true
people.worshop(Moose)
else
impossible = true
k = 0
end if
loop
if impossible = true then
World.end
end if
end sub

Public Sub World_end
World.hide
end sub
Title:
Post by: Drighton on August 22, 2005, 06:30:47 PM
Quote
Originally posted by Osmose

Public Sub World_end
World.hide
end sub


LMAO. VB works just as well :p
Title:
Post by: Osmose on August 22, 2005, 08:23:58 PM
Yeah, I hate that. Half of the time the windows don't close completely. CAN'T MICROSOFT MAKE A CLEAR SUBROUTINE FOR EXITING A PROGRAM?!
Title:
Post by: Drighton on August 22, 2005, 08:36:54 PM
You could just type 'End' to exit the program.

Unless you just want to close a form, then use 'Form1.Unload', when Form1 is you Form name. :p

If you hide a form, I believe it remains in memory (along with any data in text boxes and the like), just not visible (i think... correct me if I'm wrong).
Title:
Post by: DarkFlood2 on September 18, 2005, 01:59:57 AM
Man, you guys are kidding yourselves.

Java = bestest best programming language ever!!  :D
Title:
Post by: Osmose on September 28, 2005, 07:58:24 PM
Java is nasty.

...deja vu?