-
Grand Future Air Dried Fresh Beef Dog Food
Air Dried Dog Food | Fresh Beef

Carnivore Diet for Dogs

Go Back   Automotive Forums Car Chat > Coffee Break (Off-Topic) > COMPLETELY off-topic
Register FAQ Community
COMPLETELY off-topic Talk about anything other than cars. But you can't be mad and angry in this forum!
Reply Show Printable Version Show Printable Version | Subscription Subscribe to this Thread
 
Thread Tools
  #1  
Old 02-16-2005, 08:33 PM
uranium235powered's Avatar
uranium235powered uranium235powered is offline
AF Enthusiast
 
Join Date: Nov 2004
Posts: 710
Thanks: 0
Thanked 0 Times in 0 Posts
Talking I just wrote my first program...so excited.

Yeah, I just started programming last Thursday, and I've already written my first program. Its not advanced at all, but I'm happy that it actually works the way I want it to work.

The program I wrote calculates the volume in a pyramid. It's for an assignment that's due in two weeks, but I did it just for the heck of it. I finally got Microsoft Visual Studio 6.0 to install on my computer....had to copy the AUTOEXEC.NT file from the school computers in order for setup to run on my computer.

Anyways, check it out, the website for the program is http://www.freewebs.com/hyprchrgd69/pyramid.htm and a preview of the program is located in my sig. ITS ONLY 32 KB IN SIZE...SMALLER THAN MOST OF THE IMAGES YOU SEE ON THE WEB!!! Any feedback would be appreciated.

Andrew
__________________
Quote:
Originally Posted by CassiesMan
Just be happy it wasn't one of the ultra rare Ford Mustang GT-R, with a Turbo intercooler rotary V8.
.....
Reply With Quote
  #2  
Old 02-16-2005, 08:45 PM
clawhammer's Avatar
clawhammer clawhammer is offline
AF Fanatic
 
Join Date: Oct 2004
Posts: 4,945
Thanks: 0
Thanked 0 Times in 0 Posts
Re: I just wrote my first program...so excited.

Cool. I've been programming for almost two years now. My first program was a calculator, just like the one in windows.
Reply With Quote
  #3  
Old 02-16-2005, 08:49 PM
Raz_Kaz Raz_Kaz is offline
AF Fanatic
 
Join Date: Jan 2004
Posts: 5,373
Thanks: 0
Thanked 0 Times in 0 Posts
Re: I just wrote my first program...so excited.

Visual Basics!


Man that reminds me of the good old High School days where you can make a program to just pop up with a window contaning random things in it.


Managed to piss off my teacher and get a D.
Reply With Quote
  #4  
Old 02-16-2005, 09:12 PM
tman's Avatar
tman tman is offline
Pimpin' ain't easy
 
Join Date: Nov 2002
Posts: 2,203
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to tman
Re: I just wrote my first program...so excited.

I've made dozens of programs in BASIC for the Texas Instruments TI-83, Makes math tests really easy, and not that I did this *cough* but it could help with the SAT.
__________________


Reply With Quote
  #5  
Old 02-16-2005, 09:15 PM
uranium235powered's Avatar
uranium235powered uranium235powered is offline
AF Enthusiast
Thread starter
 
Join Date: Nov 2004
Posts: 710
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Re: I just wrote my first program...so excited.

Quote:
Originally Posted by tman2093
I've made dozens of programs in BASIC for the Texas Instruments TI-83, Makes math tests really easy, and not that I did this *cough* but it could help with the SAT.
You're not serious, are you?? I've used the TI-83 or the TI-83 Plus just a half year ago...wow. Must learn my VB skills!!
__________________
Quote:
Originally Posted by CassiesMan
Just be happy it wasn't one of the ultra rare Ford Mustang GT-R, with a Turbo intercooler rotary V8.
.....
Reply With Quote
  #6  
Old 02-16-2005, 09:30 PM
tman's Avatar
tman tman is offline
Pimpin' ain't easy
 
Join Date: Nov 2002
Posts: 2,203
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to tman
Re: I just wrote my first program...so excited.

I think it's basic, it's like:
prgm Ptheorem
rompt A
rompt B
sqrt: A^2+B^2) -> C
isp "HYPOTENUSE IS"
isp C

something like that. hit up ticalc.org for all kinds of TI programs. Or write your own. I have quadratic solvers, unit circle, polynomial( + - * / factor), distance/midpoint and more games than you can shake a stick at.
__________________


Reply With Quote
  #7  
Old 02-16-2005, 10:25 PM
MBTN's Avatar
MBTN MBTN is offline
AF Enthusiast
 
Join Date: Feb 2001
Posts: 2,707
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MBTN
Re: I just wrote my first program...so excited.

I used to make math programs way back in HS on the TI-82. I sold them on the day of math finals. Made a few bucks too
__________________
Reply With Quote
  #8  
Old 02-16-2005, 10:31 PM
Oz's Avatar
Oz Oz is offline
Aussie Mod
 
Join Date: Dec 2001
Posts: 13,239
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to Oz
Re: I just wrote my first program...so excited.

Code. Boring.

(Yes Yogs. Boring.)

__________________
Quote:
Originally Posted by RaeRae1
Blessed are the cracked ones for they are the ones that let in the light.
Reply With Quote
  #9  
Old 02-16-2005, 11:06 PM
Marc-OS's Avatar
Marc-OS Marc-OS is offline
AF Enthusiast
 
Join Date: Dec 2001
Posts: 2,254
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to Marc-OS Send a message via AIM to Marc-OS
check out my sig, it's the best program I've ever written. Wrote it on my C64. I moved up to VB on my PC later, but it just wasn't the same.
__________________
10 PRINT "MARC-OS 0WNZ J00!!!"
20 GOTO 10
RUN

4/8/04 - My CRX is officially dead, RIP Lucy
Reply With Quote
  #10  
Old 02-16-2005, 11:41 PM
Damien's Avatar
Damien Damien is offline
AF Fanatic
 
Join Date: Feb 2002
Posts: 6,338
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Damien Send a message via MSN to Damien
Re: I just wrote my first program...so excited.

Ah yes, TI's and the SAT and any other freakin' test...Calculus AP exam. Hm...couldn't have done it without my programs. Also good for regular notes.
__________________
Reply With Quote
  #11  
Old 02-16-2005, 11:58 PM
'97ventureowner's Avatar
'97ventureowner '97ventureowner is offline
AF Moderator
 
Join Date: Sep 2004
Posts: 11,311
Thanks: 3
Thanked 11 Times in 10 Posts
Re: I just wrote my first program...so excited.

That looks good. I remember I had to take a computer class back in college in 1985. It was a new requirement for graduation, and I was "scared" of computers because I knew nothing about them. Well I struggled through the semester and for the final we had to write our own program. Mine wouldn't work out right and I ended up getting a "C" for the course. It is so much easier to use a computer now than 20 years ago. Back then they seemed so limited, ( and no internet!)
__________________
Thought for the Day… Alcohol does not make you fat - It makes you lean... against tables, chairs, floors, walls and ugly people.



If a prostitute here in America loses her job to a prostitute in India , is that considered "outwhoring"??-Jay Leno

" A Good Thing To Know"
Reply With Quote
  #12  
Old 02-17-2005, 01:13 AM
ec437's Avatar
ec437 ec437 is offline
AF Enthusiast
 
Join Date: Jan 2004
Posts: 3,447
Thanks: 0
Thanked 1 Time in 1 Post
Re: I just wrote my first program...so excited.

nerdddd!
__________________


SoStAsSaId: and the flight attendant is cute... if i was a lesbian, i'd join the mile high club

<---call this number
Reply With Quote
  #13  
Old 02-17-2005, 03:17 AM
Fully_Sick's Avatar
Fully_Sick Fully_Sick is offline
AF Enthusiast
 
Join Date: Jun 2004
Posts: 828
Thanks: 0
Thanked 0 Times in 0 Posts
Re: I just wrote my first program...so excited.

Programming is a "you like it" or "hate it to death".

i hate it to death
__________________
89 Toyota Corolla with 4agze conversion, zzzzzzzzzz
is that a front mount!

Kill list - Commodore VR SS 5L, 2004 Subaru WRX, every model v6 out there pretty much, nissan 180sx with ca18det, mr2 n/a
Reply With Quote
  #14  
Old 02-17-2005, 04:39 AM
chacal's Avatar
chacal chacal is offline
AF Regular
 
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Nice start. When will write a replacement for Windows?

j/k, I liked your program very much, but it shows how different computers are nowadys. When I had to do some programming at school we didn't have fancy graphics!

I have a Casio FX-850P I bought when I was at school. It has built-in mathematical and statistical functions, scientific formulas, conversions, even periodic table. Also, it is programmable - an invaluable help for some classes!

20 years later, it still works. I use it regularly and still do a bit of programming when I nedd. It is worth every penny I paid for it!
__________________
Life's hard, than you die. LIVE!
http://www.csicop.org/
Reply With Quote
  #15  
Old 02-17-2005, 10:03 AM
YogsVR4's Avatar
YogsVR4 YogsVR4 is offline
Funding the welfare state
 
Join Date: Feb 2001
Posts: 17,795
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to YogsVR4
Code huh

OZ -


If someone has a dephi 5 compiler (and knows how to add a button and to a list box -name it lb- to a form) they might find this code entertaining


procedure TForm1.Button1Click(Sender: TObject);
begin
TCharacter (1, 10000, '')
end;

function TForm1.TCharacter (Arg1, Arg2 : Integer; aPChar : PChar) : Integer;
begin
if 1 < Arg1 then begin
if Arg1 < 3 then TCharacter(-79,-13, (aPChar + TCharacter(-87,(1 - Arg2),
TCharacter(-86,0,(aPChar + 1) + aPChar));
if Arg1 < Arg2 then TCharacter((Arg1+1), Arg2, aPChar);
if (TCharacter(-94,-27 + Arg1,aPChar) <> 0) and (Arg1 = 2) then
if Arg2 < 13 then result:=TCharacter(2, (Arg2+1),'%s %d %d'#13)
else result:=9
else result:=16
end
else if Arg1 < 0 then
if Arg1 < -72 then result:=TCharacter(Arg2, Arg1, '@n''+,#''/*{}w+/w#cdnr/+,'+
'{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/''r :'''+
'd*''3,}{w+K w''K:''+}e#'';dq#''l q#''+d''K#!/+k#;q#''r}eKK#}w''r}eKK{nl]'''+
'/#;#q#n''){)#}w''){){nl]''/+#n'';d}rw'' i;# ){nl]!/n{n#''; r{#w''r nc{nl]'+
'''/#{l,+''K {rw'' iK{;[{nl]''/w#q#n''wk nw'' iwk{KK{nl]!/w{%''l##w#'' i; '+
':{nl]''/*{q#''ld;r''}{nlwb!/*de}''c ;;{nl''-{}rw]''/+,}##''*}#nc,'',#nw]'''+
'/+kd''+e}+;#''rdq#w! nr''/ '') }+}{rl#''{n'' '')# }''+}##(!!/')
else if Arg1 < -50 then
if Arg2 = Ord(aPChar^) then begin
result := Ord(aPChar[31]);
if aPChar[31] = #13 then Begin
lb.Items.Add(l);
l := '';
End
else l := l + aPChar[31];
end
else result:=TCharacter(-65, Arg2 ,(aPChar + 1))
else result := TCharacter(Ord(aPChar^='/')+ Arg1, Arg2, (aPChar + 1))
else if 0 < Arg1 then result := TCharacter(2,2,'%s')
else result := Ord((aPChar^='/') or
(TCharacter(0, TCharacter(-61,Ord(aPChar^),'!ek;dc i@bK''(q)-[w]*%n+r3#l,{}'+
':'#13'uwloca-O;m .vpbks,fxntdCeghiry'), (aPChar+1)) <> 0))
end;













__________________
Resistance Is Futile (If < 1ohm)
Reply With Quote
 
Reply

POST REPLY TO THIS THREAD

Go Back   Automotive Forums Car Chat > Coffee Break (Off-Topic) > COMPLETELY off-topic


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 02:10 AM.

Community Participation Guidelines | How to use your User Control Panel

Powered by: vBulletin | Copyright Jelsoft Enterprises Ltd.
 
 
no new posts