1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Intro to Code?

Discussion in 'Programming & Webmastering' started by <<Onafets>>, Jan 14, 2010.

  1. <<Onafets>>

    <<Onafets>>

    Joined:
    Nov 8, 2008
    Messages:
    779 (0.36/day)
    Thanks Received:
    77
    Location:
    Sydney, Australia
    Hey guys.

    I have created some simple batch files that backed up saves for may games...before you ask...lost in external HD incident. :eek:

    I am looking into C++ or C so I can create some programs. Do you have an idea where I can learn some basic stuff? I tried googling but I didn't really understand it all that well. Can you help? Links to guides and stuffs?

    Cya round!
    (and yes...I'm looking at you especially kreij) :laugh:
     
  2. Phxprovost

    Phxprovost Xtreme Refugee

    Joined:
    Apr 6, 2009
    Messages:
    1,218 (0.60/day)
    Thanks Received:
    262
    Location:
    Pennsylvania
    my question is could you even get it to run, windows 7 flips shit when ever i try to run a custom exe...or driver....or just about anything :banghead:
     
  3. <<Onafets>>

    <<Onafets>>

    Joined:
    Nov 8, 2008
    Messages:
    779 (0.36/day)
    Thanks Received:
    77
    Location:
    Sydney, Australia
    Hmmm:shadedshu@windows 7

    That has to be the first flaw ive found in 7.
     
  4. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.93/day)
    Thanks Received:
    5,616
    Location:
    Cheeseland (Wisconsin, USA)
    There is a ton of resource links in the stickied thread at the top of the programming section.
    Look there and if you have more questions, just ask ! :toast:
     
  5. dcf-joe

    dcf-joe

    Joined:
    Feb 11, 2008
    Messages:
    381 (0.16/day)
    Thanks Received:
    22
    Location:
    Nebraska, USA
    For free c++ tutorials, I used this website. Scroll down until you see the pdf files on the bottom left.
     
  6. DirectorC

    DirectorC New Member

    Joined:
    Nov 4, 2009
    Messages:
    1,624 (0.89/day)
    Thanks Received:
    268
    Location:
    Florizy
    When I wanted to teach myself C in high school I went to the library and checked out this huge boring C programming bible. I also got hands on a C++ book from one of my cousins. Back in the day I learned everything from books--I learned the basics of Windows 95 use and tips and tricks from a book, HTML from the mid-90s tech mag 'The Net', and Linux from a couple of massive Linux bibles. Those were the good old days though, when we still used paper.

    Before any of that, though, I actually had an older friend of mine sit down and show me some BASIC coding when I was in middle school. That was fun, and what got the whole thing started. It's a good way to learn programming structure (algorithms), also.

    I detest coding though, and will never do it for a living.
     
  7. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,798 (6.26/day)
    Thanks Received:
    3,680
    Location:
    IA, USA
    I'd recommend VB.NET. It is forgiving.


    If your .NET application ever has problems because it requires Administrator access, create an application manifest, change requestedExecutionLevel to requireAdministrator, and set the manifest file on the properties page to use that manifest you just created. You may have to make sure the assembly name matches as well (in project properties and in the application manifest).

    Doing the above will make it have the shield on the icon and Windows will ask right once it is started if you want to give it administrator rights.
     
    Crunching for Team TPU
  8. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (4.93/day)
    Thanks Received:
    5,616
    Location:
    Cheeseland (Wisconsin, USA)
    What type of programs are you going to write? If you want to eventually write games or low level utilities you will probably wantto learn C++, If you want to write general apps, you will probably find C# easier and quicker.

    You can download the VS express editions and check them out. There are tons of tutorials and reference sites on the webz, and you can of course come here and pick our brains. :toast:
     
  9. spy2520 New Member

    Joined:
    Mar 8, 2006
    Messages:
    498 (0.16/day)
    Thanks Received:
    16
    if you search "hello world" on youtube there is just about an endless supply of tutorials in every language.
     
  10. Clement

    Clement New Member

    Joined:
    Feb 11, 2010
    Messages:
    192 (0.11/day)
    Thanks Received:
    26
    Location:
    SouthEast Blue Mountain, Pa
    If you are just starting out, it is worth trying REAL BASIC. Simple code like Visual Basic, but fast executable almost as fast as C++. VERY easy to learn and understand code.

    Not to mention, your source code in REAL BASIC compiles directly to Windows/Mac/Linux no modifications. (aside from the rare case you need some IFDEF's, but its MUCH easier in REAL BASIC to do so, can't imagine why, LOL)

    Stay away from C++ for your first unless you have A TON of time to invest.

    Personally I started with C and assembly, but I was 13 and had all the time in the world.

    Avoid anything .Net, its counter intuitive to what a Software engineer should be doing. Not to mention your code is stuck on windows. :eek:
     
    Last edited: Feb 12, 2010
  11. mlee49

    mlee49

    Joined:
    Dec 27, 2007
    Messages:
    8,491 (3.40/day)
    Thanks Received:
    2,106
    +1, you can learn just about everything on YouTube. Tons of C++ intro code to get the basics.

    Also a free source code compiler I like is Dev C++, good for starters. Lots of Help files as well.

    Another idea is to search University's websites to see if you could get past semester's lectures or examples and go at your own pace. MIT has a ton of open courseware I've used for Calculus. KU's C++ lab site is open to the public and you can see what material is cover by lab projects.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page