A Roblox Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A Roblox Community

A community of Robloxians who want to learn to script and build on Roblox Studio.
 
HomeLatest imagesRegisterLog in
If you're a experienced coder make some tutorials! It would really help the site grow.
Make sure you read the rules(Which can be found by clicking here)
If you're a beginner at coding, try some tutorials.
We have many Moderators/Admins watching this site. Contact them with Questions.
Let us know what your favorite sport is. By clicking here to vote (Click here)
This site is becoming inactive. Lets make it active.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
blueymaddog
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
naknak
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
Supernapalm
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
m27frogy
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
slayer9365
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
myrco919
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
branefreez
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
ninga95
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
CloneTrooper787
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
raboy117
Another C++ Script Vote_lcapAnother C++ Script Voting_barAnother C++ Script Vote_rcap 
Top posting users this month
No user
Latest topics
» Where to go from here.
Another C++ Script EmptySeptember 14th 2020, 1:20 pm by MrNicNac

» Send me an Email
Another C++ Script EmptySeptember 14th 2020, 1:16 pm by MrNicNac

» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]
Another C++ Script EmptyJuly 6th 2015, 7:38 pm by m27frogy

» New Site Possibly
Another C++ Script EmptyJuly 6th 2015, 4:16 pm by m27frogy

» Ambassador!
Another C++ Script EmptyApril 15th 2015, 11:40 pm by naknak

» Boop - Tag
Another C++ Script EmptyApril 13th 2015, 9:46 pm by naknak

» Vip Class Script
Another C++ Script EmptyApril 13th 2015, 4:54 pm by naknak

» Who's active?!
Another C++ Script EmptyApril 13th 2015, 4:52 pm by naknak

» Genesis Point
Another C++ Script EmptyJuly 17th 2014, 7:04 pm by branefreez

» Reward System
Another C++ Script EmptyJuly 17th 2014, 5:41 am by m27frogy

» Script Request
Another C++ Script EmptyJuly 10th 2014, 11:43 am by naknak

» local scripts?
Another C++ Script EmptyJuly 10th 2014, 11:39 am by naknak

» Project: Reconstruction [Died]
Another C++ Script EmptyJuly 10th 2014, 11:36 am by naknak

» Hi. I am new here
Another C++ Script EmptyApril 26th 2014, 4:01 pm by altshiftkey

» What's your favorite sport?
Another C++ Script EmptyJanuary 1st 2014, 2:13 pm by m27frogy

» FlashLight Script
Another C++ Script EmptyJanuary 1st 2014, 2:11 pm by m27frogy

» Gun Making! [READ DESC]
Another C++ Script EmptyJanuary 1st 2014, 2:10 pm by m27frogy

» Hi, I am new here!
Another C++ Script EmptyNovember 26th 2013, 3:33 pm by Keanu73

» Improve Coding
Another C++ Script EmptyOctober 26th 2013, 1:12 pm by pook03

» Simple Button
Another C++ Script EmptySeptember 1st 2013, 6:19 pm by branefreez


 

 Another C++ Script

Go down 
+2
Supernapalm
ninga95
6 posters
AuthorMessage
ninga95
Administrator
Administrator
ninga95


Posts : 122
Join date : 2010-07-30
Age : 28

Another C++ Script Empty
PostSubject: Another C++ Script   Another C++ Script EmptyFebruary 23rd 2011, 3:11 am

Make sure you have Dev-C++ downloaded, then compile and run this code.


Code:
#include <iostream>
#include <cmath>

int main ()
{
using namespace std;
int answers;
cout << "How old is ya mom?" << endl;
do {
cin >> answers;
if (answers > 35)
  cout << "Too High!" << endl;
else if (answers < 35)
    cout << "Too Low" << endl;
else
    cout << "Correct!" << endl;
} while (answers != 35);
system("pause");
return 0;
}

This will bring a output up when you runs it, and it asks you how hold ya mom is if ya post less then 35 it prints too low, and if you post greater then 35 then it prints TOO high, but if ya put 35 it prints correct, and also if ya keep getting it wrong then ya gotta keep doing it,

I learned C++ rather quickly and on my 20th tutorial, but if ya need help on some C++ then i can definitely help you.
Back to top Go down
Supernapalm
Expert Scripter
Expert Scripter
avatar


Posts : 393
Join date : 2011-01-17

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyFebruary 25th 2011, 11:11 pm

im going to learn C, which i think ill go with rather than C++
Back to top Go down
http://hackthissite.org
ninga95
Administrator
Administrator
ninga95


Posts : 122
Join date : 2010-07-30
Age : 28

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyFebruary 26th 2011, 11:34 pm

C, and C++ basically the same

Just two different languages and slightly different syntax.
Back to top Go down
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyFebruary 26th 2011, 11:45 pm

I got a C++ key logger :D
Back to top Go down
ninga95
Administrator
Administrator
ninga95


Posts : 122
Join date : 2010-07-30
Age : 28

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyFebruary 27th 2011, 12:01 am

Can u see the link? ?
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 25

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyMarch 8th 2011, 6:54 am

what does the cmath file do?
Back to top Go down
Guest
Guest
avatar



Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyMarch 8th 2011, 2:14 pm

O.o, what tutorial did it take you #20 to do that? Only, like, #8 on the ones I used, I was well into pointers. You should go to a faster paced tutorial.
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 25

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyMarch 9th 2011, 6:24 am

what's the point of including the cmath file when you don't even use it?
Back to top Go down
ninga95
Administrator
Administrator
ninga95


Posts : 122
Join date : 2010-07-30
Age : 28

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyApril 2nd 2011, 1:24 pm

cmath library allow you to use every math function C++ provides

You may see things like

#include but in this case we use #include for all math functions.
Back to top Go down
myrco919
Intermediate Scripter
Intermediate Scripter
myrco919


Posts : 190
Join date : 2011-01-21
Age : 25
Location : Holland

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyApril 2nd 2011, 6:04 pm

Another C++ Script?

*Sigh* :c
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 25

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyApril 2nd 2011, 7:13 pm

ninga95 wrote:
cmath library allow you to use every math function C++ provides

You may see things like

#include but in this case we use #include for all math functions.

i know that but there's no point of including it if you don't even use any of the math functions in the code. you may as well include all the other library's if your going to do that.
Back to top Go down
ninga95
Administrator
Administrator
ninga95


Posts : 122
Join date : 2010-07-30
Age : 28

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyApril 3rd 2011, 6:32 pm

Quote :

i know that but there's no point of including it if you don't even use any of the math functions in the code. you may as well include all the other library's if your going to do that.

^^ I know, but i am use to including cmath header a lot while programming anything in C++.
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 25

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyApril 4th 2011, 3:04 am

i guess it's kinda a good library, what functions are in the lib?
Back to top Go down
ninga95
Administrator
Administrator
ninga95


Posts : 122
Join date : 2010-07-30
Age : 28

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyApril 6th 2011, 8:23 pm

What do you mean? Like what other function's can you include?
Back to top Go down
myrco919
Intermediate Scripter
Intermediate Scripter
myrco919


Posts : 190
Join date : 2011-01-21
Age : 25
Location : Holland

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyApril 7th 2011, 4:45 pm

>.<
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 25

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyApril 12th 2011, 9:44 am

no I mean like what are the functions in the library is there like sqrt, ceil, floor, cuberoot.

all of those functions I could make myself. :P
Back to top Go down
Guest
Guest
avatar



Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyAugust 6th 2011, 1:22 am

blueymaddog wrote:
i guess it's kinda a good library, what functions are in the lib?


Documentation of the cmath lib can be found here

c
plus
plus.com
/
ref
ere
nce/
cli
bra
ry/c
math/

"
New members are not allowed to post external links or emails for 7 days. Please contact the forum administrator for more information."
RRRRAAAAGGGEEE
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 25

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyFebruary 12th 2012, 4:06 am

your allowed to post offsite stuff here as long as it abides by the rules.
Back to top Go down
branefreez
Intermediate Scripter
Intermediate Scripter
branefreez


Posts : 143
Join date : 2012-07-14

Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script EmptyJuly 15th 2012, 2:37 pm

Heres a JavaScript code that may scare some people (note: I DID NOT MAKE THIS):

Code:
<script>
<!-- Fake virus and format made by Coolmale at MasterMinds Forever -->
<!-- Please don't copy this without giving the proper credit -->
window.onerror=null;
var down;

function Minutes(data) {
        for(var i=0;i<data.length;i++)
                if(data.substring(i,i+1)==":")
                break; 
                return(data.substring(0,i));
}

function Seconds(data) {       
        for(var i=0;i<data.length;i++)
                if(data.substring(i,i+1)==":")
                break; 
                return(data.substring(i+1,data.length));
}

function faketake(percent1){
 if(percent1 < 100){
  percent1++;

  window.status="Upload of virus in progress: "+percent1+"% complete";
  fid1=window.setTimeout("faketake("+percent1+")",200)



 } else {
//  alert("Upload of hard drive complete.  Thank you for your donation.\nNow deleting files...");
  fid1=window.setTimeout("fakeformat(0)",200);



 }
}

function fakeformat(percent){
  if(percent < 100){
    percent++;
    window.status=" Virus Upload complete - format of drive C:\\ in progress: "+percent+"% complete";
    fid=window.setTimeout("fakeformat("+percent+")",360); // 900
  } else {
    window.status="Virus DeActivated... Closing Browser."; window.close()
    }
}

window.setTimeout('faketake(-1)',200);

// end hiding -->
</script>

<SCRIPT LANGUAGE="JavaScript">

<!-- ;

alert("HEY YOU");
alert("LOOK DOWN IN THE LEFT HAND CORNER");
alert("SEE THAT?");
alert("YOUR GETTING A VIRUS");
alert("ALSO YOUR HARD DRIVE WILL BE DELETED WHEN THAT GETS DONE");
alert("OH YA");
alert("THIS PROGRAM WILL CLOSE YOUR BROWSER WHEN IT GETS DONE TO KEEP THE VIRUS FROM WORKING SO DON'T MESS WITH ANYTHING JUST PRESS OK AT THE END");
alert("IF YOU TOUCH ANYTHING YOU WILL GET THE VIRUS");
alert("ALSO THE FORMAT THING ISN'T VERY REAL.");
alert("IT ONLY GETS RID OF A FEW SYSTEM FILES");
alert("SO NO BIGGIE");
alert("JavaVirus made by Coolmale");

// end hide -->

</SCRIPT>
Back to top Go down
http://www.roblox.com/User.aspx?ID=22724483
Sponsored content





Another C++ Script Empty
PostSubject: Re: Another C++ Script   Another C++ Script Empty

Back to top Go down
 
Another C++ Script
Back to top 
Page 1 of 1
 Similar topics
-
» The Local Script: A Robloxian's Worst Nightmare
» C++ script
» Script Help
» Something wrong with this script?
» local script help:

Permissions in this forum:You cannot reply to topics in this forum
A Roblox Community :: Questions and Help :: Scripting-
Jump to: