Type: Posts; User: morrowasted
Search took 0.01 seconds.
i fixed all those things, ill remember them for the future, but my program is still returning a different answer than the other program :o
thanks for that. i actually figured out my own (much sloppier) version that I think I will use because the prof. might be suspicious about all that stuff we havent covered in class yet :o
this is what i have so far...
//By Gregory Bradshaw
I'm new to c++ and pretty new to programming in general. I'm trying to create a program that simply finds the number between 1 and 1000 with the most divisors that produce no remainder.
September 5th, 2004, 07:12 PM
Let me first say, I know very little about C++. I'm a PHP/Visual Basic programmer. However, for the purposes of the program I'd like to make, speed is essential. Essentially, I want a brute force...
September 5th, 2004, 11:35 AM
Slim Thug, Mike Jones, Paul Wall -- Still Tippin' :cool:
September 5th, 2004, 11:32 AM
If you have access to PHP on your server, you can just use the nifty nl2br() function :).
September 5th, 2004, 11:29 AM
You can take the simple route and just tell the form page to call itself, and include the PHP script above the form.
February 21st, 2004, 11:53 AM
:P i was just about to post that i had changed it to that and it worked
February 21st, 2004, 11:35 AM
okay.. well.. that did something
if i use "f" then it does calculate-- however, all it does is add 32 to the input_temp.
if i use "c", im still just getting zero.
here is the code now:
February 21st, 2004, 11:18 AM
okay, im a long time VB programmer, and its a big switch over to c++.
anyway, i've been attempting to make a celsius to fahrenheit converter, and this what i've come up with:
December 17th, 2003, 09:57 PM
**** kasracer its a small world!
December 3rd, 2003, 10:11 PM
morrow from the game morrowind which wasted an entire summer of my life
December 3rd, 2003, 10:08 PM
easily done in php using
setcookie('name, 'variable', time_to_cancel);
( more info here)
on the next page
December 3rd, 2003, 10:03 PM
count the number of downloads for a particular user? you could store all the users in a MySQL DB and each time it is downloaded, increment a value in their row by one. This COULD all be done through...
November 14th, 2003, 10:53 PM
how are you getting a message box at all, you're using ' instead of "!?
November 14th, 2003, 10:48 PM
wouldnt it be easier just to not allow window resizing?
November 11th, 2003, 07:20 PM
im not sure i understand exactly...
i dont think you can subtract a variabel from itself, for one.
two, i think it would need to look like this:
intPVE= Val(intPVE-rnd* (0*intAJ))
November 8th, 2003, 05:41 PM
okay okay okay its possible...
but there aren't that many legitimate reasons for it, so i was telling him no.
what you need to do is make a link basically to open the text file, place the...
November 8th, 2003, 02:39 PM
November 6th, 2003, 07:09 AM
isnt there a showModal property? try it, i'm almost certain there is.
November 4th, 2003, 06:42 PM
November 4th, 2003, 07:18 AM
I can honestly say I have NEVER heard of XSP...
whats wrong with PHP or ASP or even a client-side?
November 4th, 2003, 07:16 AM
Well I'm not exactly sure how a keylogger works, but cant you just capture each sepcific event? example...
If KeyCode=vbKeyEnter Then
'Right here, i guess it uses file handling, but you can...
November 3rd, 2003, 10:04 PM
how exactly are you doing it?
Open DOS, and do
C:\mysql\bin\>mysql.exe -uUSERNAME -pPASSWORD
Welcome to the MySQL DB blah blah blah...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!