Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i don't know java,html or css language. but i have knowledge c and c++ language
so,how to form website

What I have tried:

thats my summer project to make a website. but i don't get how to make it without any knowledge of html and css.
Posted
Updated 4-Jul-17 23:20pm
Comments
Stefan_Lang 21-Aug-19 4:08am    
As a militant C++ programmer who hates Java, I still have to tell you that for the purpose of making a website, Java is the right tool for the job! There are alternatives, but since you already know C++, getting into Java should be very easy.

Trying this with C/C++ is like trying to hammer a cube through a round hole. With sufficient energy you might make it work, but nobody will appreciate the result.

Here you will find a good set of tutorials for all what is needed for websites.
W3Schools Online Web Tutorials[^]

Try Google for more.
 
Share this answer
 
Your knowledge is not going to help you create a website: you don't use either C or C++.
You need HTML / Javascript at the client side, and probably either VB / C# or PHP at the server side.

You can start creating a website with just client side code: W3Schools Online Web Tutorials[^] will get you started, but for more flexibility (and anything remotely resembling security) you will need server side code as well: ASP.NET Overview[^] is a place to start.

Or ... there are "website builders" available: w3schools tutorial - Google Search[^] but frankly, they don't produce anything you'd really want to use in the real world, beyond a basic site.
 
Share this answer
 
If your ultimate aim is to write a website then, as mentioned, you're going to have to learn html and css as a minimum. That will get you a static website, but if you need a site that is dynamic (ie it "does things") then you'll need a server-side language too to generate the dynamic html. Again if simply making a site is your aim then you're better learning a language that can be used with one of the off-the-shelf web building frameworks such as PHP (for use on Apache) or c# for using with asp.net and IIS.

If, however, your aim is to broaden your c/c++ skills and you want to build a website then you'll need to do pretty much everything from scratch yourself. You'll need to know socket programming so you can listen for requests and respond to them, probably multi-threading to make it work smoother. Then you'll need to learn the HTTP protocol so you can understand the requests browsers make and how to construct the appropriate response to send back.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900