View RSS Feed

All Blog Entries

  1. Understanding Language Features

    by , 01-17-2009 at 09:00 PM
    For this blog, I'm going to talk about C++ directly, but much of what I will say applies to a lot of different languages.  One of the common questions I see is: how do I do XXX in language YYY?  For example, "How do I make a pop-up window in C++?" or "Why does my C++ book keep talking about command-line stuff?" 

    The reason for the questions is simple: people new to programming, or who have worked in a high-level language tend to expect certain things to be provided to them.  ...
    Categories
    Uncategorized
  2. Understanding Programming Styles

    by , 01-16-2009 at 09:00 PM
    Along with understanding a programming language's purpose, it is also helpful to understand the programming style(s) that it supports.

    Unstructured:
    This style generally has very limited mechanisms for flow control, aside from goto/jump statements.  BASIC and (possibly) Assembly come to mind.  This style is generally viewed as a great way to produce spaghetti code (a mess that's impossible to follow).

    Procedural:
    This is the style where you have a sequence of instructions ...
    Categories
    Uncategorized
  3. How to learn C

    by , 01-16-2009 at 09:00 PM
    Learning C++ is not actually that hard, but it can take a while.  One of the questions I've gotten a few times is: "What book should I get?" along with "Should I learn C first?"  I'll answer the second question first.  You should learn C first only if you intend to learn C.  Learning C++ before learning C is almost guaranteed to be frustrating when you have to "cut back" to C.
    For books, I recommend a sequence of books.  Your first book should be a generic beginners book ...
    Categories
    Uncategorized
  4. D Link DNS 323 NAS

    by , 01-16-2009 at 09:00 PM
    A few days ago I purchased a D-Link DNS 323 and a 1TB Western Digital hard drive to go along with it. I must say, I am thoroughly impressed. The initial setup took five minutes. I simply took off the front cover of the NAS, inserted the drive (no cables), plugged in the RJ-45 and power cables, and it was all set.


    The purpose of a NAS is to provide network storage. The D-Link NAS 323 extends beyond this default requirement and offers an abundance of applications such as a built in FTP ...
    Categories
    Uncategorized
  5. Regular Expressions Are Your Friend!

    by , 01-15-2009 at 09:00 PM
    One of the perhaps least known programming tools is the regular expression.  Perl coders will be familiar with it, and you can occasionally hear about it in JavaScript tutorials, but the reality is that this powerful tool is available in many programming languages. 

    A regular expression is a way of precisely describing a string, without knowing exactly what the string is.  For example, in the US, a social security number is 3 digits, a dash, 2 digits, a dash, and 4 digits.  ...
    Categories
    Uncategorized
  6. Understanding Language Purpose

    by , 01-13-2009 at 09:00 PM
    As you start working with various programming languages, you'll discover that they have a wide variety of "feels". C and C++, for example, have a very terse syntax, which can seem almost cryptic at times. By contrast, Visual Basic and Delphi have far more verbose syntaxes. These differences can actually cover deep similarities and mask jarring differences.
    Teaching Languages: these are languages that have been designed with a focus on teaching programming concepts, and being friendly to ...
    Categories
    Uncategorized
  7. C /Challenge Day 1

    by , 01-10-2009 at 09:00 PM
    Today I have been working with types in c++. I have in depth not gotten really into the c++ spirit due to the new things and "different" build up I have to do for every application.Since I left Java for a while I need to now adapt to the c++ environment and it feels strangely right.As I was saying I have been into the primitive types in c++ and been working with how to "use" them properly under c++.So as my "guide" book showed how to calculate with c++. I did two small ...
    Categories
    Uncategorized
Page 85 of 99 FirstFirst ... 3575838485868795 ... LastLast