C++ vs. HTML

This is a discussion on C++ vs. HTML within the C++ Programming forums, part of the General Programming Boards category; Hello all! I've just started taking an intro to C++ course and I'd like to know if C++ is the ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    6

    Wink C++ vs. HTML

    Hello all!

    I've just started taking an intro to C++ course and I'd like to know if C++ is the same as HTML or not.



  2. #2
    Unregistered
    Guest

    Nope

    Sorry, but they are not. HTML is used for designing webpages; while, C++ is used for designing programs. They also use different language because of their different purposes.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    6

    Thumbs up

    Thank you!

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    6

    Unhappy Another question on HTML/C++

    Ok, one more question about this..is it easy to learn..and where would I use C++ in Web Development?

    Thanks ( I hate to be a bother)

  5. #5
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    With HTML you can build webpages only.
    With C++ you can build whole programs.

    You cannot use C++ in web dvelopment. Well, you could, but that would take too much time and work for a small result easier achieved with other languages like PHP or ASP.

    It's a very complex language. You can do almost everything with it, but being powerful also means being hard to master. I can't decide if it will be easy for you to learn C/C++. You will have to test that out yourself. But I can tell you that it's very rewarding.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  6. #6
    Registered User
    Join Date
    Sep 2001
    Posts
    412
    HTML is solely formatting, not programming -- there's a world of difference. HTML is unlike any programming language because all programming languages have similarities, and markup languages are not even close to programming languages.

    C++ isn't very useful in web development (although Java, which is 99% the same as C++, is). C++ is reasonably easy to learn.

  7. #7
    Registered User
    Join Date
    Nov 2001
    Posts
    6

    Lightbulb alrighttty then..

    If I have this right then C programming is useful...will it make it easoer to to learn Java?? I'm taking night classes to eventually led to Web Development and this was an optional course sooo...

    I do appreciate you being patient with me and my silly questions.

    Petitmenu

  8. #8
    Registered User
    Join Date
    Sep 2001
    Posts
    412
    If you know C++, Java is a piece of cake. There are some minor differences, mostly because Java is entirely object-oriented (C++ supports object oriented programming, but does not require that you use it). If you start off knowing C (which has no OOP capabilities) you could pick up Java in two weeks or so. Starting off knowing C++ (and knowing OOP), you could probably learn Java in a few days.

    Of course, how long it takes to learn Java depends on how well you know C/C++, so it's hard to say exactly how easy/hard Java would be. If you learn how to do either C or C++ well, you can be sure that Java will be quite easy, however.

  9. #9
    Registered User
    Join Date
    Nov 2001
    Posts
    6

    Talking thanks!

    Thak you very much..you may see me here over the next couple of weeks asking for assistance

  10. #10
    Registered User ivandn's Avatar
    Join Date
    Oct 2001
    Posts
    49
    C/C++ can be used and is used for web programming with CGI. However, like everyone else said other languages are easier to learn and more custom tailored to the web. If you are interested in engineering or software development c/c++ is one of the best. If your main focus is web, it is probably not worth the considerable investment required to learn C++ (in my opinion). For web programmers new to programming I would reccommend starting with ASP or PHP or JavaScript as it will be the most usefull the soonest to you and if you like coding you can learn more languages later.
    Ivan

  11. #11
    Registered User
    Join Date
    Nov 2001
    Posts
    6

    Cool WOW!

    WOW- Thanks for the info....AS I'm already in the C programming class ( 4 more classes to go) but this does shed some light on what to take next....I'm doing this one course at a time at night.

    Thanks for the input and like I said before - you will see me around with some of the oddest questions!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please Help - C code creates dynamic HTML
    By Christie2008 in forum C Programming
    Replies: 19
    Last Post: 04-02-2008, 08:36 PM
  2. Writing an HTML Preprocessor
    By thetinman in forum C++ Programming
    Replies: 1
    Last Post: 09-17-2007, 09:01 AM
  3. Design + HTML
    By orbitz in forum C Programming
    Replies: 8
    Last Post: 11-21-2002, 06:32 AM
  4. Drop-Down Nav menu error - HTML
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 10-05-2002, 10:25 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21