I am currently working on some webpages through www.bravehost.com and I need some help on some stuff.
I am too lazy to make a crapload of html files on my computer and then upload them all to the server, so I am going to attempt to create them in my C++ IDE, which is Codeblocks.
I need to enter a number for the name of the file (i.e. 1 for 1.html, and 2 for 2.html, and so on) until I type a void number to exit the loop. I need to make around 30 files. The files need to contain:
The spell/101.html needs to be a variable, the one that I typed in, and each file needs to be saved under the same name. I do know a bit of C++, but I'm still kinda sketchy on a few things. I just barely got back into when I found out that I can use the using namespace std; function to use cin and cout functions.Code:<html> <head> <title>Redirection</title> <meta http-equiv="refresh" content="0; url=http://guild.the-reincarnation.com/encyclopedia/spell/101.html"> </head> <body bgcolor="black"> <h2 style="color:white">Redirecting</h2> </body </html>
I am not 100% sure on the loops or the output functions, but that's why I posted in here .