• ### Announcements

#### Archived

This topic is now archived and is closed to further replies.

# Beggining

## Recommended Posts

Hey guys, I am a major begginer to programming. The only language I know is HTML. But, I would love to learn. My first question is: What should I learn? Would you guys suggest Visual Basic, or C/C++? I recently bought a book about C++, but it was much to advanced for me. Are there any either Visual Basic, or C++ tutorials, resources, or anything for total begginers? Thanks guys, -Mike aka Maiku

##### Share on other sites
I too am a beginner. Over the last two weeks or so I kept visiting the book store and its bewildering choice of programming books. Finally tired of the indecision I bought "Sam''s Teach Yourself Beginning Programming in 24 Hours" by Greg Perry. I don''t know how it rates but I''m glad I bought it. The author wrote the book as an introduction/explanation about what programming is: its history, current state, and future? The importance of properly designing a program (with flowcharting and/or Pseudocode) before sitting down to code it; the pros and cons of various languages; what they were created to do and how they got their weird names. It isn''t until the eighth hour that you''ll learn some QBasic programming. (QBasic used to be installed with DOS. Now you have to find it in the ''olddos'' directory on your Win9x CD).

I can''t tell you any more as I haven''t read any further. I do like the way I am kind of being eased into the subject. I have a sense that I''m laying a good foundation upon which to build proper programming skills. After this I might mail order (as it''s hard to find in stores) the highly rated book "QBasic by Example" by the same author. Or maybe I''ll move onto Visual Basic or C++.

To sum up I''d say just buy the book or one like it and it''ll answer a lot of questions you have. Then you''ll have a clearer idea of what to do next.

Good luck!

jelb

##### Share on other sites
I learned to program in GWBASIC, then QUICKBASIC, then Pascal, then C, then C++, then x86 Asm, then Visual BASIC, then java. I have to tell you if i had to do it all over again, I would learn java first. I hate Pascal; it is just too verbose for me. BASIC is nice for quick programs (especially since it is interpreted and so has no compile time), but i think its a nightmare for bigger projects because object oriented features were tacked on to the language as an afterthought. C++ is still my favorite language, because it has nice features that are unmatched by any other languages, like template classes. Unfortunately, its often unwieldy and cryptic for a beginner, especially with the compiler warnings and errors, all of the separate files in a project.

Java offers a number of benefits. First, its a relatively safe language. You can''t crash the computer like you can with errant pointers in C. The built in garbage collector makes memory management much easier. Second, since its virtually identical in most syntax to C++, you will be able to leverage your java knowledge to move to C++ later on. Third, its free! You can get the personal version of jbuilder from the borland website for free. Fourth, it has a rich and expansive feature set, especially compared to QBASIC. Fifth, making windows and graphics is much easier in java than in C++, where programming the windows API can be a nightmare. There are also lots of free online tutorials available, including those at java.sun.com.

The only real draw back to java is that its interpreted, which makes in slow for high end games (you won''t be writting these to begin with anyways -- its plenty fast for something like tetris), and it does not run on all computers unless they have the JRE installed.

##### Share on other sites
Visual Basic is not a language, it is a software from Microsoft.

Learn C/C++, that is all you need to make games.

this is just my opinion some might not agree with that

##### Share on other sites
IMO go with C/C++, it isnt nearly as hard as it first looks, is very fast, and very flexible.

##### Share on other sites
Learn Windows programming by reading "Programming Windows by Charles Petzolds". Learn DirectX by using this site or read "Game Programming For Dummies" by André LaMothe.

Zeblar Nagrim, Lord of Chaos

##### Share on other sites
I started about 9 months ago with programming.

I first began with the tutorials that Nehe wrote. I''ve learned the basics of C++ from his site. Then I get a book from the library about C and read that.

A couple of years ago I started with Visual Basic. That whent pretty good. But when I then had a look at C++ I found it far to difficult. So I stopped programming.

Until now, I''m 15 years old and I understand C pretty good. I''m no intend to learn C++.

C++ is a nice language and the most tutorials are written for C++.

##### Share on other sites
I wanted to do games, and knew they used C++ so found a course and spoke to a chap on the phone about it. He was praising it up, saying how it''d be just right for me. Took my $750 and... Dropped me right in it. Learning C++ before C can be a bit of a pain as you miss out on a lot and have to go and learn it afterwards. And as for my$750 course, I''ve learnt more from two $50 books (C, and games programming) than I did from my course (which I could have brought a$40 to learn from).
Yeah I''ve got qualifications, but not to the level that warrants so much money!

"I envy you, who has seen it all"
"And I, young sir, envy you, who have yet to see it for the first time..."
- Daniel Glenfield
1st October 2001

##### Share on other sites
I began learning with C++ and must say that I'm quite proficient in the language only after one year.

The book I read was C++ from the Ground Up by Herb Schildt. It's one of the better ones out there. It serves as a good reference later on.

Edited by - Darkor on November 3, 2001 9:53:28 AM

##### Share on other sites
I would suggest you to learn c++, before or after any other language, it doesn´t matter. I can recommend a very good book about c++, called "Problem Solving with c++, the object of programming", by Walter Savitch. This teaches foundation of c++ in a readable fashion, providing all information for begginers.

After that I would dig into DirextX or OpenGL.

##### Share on other sites
quote:
Original post by spillsome
Visual Basic is not a language, it is a software from Microsoft.

Learn C/C++, that is all you need to make games.

this is just my opinion some might not agree with that

Actually, Java can be used with JNI in addition to c++. Some games, such as Vampire, have used this before. As a matter of fact, I think around 90% of the code was in Java. You probably should take time to learn at least one other language than C++, just so that you''ll be more adept in programming theory as well as application.

##### Share on other sites
Well, from what I have read... and from what friends have suggested to me, I think I will either learn Java, or C/C++ first. Thanks for all your advice!

-Mike aka Maiku

Edited by - Maiku on November 3, 2001 8:02:43 PM

##### Share on other sites
Ah, but spillsome, you are wrong.
Visual Basic IS a propper programming language, as is visual c++
Just because vb is developed by MS....
VB just has a visual aspect to it which speeds up a lot of the basic
visual tasks, so its handy for quick apps.
But if you use gdi or other api''s you will be able to skip the built in visual
aspect of vb and use he faster better api functions.
And vb5 (proffesional) + versions of vb run on a different engine than previous versions which makes the
code executions faster, so it evens up a bit with c++
Also direct x 8 is supposed to work wit vb so i dont think c++ is a better language, i consider both languages equal.
and vb is more user friendly, but there are some things c++ can do much easier

Anway, if your a beginner, forget about c++, and forget about vb and don worry about direct x (yet)

Learn DarkBASIC (www.DarkBASIC.com) its BASIC, it is designed for 3d games, it has all
the direct x stuff built in for ease of use (you need directx 7 or higher to un db)
You can get some awsome matrix and world editors, AND it was designed with begginers in mind, tutorias and help files are integrated into the compiler for user friendliness.

I think darkbasic rocks, and so far i have not come accross anything better.

##### Share on other sites
quote:
Original post by TeraByte
Visual Basic IS a propper programming language, as is visual c++

Nope.. Visual Basic is a RAD IDE, the language itself is BASIC. Just as Delphi is a RAD IDE for Object Pascal. Visual C++ isnt a language neither, C++ is the language and MSVC is the IDE.

##### Share on other sites
quote:
Original post by Maximus
Nope.. Visual Basic is a RAD IDE, the language itself is BASIC. Just as Delphi is a RAD IDE for Object Pascal. Visual C++ isn''t a language neither, C++ is the language and MSVC is the IDE.

Look, a double negative! Sorry . Heh, I agree with what you''re saying though .

[Resist Windows XP''s Invasive Production Activation Technology!]

##### Share on other sites
I guess what your saying makes sence.

But because the IDE has all thse built in functions to make the visual aspect of programming easier does not make it not a propper language.
However, vb is a bt slow with its graphics functions, thats what you get for ease of use, but when you stop using the built in stuff
and use the api''s directly yu can do almost the exact same things as you can with c++, especially wih vb6 where the execution speed is almost the same as c++.

Anyway, i see what you mean, i guess visual basic is the rad ide for the basic language.

Still, for games programming, nothing beats DarkBASIC, especially if you have a good matrix editor and world editor to ease the job of making terrain.
(Though i guess that depends on personal prefference, but db still rocks!)

##### Share on other sites
Okay, well what I meant was. Should I learn how to develop with the program Visual Basic...

##### Share on other sites
If C++ is a high level programming language what does it make VB? They certainly are not the same. If I were you, I wouldn''t learn vb.

It''s kinda like your preference though. I hate MFC as well. I guess if you do everything yourself, you''ll end up better in the end. C++ ain''t that hard if you keep at it long enough.

Haven''t tried DarkBasic yet but I see no reason for me to use it over C++. Moreover, if you''re looking for examples and tutorials, I''d bet that half of them is in C/C++.

• ## Partner Spotlight

• ### Forum Statistics

• Total Topics
627636
• Total Posts
2978319

• 10
• 12
• 22
• 13
• 33