So Easy, Yet So Complicated... - DFWstangs Forums
 
LinkBack Thread Tools Display Modes
post #1 of 23 (permalink) Old 04-29-2003, 09:52 PM Thread Starter
 
Join Date: Mar 2003
Posts: 1,394
So Easy, Yet So Complicated...

this is the ouput:

from temp: 20
from inventory: 100
fromTemp is NOT less than fromInv

of this code:

http://24.167.84.56/code.txt

what am i doing wrong? ive looked this stupid code over and over... but i dont find the mistake

Last edited by xtremcoder; 04-29-2003 at 09:54 PM.
xtremcoder is offline  
Sponsored Links
Advertisement
 
post #2 of 23 (permalink) Old 04-30-2003, 12:15 AM
 
Join Date: Jul 2002
Posts: 179
visual basic sux

learn C++
95GTHOSS is offline  
post #3 of 23 (permalink) Old 04-30-2003, 12:29 AM Thread Starter
 
Join Date: Mar 2003
Posts: 1,394
Quote:
Originally posted by 95GTHOSS
visual basic sux

learn C++
i know C++
xtremcoder is offline  
 
post #4 of 23 (permalink) Old 04-30-2003, 12:30 AM
 
Join Date: Jul 2002
Posts: 179
cool, stop using vb then
95GTHOSS is offline  
post #5 of 23 (permalink) Old 04-30-2003, 12:32 AM Thread Starter
 
Join Date: Mar 2003
Posts: 1,394
can i use C++ w/ ASP?
xtremcoder is offline  
post #6 of 23 (permalink) Old 04-30-2003, 04:52 AM
You lookin' at mah EYE?!
 
DarkWolf's Avatar
 
Join Date: May 2000
Location: Portland, OR
Posts: 8,316
Quote:
Originally posted by xtremcoder
can i use C++ w/ ASP?
PHP is your friend

DarkWolf
Graphic Design / Photography / Web Design
DarkWolf is offline  
post #7 of 23 (permalink) Old 04-30-2003, 08:18 AM Thread Starter
 
Join Date: Mar 2003
Posts: 1,394
figured it out... vb wasnt the problem... and C++ wasnt the anser.

heres the deal. in the table, i had the Qty and Quantity fields set to TEXT. so the fromTemp and fromInv variables contained text.... so when i compared 20 and 100.... 2 > 1

DOH! Took me a while to figure that out, but I fixed it.
xtremcoder is offline  
post #8 of 23 (permalink) Old 04-30-2003, 08:31 AM
No Cerveza... No Trabajo
 
01WhiteCobra's Avatar
 
Join Date: Jun 2002
Location: Where's my beer?
Posts: 21,924
Quote:
Originally posted by 95GTHOSS
visual basic sux

learn C++
01WhiteCobra is offline  
post #9 of 23 (permalink) Old 04-30-2003, 06:06 PM
¯\(º_o)/¯
 
AbecX's Avatar
 
Join Date: Nov 2001
Location: Las Colinas
Posts: 25,373
C is way better, and so is php.
AbecX is offline  
post #10 of 23 (permalink) Old 04-30-2003, 06:55 PM Thread Starter
 
Join Date: Mar 2003
Posts: 1,394
so PHP is the open source equivalent of ASP that uses C++?
xtremcoder is offline  
post #11 of 23 (permalink) Old 04-30-2003, 08:03 PM
No Cerveza... No Trabajo
 
01WhiteCobra's Avatar
 
Join Date: Jun 2002
Location: Where's my beer?
Posts: 21,924
Quote:
Originally posted by AbecX
C is way better, and so is php.
01WhiteCobra is offline  
post #12 of 23 (permalink) Old 04-30-2003, 09:27 PM
¯\(º_o)/¯
 
AbecX's Avatar
 
Join Date: Nov 2001
Location: Las Colinas
Posts: 25,373
Quote:
Originally posted by xtremcoder
so PHP is the open source equivalent of ASP that uses C++?
php is better then asp, they really arent comparable imho, its like comparing a oldsmobile alero to a Z06 Vette.
AbecX is offline  
post #13 of 23 (permalink) Old 04-30-2003, 09:55 PM
No Cerveza... No Trabajo
 
01WhiteCobra's Avatar
 
Join Date: Jun 2002
Location: Where's my beer?
Posts: 21,924
Quote:
Originally posted by AbecX
php is better then asp, they really arent comparable imho, its like comparing a oldsmobile alero to a Z06 Vette.
Lol.

Go ahead, tell me all about the Z06 Vette. So I can tell you how wrong you are.

If you are doing email forms, hell yea, use PHP.
01WhiteCobra is offline  
post #14 of 23 (permalink) Old 04-30-2003, 10:00 PM Thread Starter
 
Join Date: Mar 2003
Posts: 1,394
Quote:
Originally posted by 01WhiteCobra
Lol.

Go ahead, tell me all about the Z06 Vette. So I can tell you how wrong you are.

If you are doing email forms, hell yea, use PHP.
i can send emails all day long using ASP... check it out...
http://24.167.84.56/mail
xtremcoder is offline  
post #15 of 23 (permalink) Old 04-30-2003, 10:16 PM
¯\(º_o)/¯
 
AbecX's Avatar
 
Join Date: Nov 2001
Location: Las Colinas
Posts: 25,373
Quote:
Originally posted by 01WhiteCobra
Go ahead, tell me all about the Z06 Vette. So I can tell you how wrong you are.
Reasons why PHP > ASP

1. Speed.
2. Better memory managment when comapred to IIS4, IIS 5 is better but you cant run it on WinNT 4.0
3. Its free.
4. Matched with mysql, its just, well, bad ass.
5. Its closer to C style programming, people like familier.
6. If something fucks up in asp ( exploits etc.. ), you have to wait for people at microsoft to fix it If something fucks up in PHP, its probably already fixed and you just need to upgrade.
7. PHP can run on damn near any system, asp can not.
8. PHP gives you a bigger penis, asp actually makes your current one smaller.
AbecX is offline  
post #16 of 23 (permalink) Old 04-30-2003, 10:19 PM
No Cerveza... No Trabajo
 
01WhiteCobra's Avatar
 
Join Date: Jun 2002
Location: Where's my beer?
Posts: 21,924
Quote:
Originally posted by AbecX
Reasons why PHP > ASP

1. Speed.
2. Better memory managment when comapred to IIS4, IIS 5 is better but you cant run it on WinNT 4.0
3. Its free.
4. Matched with mysql, its just, well, bad ass.
5. Its closer to C style programming, people like familier.
6. If something fucks up in asp ( exploits etc.. ), you have to wait for people at microsoft to fix it If something fucks up in PHP, its probably already fixed and you just need to upgrade.
7. PHP can run on damn near any system, asp can not.
1. Speed? Like I said in simple e-mail forms. Do some transactional programming.
2. Better memory management than IIS 4? Anyone serious about web development hasn't used IIS 4 since 2000.
3. Big freaking deal.
4. Matched with mysql, do some serious transactional support.
5. Closer to C style? Try .net.
6. If something fucks up in ASP, its your own damn fault.
7. Who cares?
01WhiteCobra is offline  
post #17 of 23 (permalink) Old 04-30-2003, 10:27 PM
¯\(º_o)/¯
 
AbecX's Avatar
 
Join Date: Nov 2001
Location: Las Colinas
Posts: 25,373
Quote:
Originally posted by 01WhiteCobra
1. Speed? Like I said in simple e-mail forms. Do some transactional programming.
2. Better memory management than IIS 4? Anyone serious about web development hasn't used IIS 4 since 2000.
3. Big freaking deal.
4. Matched with mysql, do some serious transactional support.
5. Closer to C style? Try .net.
6. If something fucks up in ASP, its your own damn fault.
7. Who cares?
ASP is better then PHP, I was wrong.
AbecX is offline  
post #18 of 23 (permalink) Old 04-30-2003, 10:29 PM
No Cerveza... No Trabajo
 
01WhiteCobra's Avatar
 
Join Date: Jun 2002
Location: Where's my beer?
Posts: 21,924
Quote:
Originally posted by AbecX
ASP is better then PHP, I was wrong.
Ain't better. But it ain't worse.

What support does PHP have for server farms (i.e. like the project I'm working on now, where we have 10 servers serving up the same code?)
01WhiteCobra is offline  
post #19 of 23 (permalink) Old 04-30-2003, 10:43 PM
¯\(º_o)/¯
 
AbecX's Avatar
 
Join Date: Nov 2001
Location: Las Colinas
Posts: 25,373
Angry

I'm to busy puking up misc stuff right now to even think straight

It uses session variables usually stored on a database server when on a server farm.
AbecX is offline  
post #20 of 23 (permalink) Old 04-30-2003, 10:49 PM
No Cerveza... No Trabajo
 
01WhiteCobra's Avatar
 
Join Date: Jun 2002
Location: Where's my beer?
Posts: 21,924
Quote:
Originally posted by AbecX
I'm to busy puking up misc stuff right now to even think straight

It uses session variables usually stored on a database server when on a server farm.
Cool.

There is some built in support now for multiple servers in ASP/.Net/.Whatever now.

But, when I need to carry across servers in ASP, I use the exact same method still.

?SID=12deDHfeaFh1238344Dhww is a familiar looking query string in my apps.
01WhiteCobra is offline  
post #21 of 23 (permalink) Old 05-10-2003, 10:28 PM
Punk Ass Newbie
 
Join Date: Apr 2003
Posts: 70
ASP.net is way better than both.
Runamuck is offline  
post #22 of 23 (permalink) Old 05-11-2003, 01:08 PM
¯\(º_o)/¯
 
AbecX's Avatar
 
Join Date: Nov 2001
Location: Las Colinas
Posts: 25,373
Quote:
Originally posted by Runamuck
ASP.net is way better than both.
BAHAHAHAHAH please explain how its better... You must've just got back from your MCSE meeting....
AbecX is offline  
post #23 of 23 (permalink) Old 05-11-2003, 02:45 PM
No Cerveza... No Trabajo
 
01WhiteCobra's Avatar
 
Join Date: Jun 2002
Location: Where's my beer?
Posts: 21,924
Quote:
Originally posted by Runamuck
ASP.net is way better than both.
Another newbie that has writting his first hello world program.
01WhiteCobra is offline  
Sponsored Links
Advertisement
 
Reply

Bookmarks

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the DFWstangs Forums forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome