Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-18-2003, 06:55 PM   PM User | #1
narf
New Coder

 
Join Date: Dec 2003
Location: ireland
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
narf is an unknown quantity at this point
cud you tell me about other programming languages other than javascript.

please tell me about other programming languages other than javascript.
also tell me where i can get some free toturials.







spanks,
narf.
__________________
hello says narf
and narf says hello
narf is offline   Reply With Quote
Old 12-18-2003, 07:07 PM   PM User | #2
flare1028us
New Coder

 
Join Date: Nov 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
flare1028us is an unknown quantity at this point
Go to www.cprogramming.com for lots of C and C++ stuff\\
flare1028us is offline   Reply With Quote
Old 12-18-2003, 07:19 PM   PM User | #3
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,225
Thanks: 4
Thanked 80 Times in 79 Posts
Spookster will become famous soon enough
Here is a programming language guide:

http://www.engin.umd.umich.edu/CIS/c...400/index.html
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Old 12-19-2003, 10:24 PM   PM User | #4
narf
New Coder

 
Join Date: Dec 2003
Location: ireland
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
narf is an unknown quantity at this point
er cud you sujesst one that dose not require a compiler
__________________
hello says narf
and narf says hello
narf is offline   Reply With Quote
Old 12-19-2003, 10:33 PM   PM User | #5
Jason
Regular Coder

 
Join Date: Feb 2003
Location: California
Posts: 925
Thanks: 0
Thanked 0 Times in 0 Posts
Jason is an unknown quantity at this point
all languages require a compiler...oooo, html

what do you want a non-compiler using PL for?


Jason
Jason is offline   Reply With Quote
Old 12-20-2003, 02:55 AM   PM User | #6
Mhtml
Senior Coder

 
Mhtml's Avatar
 
Join Date: Jun 2002
Location: Sydney, Australia
Posts: 3,531
Thanks: 0
Thanked 1 Time in 1 Post
Mhtml is an unknown quantity at this point
You could try python, seeing as it is a scripting language. You would however need to use the interpreter which is only a small download I think.

Why not get gcc or the free borland compiler? They are free and if you want to use gcc you can find heaps of good IDEs' for them.

Or if you're running win 95/98 you would have QBasic on your computer and could learn to program BASIC.

www.python.org
www.dev-cpp.org
www.mingw.org
www.borland.com
__________________
Omnis mico antequam dominus Spookster!
Mhtml is offline   Reply With Quote
Old 12-20-2003, 06:59 AM   PM User | #7
Celtboy
Regular Coder

 
Join Date: May 2002
Location: Virginia, USA
Posts: 620
Thanks: 0
Thanked 6 Times in 6 Posts
Celtboy is an unknown quantity at this point
A few languages:

PHP, ASP, VB, VBScript, JScript, Java, C, C++, Perl, SQL, REBOL, BASIC, Pascal, Fortran, Cold Fusion, ADA, REXX.

There are about 8 gazillion. Minus a few.

http://www.programmersheaven.com/
Celtboy is offline   Reply With Quote
Old 12-20-2003, 06:06 PM   PM User | #8
narf
New Coder

 
Join Date: Dec 2003
Location: ireland
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
narf is an unknown quantity at this point
Unhappy

er also one thats simple
__________________
hello says narf
and narf says hello
narf is offline   Reply With Quote
Old 12-20-2003, 06:55 PM   PM User | #9
Nightfire
Senior Coder

 
Nightfire's Avatar
 
Join Date: Jun 2002
Posts: 4,266
Thanks: 6
Thanked 48 Times in 48 Posts
Nightfire is on a distinguished road
You're not going to be able to create a game or anything advanced straight away. Read some of the links given to you, do some examples, if you've not got programming experience then it may take a while for it to sink in.
__________________
Blue Panda
Website Design | 1 Pound Ads | 'ow much? | Coding Geeks
Nightfire is offline   Reply With Quote
Old 12-21-2003, 01:42 AM   PM User | #10
j2freak
New Coder

 
Join Date: Dec 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
j2freak is an unknown quantity at this point
your help

um the best or easiest ones to start to learn are vb or c++ i would suggest vb and buy'n a book call'd "Visual basic's in 21 days" great book and it'll teach you alot that u need to know.
j2freak is offline   Reply With Quote
Old 12-21-2003, 05:19 AM   PM User | #11
Mhtml
Senior Coder

 
Mhtml's Avatar
 
Join Date: Jun 2002
Location: Sydney, Australia
Posts: 3,531
Thanks: 0
Thanked 1 Time in 1 Post
Mhtml is an unknown quantity at this point
I would go for C++ myself. Either VB or C++ will be a good place to start.

You can be messing around with console applications in a few minutes with c++.


The problem with VB is you'll have to pay money. You can start right away with c++ with no outlay.
__________________
Omnis mico antequam dominus Spookster!
Mhtml is offline   Reply With Quote
Old 12-21-2003, 07:15 AM   PM User | #12
Celtboy
Regular Coder

 
Join Date: May 2002
Location: Virginia, USA
Posts: 620
Thanks: 0
Thanked 6 Times in 6 Posts
Celtboy is an unknown quantity at this point
Hmm. you could even try studying php. Check out the manual on the PHP site. It covers some of the basics of programming.....Ah-ha! I recommend you look atSun's Java as a beginning language. It's pretty good.

Either php or java. your decision. php doesn't require a compiler....so.....


If you *do* decide to start using php, check out phpdev, from firepages.

I orinigally had about 3000 lines of tutorial typed here, but I'm going to replace it with a much more basic tutorial.

Many programming languages contain the following similar things:

1. Variables. These are used to hold values. You can store almost any kind of data in these little guys. There are different kinds of variables, and you use them in different ways. Some variables hold random streams of characters (like a sentence). These are STRINGS. Some hold numbers. These can be integers, decimals, money values, fractions..whatever....numbers. There are other variable types too. But the basic variable holds a value so you can either reuse it over and over again, or manipulate it.

2. Control Structures. These are used to do things to the values in different ways. Huh? Well...some examples:

a (while) loop.... you can continuously make the program do something until a condition is met (like when a password is entered correctly).

a (for) loop....you know when this loop will end, but you want to perform it that many times. So you perform the same block of code a set number of times. Example:

Let's say I wanted to print a sentence in PHP 10 times...I could do this:
PHP Code:
<?php
    
for ($x=1;$x<=10;$x++) {
          print 
"This is my sentence.";
    }
?>
How does that work? I'll break it down:

<?php - this says...hey server...we're starting to write some php code here!

the "$x=1" - this sets a variable called "x" and sets it's value to 1.
(variables in php are recognized because they start with a dollar sign)

$x<=10 - this says....do the code inside the curly braces { and } until the value of "x" equals 10.

$x++ - this is what's called an operator. Its another thing common to programming languages. It's a method of manipulating the values of variables. In this particular instance, it says that every time the loop finishes and starts again, ++ (add 1) to the value stored in "x" (any time you see "++", it could also be "+1")

print "This is my sentence."; - I think this is kind of self explanatory

?> - this tells the server that we're done with the php code.


3. Methods & Functions - This is fairly simple, but can be difficult to understand. A method or a function is simply a set of code, that does something. You could write a function that adds 1 to a variable. Example:

PHP Code:
<?php
      
function add_one($x) {
             
$x++;
             return 
$x;
      }
?>
I'll explain thew new parts.

add_one($x) - this gives the function a name ("add_one") and then everything in the parenthesis is what the function expects to receive as input. In this case, it is going to accept some value and store it into the variable "$x" .

$x++; - we discussed this above. It makes the value stored in $x equal whatever it did plus 1. (aka, it increments the value of "x");

return $x; - somewhere in our code, we made a function call (we told the server that we wanted to run the function). Now a function can (it doesn't have to) return some value back to the part of code that called it. An example:

PHP Code:
<?php
    
    $x 
1;
    
$y add_one($x);
    print 
$y;

    function 
add_one($x) {
        
$x++;
        return 
$x;
    }
?>
What's going on? Start at the top.

$x = 1; - make the variable 'x' store a value of 1

$y = add_one($x); - make the variable 'y' store the value of whatever the function 'add_one' returns, when it is given the variable '$x' (in this case, the number 1)

print $y; - this simply makes the server print out the value stored in the variable y. What's that value? well....it's the value returned by function add_one. In this case, it returns the number 2. It accepted the value stored in $x (in this case, the number 1) and then added 1 to it, and then spit the new value back out.




These are some of the fundamentals. I'd HIGHLY recommend reading through the php manual mentioned above. It's purty good.
Celtboy is offline   Reply With Quote
Old 12-21-2003, 05:57 PM   PM User | #13
narf
New Coder

 
Join Date: Dec 2003
Location: ireland
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
narf is an unknown quantity at this point
thanks

thanks guys i've decided to go with c++ so culd any one give me a guide or give me the basics if you want to e-mail me then you can i have activated it.




thanks alot narf
__________________
hello says narf
and narf says hello
narf is offline   Reply With Quote
Old 12-22-2003, 05:26 AM   PM User | #14
Mhtml
Senior Coder

 
Mhtml's Avatar
 
Join Date: Jun 2002
Location: Sydney, Australia
Posts: 3,531
Thanks: 0
Thanked 1 Time in 1 Post
Mhtml is an unknown quantity at this point
Well, I suggest going through the tutorials at www.cprogramming.com they're fairly simple.

Start off simple, console programming (as in command prompt console) is the easiest way to get something onto the screen with little knowledge.

Search google for tutorials, there is a wealth of beginner tutorials out there.
__________________
Omnis mico antequam dominus Spookster!
Mhtml is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:35 AM.


Advertisement
Log in to turn off these ads.