Author Topic: Wanna learn programming  (Read 1633 times)

Offline straffo

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 10029
Wanna learn programming
« Reply #15 on: September 06, 2003, 04:49:00 PM »
Found this (I've no idea of the quality ...)

http://jedit.sourceforge.net/
http://www.jcreator.com/

I tested JBuilder some 1 year ago it looked sexy but Java was not selected for any of our project so I didn't use it professionaly.

Concerning book I've allways been satisfied by Addison-Wesley books.

Offline Nilsen

  • Plutonium Member
  • *******
  • Posts: 18108
Wanna learn programming
« Reply #16 on: September 06, 2003, 04:57:46 PM »
Thx again Straffo, ive bookmarked em and i will look at em when i get sober....

follow this thread:

http://www.hitechcreations.com/forums/showthread.php?s=&threadid=95568

:D

Offline vorticon

  • Platinum Member
  • ******
  • Posts: 7935
Wanna learn programming
« Reply #17 on: September 06, 2003, 05:07:33 PM »
if your interested in learning anything like c/c++ java etc...dont go near visual basic and its freinds...it'll just mess you up when you start looking at c/c++and there friends...


of course since visual basic can be learned and darn near mastered by a 8 year old its ok for beginners who dont want to do to much...

Offline Nilsen

  • Plutonium Member
  • *******
  • Posts: 18108
Wanna learn programming
« Reply #18 on: September 06, 2003, 05:10:29 PM »
So i really should stay away from visual basic if i dont wanna "cheat" but learn the "hard" way...

thx... i needed that cause i dont wanna take the easy way out, it will prolly hurt me in the long run. :)

Offline Gadfly

  • Silver Member
  • ****
  • Posts: 1364
Wanna learn programming
« Reply #19 on: September 06, 2003, 05:18:08 PM »
Do you know boolean logic?  ASCII?  Can you define an array, a dimension or even a flag?

If you are a total newbie, get yourself some form of basic.  Learn that for concepts, then move up.  Probably take you 2-3 months of hard work to get the basics, then all the rest of your life to figure it out.

Offline Nilsen

  • Plutonium Member
  • *******
  • Posts: 18108
Wanna learn programming
« Reply #20 on: September 06, 2003, 05:24:07 PM »
Yes, im 110% newb so anyone can fool me into trying anything cause i dont rally have a clue.

im devoted and i have the time to learn....thats it :)

Offline Gadfly

  • Silver Member
  • ****
  • Posts: 1364
Wanna learn programming
« Reply #21 on: September 06, 2003, 05:38:33 PM »
I am not trying to fool you, but there are 2 kind of programming languages-structured and non structured.  I do not know why they teach it now(I learned on punch cards), but Basic is your best bet to learn the, well, basics.  That is, how to organise the code and the logic.  The only difference between basic and more advanced languages is the grammer, once you understand the concepts.

Offline Nilsen

  • Plutonium Member
  • *******
  • Posts: 18108
Wanna learn programming
« Reply #22 on: September 06, 2003, 05:41:38 PM »
Rgr Gadfly, ill keep that in mind..

I rellay apreciate your input :)

Offline Furious

  • Gold Member
  • *****
  • Posts: 3243
Wanna learn programming
« Reply #23 on: September 06, 2003, 05:47:17 PM »
You might find this page helpful.

http://www.gamedev.net/reference/start_here/

It is related to game programming, but the general information should be helpful.

Offline Nilsen

  • Plutonium Member
  • *******
  • Posts: 18108
Wanna learn programming
« Reply #24 on: September 06, 2003, 05:48:54 PM »
Thx furious....im bookmarking everything here :)

Offline ccvi

  • Gold Member
  • *****
  • Posts: 2074
      • http://www.carl-eike-hofmeister.de/
Wanna learn programming
« Reply #25 on: September 06, 2003, 06:24:27 PM »
Quote
Originally posted by DmdMac
I have programmed computers since 1982 as a hobby, so with that in mind, let me ask you a few questions:

1. To what operating system do you have access? MS Windows does *not* include a compiler or interperator.


That's wrong for some windows versions. Qbasic is still there on many.

Offline type_char

  • Copper Member
  • **
  • Posts: 338
Wanna learn programming
« Reply #26 on: September 06, 2003, 06:28:15 PM »
If your just going to learn one languge as a hobby and you run windows, learn Visual Basic.

Qbasic->Visual Basic (VB)

Offline DmdMac

  • Copper Member
  • **
  • Posts: 178
Wanna learn programming
« Reply #27 on: September 06, 2003, 09:01:55 PM »
Quote
Originally posted by ccvi
That's wrong for some windows versions. Qbasic is still there on many.


I suppose if you run Windows 3.11 or earlier, but how many is that?  That's not very realistic for developed countries, and anyone that is still using 3.11 or earlier needs to look at legacyware, nothing modern.

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Wanna learn programming
« Reply #28 on: September 06, 2003, 09:39:01 PM »
We use C.

Nice thing about C is the portability of the language.  Virtually every OS on the planet can use/has a C compiler.

The standard I/O library is virtually the same across all platforms as well.

The dev tools available for C are as good as they get.  No other language offers as much in this area.  Something pretty important to consider.
Java is too bloated and cumbersome for my taste.  It was not really meant to be used for stand alone programs.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Gadfly

  • Silver Member
  • ****
  • Posts: 1364
Wanna learn programming
« Reply #29 on: September 06, 2003, 10:34:06 PM »
C is probably what you will want to end up programming with, but to learn it cold?  I do not think it can be done.

Here is what I mean, this is a simple lil C++ section of code:

public class SqlPropertyDescriptor : PropertyDescriptor
{
  public static SqlPropertyDescriptor GetProperty(string name, Type sqlType)
  {
    Type baseType = sqlType.GetProperty("Value").PropertyType;
    ArrayList attribs = new ArrayList(TypeDescriptor.GetAttributes(baseType));
    Attribute[] attrs = (Attribute[])attribs.ToArray(typeof(Attribute));
    return new SqlPropertyDescriptor(name,attrs,sqlType,baseType);
  }

  private Type SqlType;
  private Type BaseType;

  protected SqlPropertyDescriptor( string name,Attribute[] attrs,
    Type sqlType, Type baseType ) : base(name,attrs)
  {
    SqlType = sqlType;
    BaseType = baseType;
  }

  ...

  public override void SetValue(object component,object value)
  {
    PropertyInfo pi = component.GetType().GetProperty(this.Name);
    Object o;
    if ( value == DBNull.Value )
    {
      o = component.GetType().GetField("Null", BindingFlags.Static
        | BindingFlags.Public | BindingFlags.GetField).GetValue(component);
    }
    else
    {
      o = pi.PropertyType.GetConstructo r(new Type[]{BaseType}).Invoke(
        new Object[]{value});
    }
    pi.SetValue(component,o, null);
  }

  public override object GetValue(object component)
  {
    object Property = component.GetType().GetProperty(this.Name).GetValue(
      component,null);

    if ( (bool)Property.GetType().GetProperty("IsNull").GetValue(Property,
        null) )
      return DBNull.Value;

    return Property.GetType().GetProperty("Value").GetValue(Property,null);
  }
}


Here is a simple lil piece of basic:


10 CLEAR 500
20 REM SET I/O AREA TO ENHANCED INSTRUCTION WORK AREA
30 POKE &HFFEF,&H00
40 REM DEFINE STRING & FILENAME FOR "OPEN" FUNCTION
50 A$="TEST.BAS"+CHR$(0): REM STRING MUST BE ZERO TERMINATED
60 REM DEFINE & SAVE ATTRIBUTES TO USE IN OPEN
70 REM CREATE FILE WITH READ & WRITE PERMISSION
80 POKE &HFFE4,&H01: POKE &HFFE5,&H80
90 REM SAVE STRING POINTER, MSB FIRST, LSB SECOND
100 POKE &HFFE2,&H02: POKE &HFFE3,&H41
110 A=VARPTR(A$)+2: POKE &HFFE0,PEEK(A): POKE &HFFE1,PEEK(A+1)
120 REM EXECUTE "OPEN" FUNCTION, IF SUCCESSFUL &HFFE4-&HFFE5 WILL CONTAIN FILE'S CHANNEL NUMBER
130 POKE &HFFEE,&H10: IF PEEK(&HFFEE)<>0 THEN GOTO 250
140 REM DEFINE BUFFER AND LOAD WITH DATA
150 A$="THIS FILE WAS WRITTEN FROM THE COCO EMULATOR"+CHR$(10)+CHR$(13)
160 REM SAVE BUFFER LENGTH
170 POKE &HFFE2,&H00: POKE &HFFE3,LEN(A$)
180 REM SAVE STRING POINTER, MSB FIRST, LSB SECOND
190 A=VARPTR(A$)+2: POKE &HFFE0,PEEK(A): POKE &HFFE1,PEEK(A+1)
200 REM EXECUTE "WRITE" FUNCTION
210 POKE &HFFEE,&H13: IF PEEK(&HFFEE)<>0 THEN GOTO 250
220 REM EXECUTE "CLOSE" FUNCTION
230 POKE &HFFEE,&H11: IF PEEK(&HFFEE)<>0 THEN GOTO 250
240 END
250 REM ERROR
260 PRINT "AN ERROR OCCURED"
270 END



Which do you think a total newbie to programming will be able to figure out, learn and apply?