Page 1 of 2

Made a website with html. What code should I move on to now?

Posted: Fri Nov 21, 2008 9:12 pm
by Levio91
Falco recommended html and I know how to use that now (thanks btw that was alot of fun.) . What should I move on to now? I am pretty sure I cant figure out c++ yet.

Here is a webpage I made open it with notepad rename to (something.htm) and change the save type to all files, then change the properties so it opens with a browser.

Code: Select all

<html>
   <head>
        <title>Dave Chappelle should have a late night talk show</title>
   </head>
   <body bgcolor="lime">
      <a href="http://www.urbangamers.org" target="_blank">
	<img src="http://i192.photobucket.com/albums/z204/levio91/Dave-1.jpg" border="0" alt="Photobucket">
	</a>
      <h1><strong>Dave Chappelle should have a late night talk show.</strong></h1>
      <p>I think Dave Chappelle should get a late night talk show because
      <ol>
         <li>Great comedean</li>
         <li>A minority</li>
         <li>Unbelievably clever</li>
         <li>great stage presence</li>
         <li>Great impressions / acting</li>
         <li>Great work ethic</li>
      </ol>
      </p>
	<object width="425" height="344">
		<param name="movie" value="http://www.youtube.com/v/Teq8-3Xitxc&hl=en&fs=1"></param>
		<param name="allowFullScreen" value="true"></param>
		<param name="allowscriptaccess" value="always"></param>
		<embed src="http://www.youtube.com/v/Teq8-3Xitxc&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed>
	</object>
      <br>
      <a>Email me at Levio91@gmail.com</a>
      </body>
   </html>

Re: Done with html what should I move on to?

Posted: Sat Nov 22, 2008 9:50 am
by dandymcgee
Hey, nice webpage. The Dave Chappelle video was hilarious.

If you really want to move onto something more than HTML without going directly to something as difficult as C++, I would recommend finding some sort of scripting language to learn.

Personally I started off with AutoIt ( http://www.autoitscript.com/ ), but there are a ton of others out there. Maybe try googling "scripting languages" and see what you can find.

Re: Made a website with html. What code should I move on to now?

Posted: Sun Nov 23, 2008 12:56 pm
by PixelP
Try perl or python.

Re: Made a website with html. What code should I move on to now?

Posted: Sun Nov 23, 2008 7:05 pm
by Arce
I'd suggest BASIC of some kind, hontesly...

BlizPlus? VB? Some of my starters.

Re: Made a website with html. What code should I move on to now?

Posted: Sun Nov 23, 2008 9:13 pm
by avansc
NO! NO! NO!

dont fuck around, if you want to be a programmer go with one of these. i'll why i say them, and at the end i'll say why you dont have to start with something basic.

Java - if you are interested in making GUI apps that are cross platform and that does not have to be supper fast of effiecient, 90 percent of pregrams will run perfectly fine in java, as well as games. atleast any game we could make. it has a huge library of functions thats nice, it has alot of support.

C - this is for the seriouse programmer, OS's, filesystems, firewalls. etc. proven history

C++ - probably the best in terms of finally getting a job in the CSC field.

C# - same as java for the most part. i dont like it at all, but id pick it over java(thats just because im a C fanboy, java is a eccelent programming lang)

okay, the reason i say just start with one of these is because starting with something like basic would be like if you wanted to learn to drive, you strarted with a golf cart. yeah the mechanics are the same, but the feel is just not. C is really easy, get a good desk reference and your fine. the hardest part about programming is not the languages, but the concepts. i mean i have been programming for 7+ years. and im still learning things. (just for your info, i started on pascal, then C) dont be afraid of langauges like C, Java and alike.you can do it!

Re: Made a website with html. What code should I move on to now?

Posted: Mon Nov 24, 2008 5:48 am
by unholysavagery
avansc wrote:NO! NO! NO!

dont fuck around, if you want to be a programmer go with one of these. i'll why i say them, and at the end i'll say why you dont have to start with something basic.

Java - if you are interested in making GUI apps that are cross platform and that does not have to be supper fast of effiecient, 90 percent of pregrams will run perfectly fine in java, as well as games. atleast any game we could make. it has a huge library of functions thats nice, it has alot of support.

C - this is for the seriouse programmer, OS's, filesystems, firewalls. etc. proven history

C++ - probably the best in terms of finally getting a job in the CSC field.

C# - same as java for the most part. i dont like it at all, but id pick it over java(thats just because im a C fanboy, java is a eccelent programming lang)

okay, the reason i say just start with one of these is because starting with something like basic would be like if you wanted to learn to drive, you strarted with a golf cart. yeah the mechanics are the same, but the feel is just not. C is really easy, get a good desk reference and your fine. the hardest part about programming is not the languages, but the concepts. i mean i have been programming for 7+ years. and im still learning things. (just for your info, i started on pascal, then C) dont be afraid of langauges like C, Java and alike.you can do it!
Agreed, I used to program basic and I can tell you it was a wast of time. Just start learning C++ now, there is no reason to learn basic honestly. I have made more mistakes because I knew basic before C++ since basic is managed and C++ is not. I personally like C# but have not really spent time mastering it since I can do everything in C++

Re: Made a website with html. What code should I move on to now?

Posted: Mon Nov 24, 2008 6:19 am
by Arce
I would agree...

Had he not already said he's unable to learn C++:
I am pretty sure I cant figure out c++ yet.
The man's quite plainly asking "what can I do next to further my progress in working up to C++?"

Telling him, "Oh, just go with C++ dude!" is almost a bitchslap. ;P

Though, Levio91...To be honest, if you're looking to learn c++ (I still have yet to be convinced that C++ is the right choice for you--what purpose do you have in learning to program?) avansc and unholysavagery are probably correct. If that's the goal, why not jump into it? C/++ isn't too bad when you get the hang of it. ;P

Re: Made a website with html. What code should I move on to now?

Posted: Mon Nov 24, 2008 8:28 am
by programmerinprogress
Maybe your problem lies in your throught processes, it's not that you can't get C++, it's that you don't understand how a C++ application would go together.

Are you still thinking things out from a HTML perspective?

Perhaps you need to adjust the way you think about how a program comes together, then it might become clear.

Take this example, perhaps you want to make a program that adds two integer numbers together, and then prints the result.

An algorithm for that might be

MAIN BODY OF CODE
{
VARIBLE a,b = 0
INPUT a
INPUT b
OUTPUT a + b
}END OF CODE

now, this is a simple representation of how a program could be written, this is what the C++ equivalent would look like

Code: Select all

#include<iostream> // library for input/output 
using namespace std; // just so you dont have to put std:: before cin >> or cout << 

int main()
{
  int a,b = 0;  // the integers a and b, initialised(i.e. set to) to 0 
  cout << "Please Type first number: "; // output a simple message
  cin >> a;  // ask for input, the data goes into variable a 
  cout << "\n enter the second number"; // output a second message, the \n is just to make the program move the text down
  cin >> b; // ask for input, this goes into variable b 
  cout << "The answer is: " << a + b;  // output the answer
  return 0; // end the main function 
}

C++ programs (and generally most other languages) are linear, to begin with, the programs always process things, as they come along, this is until you add functions and in C++, classes, but in reality, when you declare these, the compiler is just following a line, your code is almost like a roadmap.

Now, going back to the debate about which programming language you should use, I would agree with everyone else, and probably try and persevere with C++, however, if you do have a specific aim for programming, as Arce said, you should choose a language which meets your requirements.

hope this helped ;)

Re: Made a website with html. What code should I move on to now?

Posted: Mon Nov 24, 2008 10:13 am
by trufun202
What about Javascript? If you've got a decent understanding of HTML, you can get into some pretty cool, dynamic stuff with Javascript.

Javascript introduces the concept of variables and conditional logic.

imo, once you understand the fundamentals of programming, you can apply them to any language.

Re: Made a website with html. What code should I move on to now?

Posted: Mon Nov 24, 2008 10:27 am
by Falco Girgis
Yeah, I was about to recommend Javascript as the next logical step as well.

Re: Made a website with html. What code should I move on to now?

Posted: Tue Nov 25, 2008 3:15 am
by unholysavagery
Arce wrote:I would agree...

Had he not already said he's unable to learn C++:
I am pretty sure I cant figure out c++ yet.
The man's quite plainly asking "what can I do next to further my progress in working up to C++?"

Telling him, "Oh, just go with C++ dude!" is almost a bitchslap. ;P

Though, Levio91...To be honest, if you're looking to learn c++ (I still have yet to be convinced that C++ is the right choice for you--what purpose do you have in learning to program?) avansc and unholysavagery are probably correct. If that's the goal, why not jump into it? C/++ isn't too bad when you get the hang of it. ;P
I think if he made a hello world console app and then started trying to use more complex things, he could get the hang of it in no time though I'm sure it will be many years before he can really make a game.

Re: Made a website with html. What code should I move on to now?

Posted: Tue Nov 25, 2008 9:51 am
by Arce
He hasn't said anything yet about his goal being to create a game...

Re: Made a website with html. What code should I move on to now?

Posted: Tue Nov 25, 2008 1:56 pm
by cypher1554R
Arce wrote:He hasn't said anything yet about his goal being to create a game...
And these aren't "how to edit open source software forums"... ;P

I certainly hope he's not thinking about that..

Re: Made a website with html. What code should I move on to now?

Posted: Tue Nov 25, 2008 3:11 pm
by Levio91
Arce wrote:He hasn't said anything yet about his goal being to create a game...
You're right. I just want to know how to edit open source software.

Re: Made a website with html. What code should I move on to now?

Posted: Tue Nov 25, 2008 7:47 pm
by avansc
Levio91 wrote:
Arce wrote:He hasn't said anything yet about his goal being to create a game...
You're right. I just want to know how to edit open source software.
huh?