Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 gui program...
Index -> Programming, Turing -> Turing Help
Goto page 1, 2, 3, 4  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Prince




PostPosted: Wed Apr 16, 2003 10:35 am   Post subject: gui program...

k im workin on a gui form of permutations & combinations and its not workin wen i put values into the text boxes (only finds p & c for 1 and 1 Confused )
if anyone can help it would b greatly appreciated

*note: problem solved
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Wed Apr 16, 2003 4:57 pm   Post subject: (No subject)

i whode help but my gui files are messed up form trying to modifley them Embarassed . hopfully some one eltes will be able to figer it out.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Prince




PostPosted: Wed Apr 16, 2003 9:49 pm   Post subject: (No subject)

is anyone here good with gui's?
Leafs Fan




PostPosted: Thu Apr 17, 2003 2:47 pm   Post subject: (No subject)

what school do u go to prince?
Prince




PostPosted: Thu Apr 17, 2003 4:43 pm   Post subject: (No subject)

i go to milliken... y?
MysticAngel




PostPosted: Sat Apr 19, 2003 9:09 pm   Post subject: (No subject)

Hey prince did u figure it out what the problem was
Blade




PostPosted: Sat Apr 19, 2003 9:11 pm   Post subject: (No subject)

Prince wrote:
is anyone here good with gui's?

delta is awesome with gui's
Prince




PostPosted: Sun Apr 20, 2003 12:54 pm   Post subject: (No subject)

no mystic i still havnt figured it out yet... delta if ur readin this can u plz help me out
MysticAngel




PostPosted: Tue Apr 22, 2003 9:59 am   Post subject: (No subject)

prince.. i dont know but u know the first part of the code where u declare the variables.. n and r and then u gave it a value. maybe there's the problem. cuz u said that both the values are 1. shodnt you put it to the values that are inputed ???
Prince




PostPosted: Tue Apr 22, 2003 10:05 am   Post subject: (No subject)

im tryin but that doesnt seem to b workin either cus now there ar other variables (that need n and r) that dont hav any values
MysticAngel




PostPosted: Tue Apr 22, 2003 10:11 am   Post subject: (No subject)

It seems that u have given all the variables the same value (in ur case 1)
so if u change the value of n and r where u declared it to say 2, then the answer too is 2. If see if can assign the value for n and r the value that is inputed through the text box.
Prince




PostPosted: Tue Apr 22, 2003 10:18 am   Post subject: (No subject)

how tho... im tryin to figure it out but i cant
MysticAngel




PostPosted: Tue Apr 22, 2003 10:19 am   Post subject: (No subject)

U dont have that thing called as GetPositiveInteger do u? u think that would help?
Prince




PostPosted: Tue Apr 22, 2003 10:33 am   Post subject: (No subject)

not in a gui... i dont think so anyway... mayb i should try that
jamez




PostPosted: Tue Apr 22, 2003 1:09 pm   Post subject: (No subject)

hmm?

you can use the function abs which returns positive al lthe time

x:=abs(-100)
x is 100

x:=abs(100)
x is 100
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 4  [ 53 Posts ]
Goto page 1, 2, 3, 4  Next
Jump to:   


Style:  
Search: