+ 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
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.
+ 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.
+ 5
anytime! welcome to the c++ club btw.
+ 4
#include <iostream>
using namespace std;
int main() {
cout << "https://www.google.com.au/";
return 0;
}
+ 3
@Josh
No problem.
+ 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.
+ 2
@Manual: Agreed. A single page might not be so difficult. but a whole site.
+ 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!!
0
@Josh
Why do you ask?
Is it something you want to make?