HomemadeTurbo - DIY Turbo Forum

HomemadeTurbo - DIY Turbo Forum (https://www.homemadeturbo.com/)
-   General Discussion (https://www.homemadeturbo.com/general-discussion-6/)
-   -   programming (https://www.homemadeturbo.com/general-discussion-6/programming-39801/)

Dell 05-20-2005 07:39 AM

programming
 
how do write a visual basic program that has the similar function as a PMT function in microsoft excel, as9ahm

jinxy 05-20-2005 07:52 AM

Re: programming
 
whats that function do in excel and i might be able to tell you

Dell 05-20-2005 08:00 AM

Re: programming
 
Its the PMT function the one that finds you the amount of loan payments you have to pay monthly by giving the interest, principle , rate, as9ahm

88crxSi 05-20-2005 08:16 AM

Re: programming
 
do a google search for it.. lots of online calculators.

n2o_2k 05-20-2005 09:48 AM

Re: programming
 
It shouldn't be hard to implement as long as you got the formulas (you can post it here and we can go from there)

88crxSi 05-20-2005 11:15 AM

Re: programming
 
just create a form w/ text boxes then just have a button that does all the calcs.

search google for formulas.

fork 05-20-2005 06:02 PM

Re: programming
 
what I would do is type in the address of a computer bullshit forum and ASK THERE or somewhere you have more than 4 posts

Dr.Boost 05-20-2005 06:06 PM

Re: programming
 
What in the ---- is going on around here? I think we need some porn posted or something. :-\
__________________
Best Car Insurance | Auto Protection Today | FREE Trade-In Quote

Honda16hb 05-20-2005 06:06 PM

Re: programming
 
#include <stdio.h>
int main(void)
{
char s[40];
printf("all your base are belong to us\n")
printf("Input what to take off all of: ");
scanf("%s",s);
if (strcmp(s,"zig")==0)
printf("correct\n");
else
printf("you suck\n");
return(0);
}

J-SMITH69 05-20-2005 06:14 PM

Re: programming
 
infinite loops

while (dellsQuestion == "stupid"){
System.out.println("FIND A PROGRAMMING WEBSITE");
}

PoorMansPorsche 05-20-2005 07:08 PM

Re: programming
 
get out of here with this ----.. this isnt www.homemadedomy-------homework.com

redteg94 05-20-2005 08:38 PM

Re: programming
 
www.planetsourcecode.com
free sources

kain 05-20-2005 09:26 PM

Re: programming
 

Originally Posted by Kyle
#include <stdio.h>
int main(void)
{
char s[40];
printf("all your base are belong to us\n")
printf("Input what to take off all of: ");
scanf("%s",s);
if (strcmp(s,"zig")==0)
printf("correct\n");
else
printf("you suck\n");
return(0);
}

peter@linux:~/Desktop> sh 666.c
666.c: line 2: syntax error near unexpected token `('
666.c: line 2: `int main(void)'
peter@linux:~/Desktop>


J-SMITH69 05-20-2005 09:42 PM

Re: programming
 

Originally Posted by kain

Originally Posted by Kyle
#include <stdio.h>
int main(void)
{
char s[40];
printf("all your base are belong to us\n")
printf("Input what to take off all of: ");
scanf("%s",s);
if (strcmp(s,"zig")==0)
printf("correct\n");
else
printf("you suck\n");
return(0);
}

peter@linux:~/Desktop> sh 666.c
666.c: line 2: syntax error near unexpected token `('
666.c: line 2: `int main(void)'
peter@linux:~/Desktop>


missed a ; on lkine 2 :-p

kain 05-20-2005 09:50 PM

Re: programming
 
int m=754974721,N,t[1<<24],a,*p,i,e=30295789,j,s,b,c,U;f(d){for(s=1<<23;s;s/=2,d=
d*1LL*d%m)if(s<N)for(p=t;p<t+N;p+=s)for(i=s,c=1;i; i--)b=*p+p,p=(m+*p-p)
*1LL*c%m,*p++=b%m,c=c*1LL*d%m;for(j=0;i<N-1;){for(s=N/2;!((j^=s)&s);s/=2);if(++i
<j)a=t[i],t[i]=t[j],t[j]=a;}}main(){*t=2;U=N=1;while(e/=2){N*=2;U=U*1LL*(m+1)/2%
m;f(362);for(p=t;p<t+N;)*p++=*p*1LL**p%m*U%m;f(415 027540);for(a=0,p=t;p<t+N;)a+=
*p<<(e&1),*p++=a%10,a/=10;}while(!*--p);t[0]--;while(p>=t)printf("%d",*p--);}

see if your computer likes that one. lol.

randome, please explain, its clearly there.

oo now i see it. damn you.

kain 05-20-2005 09:54 PM

Re: programming
 
peter@linux:~/Desktop> gcc -o allyourbase ayb.c
peter@linux:~/Desktop> ./allyourbase
all your base are belong to us
Input what to take off all of: lol
you suck
peter@linux:~/Desktop> ./allyourbase
all your base are belong to us
Input what to take off all of: your such a dumbass!!
you suck
peter@linux:~/Desktop>

J-SMITH69 05-20-2005 09:59 PM

Re: programming
 
i hate c

#include <stdio.h>

int main(void){

char ans[80];

printf("Kain is a pimp? [y/n] ");
scanf("%s", ans);

if(strcmp(ans, "y") == 0){
printf("\nVery smart you are\n");
}
else{
printf("\nLuke i am your father.\n");
}

return 0;

}

Boost Creep 05-20-2005 10:04 PM

Re: programming
 

Originally Posted by Dr.Boost
What in the ---- is going on around here? I think we need some porn posted or something. :-\

http://www.we-todd-did-racing.com/we...MXk1NDE%3D.jpg

kinda weak i know :-\

J-SMITH69 05-20-2005 10:08 PM

Re: programming
 
basic owns

DIM kain$


CLS
INPUT "Is Kain a pimp [y/n] ", kain$
SELECT CASE kain$
CASE "y":
PRINT "You are a bionic nerd, made from parts of lesser nerds."
CASE ELSE:
PRINT "How do you explain HMT to your invisible gf?"
END SELECT

END


kain 05-20-2005 10:21 PM

Re: programming
 

Originally Posted by random-strike
PRINT "You are a bionic nerd, made from parts of lesser nerds."

lol.

you stole that from the starwars video.


lbl 1
disp "Randome strike is gay"
goto 1

stenseltizm 05-21-2005 10:22 AM

Re: programming
 
speaking of programming, any of you know how to design a simple computer board? I have a basic schematic for what I need it to do, I just need someone that can choose the necessary components, design the board, and write a simple program for the board to perform a few functions.

I have one currently, but I don't like the way the guy designed it, and he's a stubborn pain in the ass to work with. Plus I can't change the code, cause it's compiled into a .hex file, and I don't know how to change it.

If anyone seriously knows how to do this stuff, or knows someone that does, let me know. It is for my company, so of course I am not expecting ---- for free.

The original program I have was done in Visual, but I wouldn't care what programming language it's done in as long as you could prove that it works, is reliable, and is layed out logically. His was none of those, especially wasn't logical. So when we needed a simple change, it would take forever cause he would have to rewrite the whole thing.


All times are GMT -5. The time now is 03:23 PM.


© 2024 MH Sub I, LLC dba Internet Brands