Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 37

Thread: programming for beginners?

  1. #1
    Senior Member couch potato's Avatar
    Join Date
    May 2002
    Location
    My couch
    Posts
    576

    programming for beginners?

    is there such a thing. programming sounds interesting. advice, recomendations?id like to be a programmer.

  2. #2
    Ultimate Member DocEvi1's Avatar
    Join Date
    Dec 2001
    Posts
    2,330
    a programmer of what?
    What application would you like to develop for?
    Where do you want your progs to go?

    There are many many languages all with their specific functions - web has HTML, ASP, PHP, java, javascript....
    Windows has VB, java, C, C++.......

    Stefan
    Stefan

  3. #3
    Banned qball's Avatar
    Join Date
    Oct 1999
    Location
    Rockaway, NJ 07866
    Posts
    1,730
    is there such a thing
    NO, just born with it. Easy to tell, look for:

    if (webbedfeet OR have(hands OR feet).countFingerToes() > 5 )
    "DO" return 'programmer';
    else
    "DO" return "welcome young jedi, learn well";

    see:

    www.topcoder.com

    IT, IS, not for beginners. lol.

    try:

    something simple, that you understand???

    [edit]
    hate when code no 'compiley'!
    [/edit]

  4. #4
    Member Quandary's Avatar
    Join Date
    Aug 2002
    Posts
    56
    Use a real programming language!

    const char* IsProgrammer(PERSON* person){
    char* szOutput;
    if(Person->webbedfeet() || Person->fingers() > 5 || person->toes() > 5){
    szOutput = "programmer";
    }
    else
    {
    szOutput = NULL; // if not a programmer, we want this func to equate with false
    }
    return szOutput;
    }

    But seriously...
    Take a C++ class or something. If you like it, go get a compiler and a copy of MSDN and start in. Read books, ask people who have coded longer than you for advice, and just start learning.

    If you don't have the knack, you will figure it out pretty fast

    - Quandary
    Last edited by Quandary; 08-19-2002 at 10:16 AM.

  5. #5
    Member vass0922's Avatar
    Join Date
    Feb 2000
    Location
    Centreville, VA US
    Posts
    385
    As mentioned previously, consider what you want to try developing for. For myself, coding for the web bores the hell out of me I prefer building applications, or working with a database. So if you were like myself (just for example) you might want to learn VB (Warning: Microsoft only!) or if you want to be able to be OS independant, something like C++ or Java might be a way to go

    If you like scripting, maybe try Perl or Python...

    www.programmerheaven.com

  6. #6
    Banned qball's Avatar
    Join Date
    Oct 1999
    Location
    Rockaway, NJ 07866
    Posts
    1,730
    Use a real programming language!
    [useless]
    what PDL, not real language?

    btw, your code snippet, no 'compiley'! also.

    get:

    method or resource "webbedfeet()". noSuchMethodFound exception!

    you have any idea what that means?
    [/useless]

    lol, lol, lol

  7. #7
    Junior Member
    Join Date
    Aug 2002
    Location
    somewhere in Philippines
    Posts
    6

    why not try these!?!

    GOOD FOR YOU IF YOU'LL INDULGE TO SELF-STUDYING...
    I have taken programming subjects...perhaps,they're of great help...but its my interests that make me acquire more knowledge(acquire codes of course?!?)...I've been surfing the net and reading a lot of prog'g books just to know more...Try these:

    www.programmersheaven.com
    Just try them...they could be of great help to you!Good luck! bye

    http://www.planetsourcecode.com

  8. #8
    Member Quandary's Avatar
    Join Date
    Aug 2002
    Posts
    56
    Q-ball - you forgot the header file (name it people.h):

    class PERSON
    {
    public:
    PERSON():m_fingers(5), m_toes(5), m_webbedfeet(false){}
    PERSON(short fingers, short toes, bool webbedfeet):m_fingers(fingers), m_toes(toes), m_webbedfeet(webbedfeet){}
    bool webbedfeet(){return m_webbedfeet;}
    short fingers(){return m_fingers;}
    short toes(){return m_toes;}
    private:
    short m_fingers;
    short m_toes;
    bool m_webbedfeet;
    }

    You'd need these includes at the top of the .cpp file:
    #include "people.h"
    #include <stdio.h>

    And the main() function (right below the IsProgrammer function, same file):

    void main(){
    PERSON Quandary(10, 10, true);
    if(IsProgrammer(&Quandary))
    {
    printf("A programmer!\n");
    }
    else
    {
    printf("Normal person.\n");
    }
    }

    And NOW it should compile just fine ^^

    - Q

  9. #9
    Banned qball's Avatar
    Join Date
    Oct 1999
    Location
    Rockaway, NJ 07866
    Posts
    1,730
    joking about code, fun too!

    Quandary,

    can you do 'Garage Door Opener"? lol

    or, not.

    I haven't a clue whether "webbedfeet" would count in scrabble?

    but, "polydactyl", does!

    means:

    num((finger .or. toes)/appendages) .gt. 5;

    sorry, sorry, gotta feed me:

    "mono-dactyl"s..

  10. #10
    Member Aarmenaa's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta, GA, USA
    Posts
    371
    I've got the same problem couch potato-I'm interested in programming, but I can't find anyone near me who knows anything. I'm in the heart of Georgia, where you're lucky to find someone who knows how to use a mouse! I've look at several of the teach-yourself-programming sites. While I can get a kinda grip on them, I really need someone to explain what's going on.

    -Aarmenaa

    PS-What platform do you want to progarm for? What kind of program are you trying to make? My most recent attempts have been at assembly for the Z80 processor. This would allow me to progam those little calculators-which I have. So far, I've had to reload the calculator BIOS and short out the battery terminals to bring the d*mn thing back to life-I'm not haveing an easy time of it!

  11. #11
    Banned qball's Avatar
    Join Date
    Oct 1999
    Location
    Rockaway, NJ 07866
    Posts
    1,730
    regardless of wise-**** programming jokes, which I happen to enjoy.

    Pick up a Dummies guide.

    programming like knitting, easy, if know how to do.

    learn how to do through perseverance.

    ok,ok,ok, trying real hard.

  12. #12
    Senior Member couch potato's Avatar
    Join Date
    May 2002
    Location
    My couch
    Posts
    576
    games.

  13. #13
    Senior Member couch potato's Avatar
    Join Date
    May 2002
    Location
    My couch
    Posts
    576
    well.......yeah, games.

  14. #14
    Member Quandary's Avatar
    Join Date
    Aug 2002
    Posts
    56
    Add this to the PERSON class...

    void SeverDigit()
    {
    if(m_fingers)
    {
    --m_fingers;
    }
    }

    void SeverToe()
    {
    if(m_toes)
    {
    --m_toes
    }
    }

    And then write a function for whatever...

    void Blender(PERSON* ppMrBill)
    {
    while(ppMrBill->fingers())
    {
    ppMrBill->SeverDigit();
    }
    }

    void SteamRoller(PERSON* ppMrBill)
    {
    for(short loop = 0; loop < 5; ++ loop)
    {
    ppMrBill->SeverToe();
    }
    }

    Et cetera...

    As for games programming - I'm sorry, but games aren't programmed by one person. What *part* of a game are you interested in writing (physics engine, environment interaction, user interface, AI, communications)

    - Quandary

  15. #15
    Senior Member couch potato's Avatar
    Join Date
    May 2002
    Location
    My couch
    Posts
    576
    ok, thats not important to me right now. another question. lets just say i decided to try C and/or C++, how exactly do i program this, on my computer? ive got Windows Xp. correct me if im wrong, but how do i "get C or C++ on my comp." ya know. i cant just program on xp, can i? im confused

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •