+ 3

Using C++

hello I was wondering if someone could write me an example if possible of a c++ code that out puts a website

4th Jun 2017, 11:34 PM
Josh Marks
Josh Marks - avatar
9 Réponses
+ 1
@Jay I am with you, it is a great idea. An idea that would take a long of time, effort, and skill to make.
4th Jun 2017, 11:41 PM
Manual
Manual - avatar
+ 7
Do you mean the site as it appears or just the source code? It depends on the OS but for the code I have done it in Java and it is simple because of Java libs. If you want to do it in Windows in c++ you need to learn about Winsock, create sockets and make some GET requests on the web site server to retrieve the pages.
5th Jun 2017, 1:32 AM
Karl T.
Karl T. - avatar
+ 5
anytime! welcome to the c++ club btw.
4th Jun 2017, 11:45 PM
jay
jay - avatar
+ 4
#include <iostream> using namespace std; int main() { cout << "https://www.google.com.au/"; return 0; }
4th Jun 2017, 11:37 PM
jay
jay - avatar
+ 3
@Josh No problem.
5th Jun 2017, 2:40 AM
Manual
Manual - avatar
+ 2
@Josh That is a very advanced to complete. I am sure it exists and is possible, but, I think it would take a skilled programmer or team of programmers to create that.
4th Jun 2017, 11:37 PM
Manual
Manual - avatar
+ 2
@Manual: Agreed. A single page might not be so difficult. but a whole site.
4th Jun 2017, 11:38 PM
jay
jay - avatar
+ 2
just really a curious question, I'm kinda new at c++, took it in high school several years ago, now trying to get back into it and learn, but thank you guys for your answers and help!!
4th Jun 2017, 11:43 PM
Josh Marks
Josh Marks - avatar
0
@Josh Why do you ask? Is it something you want to make?
4th Jun 2017, 11:40 PM
Manual
Manual - avatar