• 0

Newbie C++ Help


Question

Recommended Posts

  • 0

[edit] wouldn't be bad to make this a sticky thread, so others may be able to use it without me repeating myself. This is a very common question here.[/edit]

if you don't have a compiler (to make .exe) go to http://www.bloodshed.net/dev/index.html download version 4, version 5 is a buggy beta. if you do dl ver.5, then update .exe using cvs at sourceforge.

As for books go, the best one is "The c++ programming language" by Bjarne Stroustup (the inventer of c++) is the best. Itis one of those books that from a beginner to Linus Torvalds (linux guy) and developpers use.

edit: the sites below all helped me in some way or another. First you should learn c programming, then move on to c++ and win32api and other api's.

http://www.cplusplus.com/doc/tutorial/ This site covers a lot! I learned a lot of Object Oriented Programming from here.

http://www.cplusplus.com/ref/ This is a handy site for beginners. This has examples and instructions for many standard library functions.

http://www.sgi.com/tech/stl/ This is handy resource. Most of functions show prototypes and explenations for all of STL.

http://www.allegro.cc This has an easy to use complete game programming library. It's well evolved and used. It supports directx hardware accel through its functions.

http://www.sourceforge.net This is for those of you interrested in developping open source, giving feedback, bug reporting, latest builds, and complete code of some of your favorite apps... and much much more.

http://oopweb.com/CPP/Files/CPP.html This has a list of many tutorials and other resources.

http://www.msdn.microsoft.com A developer's ultimate resource.

http://www.winprog.org/tutorial The best site for learning windows programming. The guy set out to make it easy and quick. I think he certainly achieved his goal.

http://www.cprogramming.com/tutorial.html another c tutorial

http://www.research.att.com/~bs/homepage.html The inventors home page.

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-193811
Share on other sites

  • 0

Learning C++ will be one of the best moves you ever make. However, before you dulge into this highly object powered, versitile and extremely complex language, it is important to understand the constituent language that powers it, you guessed it, C.

C, although tedeous and procedural, will provide you a basis on which to build further knowledge of the language. I started C when I was 12 and it was the first programming language I ever used. When I seriously started thinking about making the transition from C to C++, I was a little worried at the same position you are in now - however, I soon got over it.

There are some really good books you can find on both C and C++ - i;d suggest getting maybe 1 or 2 books on C and then focusing on C++. I have a book called C by example which is a great book for people who want a book that really explains stuff in a simplistic manner. There is no degree of complexity in the book though, which may become a problem when you start to want to explore a little further.

One of the best books I have read is The C++ Programming Language by Bjourne Stoustrap (the inventor and creator of C++). It is very complex though in the majority of the book and so I wouldnt recommend it to start of with.

In total, I have 6 books:

- C by example - Great for beginners in C

- Advanced C - More focused on the complex side of C

- C++ Primer Plus - Excellent book, teaches you the core of C++ but doesn't actually go into the VCL

- C++ Builder How-To - Ranges from Intermediate to Advanced in a question/answer format

- Sam's Teach yourself C++ Builder 3 in 21 days - good book for the basics of the VCL but assumes you have a knowledge of C++

- C++ Builder 4 Unleashed - very complex overall and is focused on COM server, MIDAS servers, database and the like.

If I were you, I would take around 2 to 3 months to familarise yourself with C, then move on to C++.

If you need any help, send me an e-mail or a personal message an i'll see what I can do.

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-194277
Share on other sites

  • 0

At first, I didn't really though many people would reply, Thanks. First, I think I am going to get started with C then move on to C++ and maybe create my first program(thinking too far ahead). Oh yeah, I am also 13 and I figure this is the best time to learn since I am yuong and I will get materials better. Again, Thanks for everything.

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-195205
Share on other sites

  • 0

No worries. Like I said though, if I were you I wouldn't take too much time on C - it's an older language now and is primarily used for DOS applications. You will find the transition between C and C++ easier though if you take the time to familiarise yourself with C. Are you going to use Borland's C and C++ languages or Microsoft's Visual C++ Language?

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-201946
Share on other sites

  • 0

Vi3tboi911 if you don't mind spending a little cash to buy a intro book to C++ try "A Guide To Programming in C++" by Tim Corica, Beth Brown and Bruce Presley

Published by: Lawrenceville Press

When I started to learn C++ I used this book in school, a great book that will really get you going, very easy to learn from too.

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-201955
Share on other sites

  • 0

It depends. VC++ 7 seems to have caught up on standards so I can't complain about that. ;) VC is great for programming anything ATL/COM or MFC. Builder is great, too. Its component architecture, VCL, is the best, and it is very easy to learn. Well, I thought it was easier than MFC or COM, but I'm sure there are others that prefer the MS way. BCB 6 has good standard support, as well. Their template library is also open source. http://www.stlport.org.

I'm sure you'll find that VC is the preferred tool in most workplaces. The only thing I really like about VC in total is the IDE. Although, with version 7, I'm finding less things to complain about... but it still doesn't support VCL! :p

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-256074
Share on other sites

  • 0

thanks for that. I bought a copy of BCB when I started to think about coding in C++ as I loved Delphi so much. From what I have seen though, I think I prefer VC. I suppose I just need to sit down with each one and spend some time with them. Its just awkward because I want to love BCB but we have VC at uni where I have to demo all my work etc so I really have to use that. Basically I think Ill be forced to get VC. I did aquire a copy of VS a while ago but it messed up my computer. I may try it again and hope.

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-256206
Share on other sites

  • 0

LOL, that's the book they use in almost all the schools in toronto. My old school too!!!

Originally posted by DeathLace

Vi3tboi911 if you don't mind spending a little cash to buy a intro book to C++ try "A Guide To Programming in C++" by Tim Corica, Beth Brown and Bruce Presley

Published by: Lawrenceville Press

When I started to learn C++ I used this book in school, a great book that will really get you going, very easy to learn from too.

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-257521
Share on other sites

  • 0

I?ve been programming since I was in 5th grade (yep I was like 11 or 12 when I started HTML). I learned HTML and all the things that went along with that (css, ssi, java script, xhtml, etc.), and then I started to learn perl, but abandoned that for PHP and MYSQL. After about 8 months with PHP I started to learn C++ and it was so easy for me. PHP taught me the basic syntax and all I had to do was learn the more advanced features. Also I highly recommend NOT learning C before C++, it'll just confuse you. So here's the order.

1) HTML and occupying languages (css, javascript (<-- just a little), etc.)

2)PHP and Mysql

3) C++

Don't jump into a high level language to quickley starts slow...

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-384326
Share on other sites

  • 0

I started learning HTML and the components when I was 7, but i'm trying to learn PHP/Perl and C++ at the same time. Does learning PHP and Perl take a while to learn, or should I start C++ first? I got enough money for books and such. And I only need a few more bucks towards my iBook savings.

(i'm 12 right now)

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-389646
Share on other sites

  • 0
Originally posted by DeathLace

Vi3tboi911 if you don't mind spending a little cash to buy a intro book to C++ try "A Guide To Programming in C++" by Tim Corica, Beth Brown and Bruce Presley

Published by: Lawrenceville Press

Does this book assume you will be using a Visual C++ program or doing everything in plain text? I was thinking it would be best for me to learn the language first before moving to a Visual program.

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-423405
Share on other sites

  • 0

If you want a bit of advice don't do what I did.

When I was 16-17 I used to copy straight out of a C++ book and not learn all the concepts (some of it stuck with me). I was learning on my own time and never expected todo computer science in school. Now I really have to know all the concepts soundly. If you're going to learn any comp language for any useful purpose, get a good book which will teach you the concepts really well.

DrunkenMasters C++ Programmer's book of the month is:

(its a bit old ;) )

C++ Primer Plus by Steven Prata is my personal fave. Its one of the few complete programming books which really goes through the basics very clearly in plain language to start which is what you really need. Avoid the 24 hour or dummies books.

Link to comment
https://www.neowin.net/forum/topic/22537-newbie-c-help/#findComment-451798
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • PDF-XChange Editor 11.0.1.0 by Razvan Serea PDF-XChange Editor is a comprehensive PDF editor that allows you to create, view, edit, annotate, and digitally sign PDF documents with ease. With advanced features like OCR, document security, and PDF optimization, PDF-XChange Editor is a powerful tool for both personal and professional use. Whether you need to edit text, images, or links, or add comments, stamps, or watermarks, PDF-XChange Editor provides all the necessary tools to make your PDFs look perfect. Additionally, it supports a wide range of file formats, including PDF, XPS, and DOCX, making it easy to convert and share your documents. PDF-XChange Editor key features: Edit text and images in PDF documents Add and remove pages from PDF files Annotate and markup PDFs with comments, highlights, and stamps Use OCR to convert scanned documents into searchable text Create and fill out PDF forms Sign and certify PDF documents digitally Add and edit hyperlinks within PDFs Extract text and images from PDF files Batch process multiple PDF files at once Customize the interface to your preferences Work with multiple documents in tabs Convert PDFs to other formats such as Word, Excel, and HTML Use advanced redaction tools to permanently remove sensitive information Add customizable headers and footers to PDFs Merge multiple PDF documents into a single file Split PDF documents into multiple files Add watermarks to PDF documents Use the measurement tools to calculate distances and areas in PDFs ....and much more PDF-XChange Editor 11.0.1.0 changelog: Fixed a crash in the new Open/Save dialog box when creating a new folder in an unavailable network path. (49552) Fixed a rare/infrequent crash on some dynamic XFA forms after changing their field values. [installer] Fixed an issue where shortcuts were lost during an upgrade from the previous version. [installer] Fixed an issue preventing migration of serial keys during updates from version 10. Fixed the issues with the shell context menu after installation of version 11. Fixed the issue with filtering comments. (49478) Fixed the issue that caused "Error [IO subsystem]: Invalid access mode." when converting PDFs to MS Office formats. Fixed an issue with the context menu position on some multi-monitor systems. (48467) Fixed an issue with handling complex custom file filters, displayed by JS, in the new Open/Save Files dialog box. (49486) Fixed several issues with the new 'Select Folder' dialog box. (49505) Fixed an issue with the new custom 'Open File' dialog box when using double-click to open it. (49498) Fixed an 'infinite' loop/proliferation in the 'Open Files' and 'Manage Places' dialog boxes. (49526) Fixed an issue with handling the mouse wheel inside the document "Find" box. (49539) Fixed an incorrect behaviour in the 'Go back (Alt+Left)' button in the new Open/Save Files dialog box. (49510) Fixed an issue with the shortcut keys (Alt+Left/Right) after navigating via breadcrumb paths in the new Open/Save Files dialog box. (49554) [installer] Fixed an issue with redrawing the progress text in the EXE installers. Fixed the issue where a mouse click outside of the polyline/polygon context menu during annotation creation would cancel the annotation. (49475) We switched back to using the system Open/Save/SelectFolder dialog box by default, instead of using the new one, because some popular features such as the QuickAccess/Recent items are missing in the new version. These will be added in a future release. Replaced the 'Extension' column in the new Open/Save File dialog box with a more user-friendly 'Type' column. Also fixed some issues when handling the 'Show file extension' option. (49497) Added the ability to authenticate local network shares in the new Open/Save Files dialog box. (49557) Improved the handling of dates after 01.01.2030 in XFA files - now such dates are stored properly when set via the dropdown widget. Flags NoZoom and NoRotate are now respected for only a limited subset of annotations. Download: PDF-XChange Editor (64-bit) | Portable ~300.0 MB (Shareware) Download: PDF-XChange Editor (32-bit) | Portable ~200.0 MB Download: PDF-XChange ARM64 | 276.0 MB Download: PDF-XChange Portable @PortableApps.com | 97.0 MB View: PDF-XChange Editor Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Still 3x what it should cost. So, it seems the trick is to increase price by 6x so that a reduction in price back to 4x looks like a steal. "You savvy shoppers win again!" I'm glad I'm not in a desperate spot to actually even need this overpriced crap. Hopefully, it comes back down by the time for when (or if) I ever do.
    • Although AI is great and has it's use cases they likely have massively overhyped it and it has not delivered as per their expectations. I fully expect them to start saying the same things again when it does get to a certain level of intelligence!
    • Microsoft wants to end printer driver headaches with Windows Ready Print by Usama Jawad A few days ago, Microsoft released Windows 11 Experimental build 26300.8553, bringing a ton of enhancements such as Start menu customization, search improvements, Taskbar polish, and other minor UI tweaks. Another relatively major enhancement snuck deep within the change log was related to upgrades to the Windows printing experience. Now, Microsoft has shared more details about these benefits. For starters, Microsoft has renamed its Modern Print Platform to Windows Ready Print. The company believes that this name highlights its shift in strategy, which now focuses on modernizing, securing, and streamlining the printing experience for Windows devices. Some of the upgrades present in Windows Ready Print have already been seeded to customers and partners. This includes ending support for third-party printer drivers via Windows Update and transitioning towards the Internet Printing Protocol (IPP) and the native Windows IPP printer driver. In line with these changes, new printer installations will default to Windows Ready Print on eligible devices starting from July 2026. However, Microsoft recognizes that not all environments will be able to migrate to this platform immediately, so it will allow users to choose between installing the printer via Windows Ready Print or the traditional OEM process. Users will be able to toggle this configuration through Settings > Bluetooth & Devices > Printers & Scanners > Printer preferences. This control applies only to new printer installations, and its functionality can also be modified via Group Policy as follows: Launch Group Policy Editor Navigate to Local Computer Policy -> Administrative Templates -> Printers Find and select 'Configure Windows Ready Print driver ranking' -> double click to open it Select 'Enabled' (if you wish to enable Windows Ready Print driver selection) or 'Disabled' (if you wish to explicitly disable Windows Ready Print driver selection). Select Apply Select OK Similarly, if you set up Windows protected print mode through the same setting in Windows 11, it will also default to using Windows Ready Print exclusively. Microsoft hopes that these improvements will help eradicate dependency on OEM-specific driver installation processes and simplify printer installations. We'll likely find out more about other tangible benefits in the coming months.
  • Recent Achievements

    • One Month Later
      johnjacobb40 earned a badge
      One Month Later
    • One Year In
      Primer1st earned a badge
      One Year In
    • Experienced
      JayZJay went up a rank
      Experienced
    • Reacting Well
      Sir_Timbit earned a badge
      Reacting Well
    • Week One Done
      rubentuben8 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      PsYcHoKiLLa
      230
    3. 3
      +Edouard
      138
    4. 4
      ATLien_0
      86
    5. 5
      Steven P.
      80
  • Tell a friend

    Love Neowin? Tell a friend!