this is what i tried:
#include<iostream.h>
#include<conio.h>
#include<math.h>
Type: Posts; User: Demon1s
this is what i tried:
#include<iostream.h>
#include<conio.h>
#include<math.h>
i've tried for hours to make it work without a for loop but whenever i do the results dont come out right...
but i dont want to loop it... i just want to do it once
to tell you the truth, i dont have the slightess clue what a for loop is. I only know Ifs and Whiles and elifs and n00b stuff like that... could som1 plz tell me how to make it so u input the lvl...
I have BCB 6 and im using the CppWebBrowser component to show pages... but if i am in a java applet and i press delete it doesnt work (this is critical). how do i make it so it recognises delete key...
i dun want a for loop.
I want to input a number that would do the formula for that number(eg: please enter a number: (input a number) and then it calculates the formula with lvl = number you input)
ok... well anyway... can any1 answer my newer question?
the one about this formula:
http://www.maddogcarter.com/runescape/xpformula.html
except i want it like a function u call (lvl = input...
:confused: :confused: :confused:
umm this is wat i want to happen:
i have this field where u can type stuff... u press the button and lvl = the field and it does that formula and types the...
hmm... now i relized i missed like half the code :(... i got that to work but heres the full JS code:
points = 0;
outputnum = 0;
minlevel = 2;
maxlevel = 500;
oops double posted
2nd edit: actually math.h works 4 me
i get these errors:
Call to undifined function 'pow'
Illigal use of pointer
btw im using BCB 6
I found this Python formula:
(x + 300 * math.pow(2, float(x)/7) )
same formula (javascript)
Math.floor(x + 300 * Math.pow(2, x / 7))
and i want to make it a C++ formula.. im a bigginer and...
i looked on google for hours
i finally figurered out how to show a site in BCB.. with the CppWebBrowser component.
Everything is fine... except i want to disable javascript... is there any way to do this? if so plz tell me...
:confused: :confused:
?????????
:confused: :confused:
oook.... i think ill just stick to exes for now :S
Ok i have this popup menu and i have this button. This is what i want to happen:
1. i click button
2. popup menu appeares beside it
This is what i've got:
1. i click button
2. popup menu...
well what i want is my dll to contain a totally diffrent program that opens when i call the library or whatever. I dont want it to return a function. i just want it to run whats in the dll as a...
ok i have 2 projects:
1: win32 app made with borland C++ builder 6 trial which is a program that basicly just opens the second file when you click a button. this file is a .exe.
2. a consol app...
I opened a form using this command:
Form2 = new TForm2(Application);
Form2->ShowModal();
delete Form2;
(its my about menu)... now how do i close it with a ok button? what do i put in...
TYVM!! it worked!
I'm a bigginer at C++ and i just downloaded the trial version of borland C++ builder 6. I want to make a button that opens up a diffrent consol program i made but i have no clue how to do this. Could...
ok never mind i figured out how to make it work! :D
switch(sel)
{
case 1:
//selc1
system("CLS");
...
THANKS!! IT WORKED!!:D :D
1 thing though... now my exit thing doesnt work properly, is there a command called like exit or somthing i could use?
Ok i edited it to have break After every option. But now when you click an option and then exit from the option, instead of going to the next option like it did before, it just quits.
heres what...