View Full Version : So Easy, Yet So Complicated...
xtremcoder
04-29-2003, 10:52 PM
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 :evil:
95GTHOSS
04-30-2003, 01:15 AM
visual basic sux
learn C++
xtremcoder
04-30-2003, 01:29 AM
Originally posted by 95GTHOSS
visual basic sux
learn C++
i know C++
95GTHOSS
04-30-2003, 01:30 AM
cool, stop using vb then
xtremcoder
04-30-2003, 01:32 AM
can i use C++ w/ ASP?
DarkWolf
04-30-2003, 05:52 AM
Originally posted by xtremcoder
can i use C++ w/ ASP?
PHP is your friend :D
xtremcoder
04-30-2003, 09:18 AM
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.
01WhiteCobra
04-30-2003, 09:31 AM
Originally posted by 95GTHOSS
visual basic sux
learn C++
:rolleyes:
AbecX
04-30-2003, 07:06 PM
C is way better, and so is php. :)
xtremcoder
04-30-2003, 07:55 PM
so PHP is the open source equivalent of ASP that uses C++?
01WhiteCobra
04-30-2003, 09:03 PM
Originally posted by AbecX
C is way better, and so is php. :) :rolleyes: :rolleyes:
AbecX
04-30-2003, 10:27 PM
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.
01WhiteCobra
04-30-2003, 10:55 PM
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.
xtremcoder
04-30-2003, 11:00 PM
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 :D
AbecX
04-30-2003, 11:16 PM
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 :rolleyes: 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.
01WhiteCobra
04-30-2003, 11:19 PM
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 :rolleyes: 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?
AbecX
04-30-2003, 11:27 PM
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.
01WhiteCobra
04-30-2003, 11:29 PM
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?)
AbecX
04-30-2003, 11:43 PM
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.
01WhiteCobra
04-30-2003, 11:49 PM
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. :D
Runamuck
05-10-2003, 11:28 PM
ASP.net is way better than both.
AbecX
05-11-2003, 02:08 PM
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.... :rolleyes:
01WhiteCobra
05-11-2003, 03:45 PM
Originally posted by Runamuck
ASP.net is way better than both.
Another newbie that has writting his first hello world program.
vBulletin v3.0.6, Copyright ©2000-2008, Jelsoft Enterprises Ltd.