How To Code?

My personal recommendation is to start with some easier script language, like HTML, then go to CSS, then maybe cross over to PHP, or start playing around with Visual Basic.

Why? Just to get used to programming, starting with c++ might be a little hard for some people, so using a language where you don't have to define a variable to be a int, float, or whatever, just write "$variable = "Hello";" might be easier.

So I recommend starting with:
HTML/CSS and later PHP then crossing over to C++ (Cus the syntax is pretty similar)
Or Visual Basic (Even though it's a horrible language in performance it's meant to teach newbeginners about basics of programming).
 
My personal recommendation is to start with some easier script language, like HTML, then go to CSS, then maybe cross over to PHP, or start playing around with Visual Basic.

Why? Just to get used to programming, starting with c++ might be a little hard for some people, so using a language where you don't have to define a variable to be a int, float, or whatever, just write "$variable = "Hello";" might be easier.

So I recommend starting with:
HTML/CSS and later PHP then crossing over to C++ (Cus the syntax is pretty similar)
Or Visual Basic (Even though it's a horrible language in performance it's meant to teach newbeginners about basics of programming).

It's funny you should say that.

I started with html, then went to css, then php, and then learned to mix mysql with php. :P
 
It's funny you should say that.

I started with html, then went to css, then php, and then learned to mix mysql with php. :P

Same for me, now I'm learning different frameworks, etc for PHP and then I'm on my way to C++. But I would start with the basics: CSS & HTML, and then move onto PHP.

Aaron
 
YouTube - antiRTFM's Channel

This guy made extremely good tutorials about C++. Start with video 1 and don't skip any :)

+fuckin' 100000

AntiRTFM taught me all C++ basics, I'm a Flyff developer though and it's really not that hard.
The secret is patience and practice. after you've fully watched and understood all of his 70 videos (still incomplete though) you'll finally enter the world of coding in C++ and you'll start actually developing.

Took me 2 weeks to fully understand his videos then I started Flyff developing which is kinda easy when you've learned C++.

If you're planning to learn C++ please be sure to add my MSN "[email protected]" I'll help you.


Edit: I had to add, AntiRTFM's videos are made for beginners, as beginners I mean ABSOLUTE SPOONFEED, anyone should be able to learn is his videos.
 
Last edited:
Programming is all about learning to define things in detail. Learning C++ has as little to do with learning programming as learning Swedish has to do with being able to write poetry. Sure, it'll be helpful if your audience is all Swedish, though.

Please, don't learn HTML as the first step. It has nothing to do with programming. Nothing at all. I won't go about what you should do because that depends on what you need to get done, but I do have a feeling most beginners might like python.
 
Programming is all about learning to define things in detail. Learning C++ has as little to do with learning programming as learning Swedish has to do with being able to write poetry. Sure, it'll be helpful if your audience is all Swedish, though.

Please, don't learn HTML as the first step. It has nothing to do with programming. Nothing at all. I won't go about what you should do because that depends on what you need to get done, but I do have a feeling most beginners might like python.

Well, I thought HTML would be a good start considering he's 14 and it's easier to start out small just to get used to the whole idea of "coding" even if it doesn't really have anything to do with what you would do in C++ or whatever. At least if I understood you correctly.

Although I agree on what you are saying, but most schools (including my IT college) start by teaching VB which is a good start.
 
I learned HTML so I could learn how to make web-sites.. I learned PHP so I could make better web-sites.

I learned Python to learn the basics of programming.

Here's a cool little game for learning the basics of programming (Python/C). You program an ant through a few levels and it's pretty fun. I had a few kids around the apartments pass all the levels on their own.

Install – Laby

You're going to need some tutorials/books and stuff as well, but the game should give you a handle on what those "codes" are, at least.

Good luck!
 
Last edited:
I learned HTML so I could learn how to make web-sites.. I learned PHP so I could make better web-sites.

I learned Python to learn the basics of programming.

Here's a cool little game for learning the basics of programming (Python/C). You program an ant through a few levels and it's pretty fun. I had a few kids around the apartments pass all the levels on their own.

Install – Laby

You're going to need some tutorials/books and stuff as well, but the game should give you a handle on what those "codes" are, at least.

Good luck!
Ummm I got Windows Vista 32Bit which download would be great for me i'm kinda confused with the binary stuff on the website :)
 
You can code in many ways, Here is an example of something i coded....


PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<!-- Read config.ini settings & apply them -->
<cfset iniFile = expandPath("/config.ini")>
<cfset DSN = getProfileString(iniFile, "coldfusion", "DSN")>
<cfset CurrentStyle = getProfileString(iniFile, "settings", "style")>
<!-- Read config.ini settings & apply them -->

<cfinclude template = "/system/functions/checkusersession.cfm" />
<cfinclude template = "/system/functions/loadsettings.cfm" />

<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
	<title>Strike Hotel - Profile</title>
	<cfinclude template = "/system/functions/hdr_generic.cfm" />
	<cfinclude template = "/system/functions/hdr_user.cfm" />
	<cfinclude template = "/system/functions/hdr_news.cfm" />
</head> 
 
<body> 
 
<div class="mainBox"> 
	<cfinclude template = "/system/header.cfm" />
	<cfinclude template = "navigation.cfm" />

	<div class="mid" id="midcontent"> 

<!-- CONTENT, BRO -->
<div class="column" id="column1">
	<div class="contentBox">
		<div class="boxHeader">Online Users</div>
			<cfquery name = "userOnline" datasource = "#DSN#">
				SELECT *
FROM users
WHERE online='1'
ORDER BY username DESC
				</cfquery>
			
			<center>
			<cfoutput query="userOnline">
			<table>
				        <div class="Usersname">UserName: #username#</div>
					<div class="Usersmotto">Motto: #motto#</div>
					<div class="OnlineStatus">
						<cfif online is 1>
							<div class="Online">Online</div>
						</cfif>
					</div><br>
			</tr>
			</table>
			</cfoutput>
			</center>
		</div>
</div>

<div class="column" id="column2">
	<div class="contentBox">
		<div class="boxHeader">About Online User</div>
		<div class="boxContent">
			Online users page is to help others know who is online! It is 100% accurate!
</div>
</div>
</div>

<cfinclude template = "/system/sideads.cfm" />
<!-- /CONTENT, BRO -->

	</div> 

	<cfinclude template = "/system/footer.cfm" />
</div> 

</body> 
</html>



This is a basic Online Users page for PhoenixCF. No biggy.



<h2>This is a header(also basic)<h2> that was < h2 >


Uhm, < br> without spaces* Will act as an enter button in a file.


< hr> without space will make a line between a text etc,

Its pretty simple, I suggest learning the basics at W3Schools Online Web Tutorials But many have different opinions :P
 
Personally I would start with PHP (If you wanna go in the direction of websites learn css/html white your at it but try not to use dreamweaver! You wont learn crap using that). Then mix php/mysql and get used to using variables/functions/etc. Then move onto C++ or wherever you want to go
 
Well, I thought HTML would be a good start considering he's 14 and it's easier to start out small just to get used to the whole idea of "coding" even if it doesn't really have anything to do with what you would do in C++ or whatever. At least if I understood you correctly.

Although I agree on what you are saying, but most schools (including my IT college) start by teaching VB which is a good start.
Well you make a point there, but definitely 14 isn't too young to grasp programming.

Not much wrong with VB. You get a nice IDE and can produce GUI applications with ease. Just not my preference.
 
Well you make a point there, but definitely 14 isn't too young to grasp programming.

Not much wrong with VB. You get a nice IDE and can produce GUI applications with ease. Just not my preference.

Agreed. I had VB6.0, HTML, and a good bit of JavaScript under my belt at around age 14.

VB is certainly an easy starting point. Transitioning between VB to something like C/C++/C#/Java might be a mind fuxor though (it was for me). I guess that's less true with the newer versions of VB though, but honestly I'd not start with VB if your interest lies in a different path.

Someone suggested PHP -- and I believe that's an excellent recommendation! -- except for the fact setting up a local webserver + database (assuming DB programming is involved with what you want to learn) might be confusing to someone unfamiliar with such things. I guess using a package like XAMPP or an equivalent would help deal with that though! One thing with PHP though is that it's tied with HTML generally so that would be another barrier to entry.
 
Last edited:
I starting coding when I was 12, I started with BASIC, now I have trouble coding in C++ because BASIC always feels so much easier to use, even if it's less powerful. But I managed to make the jump to C# about a year ago, now I'm trying to get better with C++ but it's a slow process for me
 
Last edited:
Agreed. I had VB6.0, HTML, and a good bit of JavaScript under my belt at around age 14.

VB is certainly an easy starting point. Transitioning between VB to something like C/C++/C#/Java might be a mind fuxor though (it was for me). I guess that's less true with the newer versions of VB though, but honestly I'd not start with VB if your interest lies in a different path.

Someone suggested PHP -- and I believe that's an excellent recommendation! -- except for the fact setting up a local webserver + database (assuming DB programming is involved with what you want to learn) might be confusing to someone unfamiliar with such things. I guess using a package like XAMPP or an equivalent would help deal with that though! One thing with PHP though is that it's tied with HTML generally so that would be another barrier to entry.

Well, PHP is only a good thing because the syntax is somewhat similar to C++.
But when it comes to how things are done etc it's not even close tbh. But it's a good start. I don't even remember if I started with PHP or C++ first :P.
 
Back