• 0

Newbie C++ Help


Question

211 answers to this question

Recommended Posts

  • 0
I've got the borland compiler but i cant figure out how to run the thing. whenever i start bcc32.exe it closes itsself before i can do anything with it. I hate console compilers. i treid digital mars too but it was even worse.

Cuz you need to launch it from the command prompt, you cant double click on the exe

Try Dev-C++ so you have a IDE to work with (i havent read the thread, just the last page).

http://sourceforge.net/projects/dev-cpp/

  • 0

I use BCC. Here's how I got it to work.

Control Panel > System > Advanced > Env. Variables. At this point, the readme is wrong. You need to add C:\Borland\BCC55\Bin\ to the end of the PATH variable, with a ; to seperate it from the last item.

Create the config files as the readme says (unless you want to type it all in each time, of course! :p).

Go to the folder with your .cpp files (cd <folder>) and type "BCC32 <filename>". It will then compile! That's all there is to it.

  • 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<br />

Published by: Lawrenceville Press<br />

<br />

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.

Hello, just wanted to say that I also decided to learn C++ a few days ago (Im 16), and this is the book my InformationTechnology teacher lent me for the school year. So far I've found it to be a great book, everything is very well explained and made interesting :)

  • 0

thanks for this thread. got some good resources to re-learn c++. Took c++ back in high school and hated it since. I figure if I want to write my own program, I am going to have to suck it up.

whenever I think of c++ or java, I think of the hot summer days where I struggle like mad to pass my c++ and java course, always bad memories ...

anyways, I read this thread and got the book c++ primer plus 5th edition. I found some errors in the 5th edition already but its still a good book.

  • 0

Helllo, i am currently learning c++ on my own off the Lawrenceville press c++ textbook, and was wondering is there any resources to the exercises and reviews code? the lvpdatafiles on there webstie do not help, if there are any places that have the code for the exercuises and reviews please reply :yes:

  • 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?

201946[/snapback]

C is deffinitely worth learning!

  • 0
- can do for (int n=0 ....) in a for loop without compiler bitching (i dunno if msvc does it, but gcc does.

1297193[/snapback]

gcc does support it. You have to tell it to use the c99 standard though, using -std=c99.

And to those who claim that C is outdated and only used for DOS applications.... C is still a very popular language, and still widely used in the industry. I suggest you get yourself a little more familiarity with the software industry =P

  • 0
... id recomend buying The C++ programming language bj Bjarne Stroustrup

1686608[/snapback]

I second this recommendation. It's a great book for completely learning C++. It's not light reading (1019 pages and weighs a bit) and not for the beginner, but once you've got the basics, this book will teach you the rest.

There are several assemblers that are available for free:

1. FASM (The easiest to learn and use, Linux\Win32\DOS) (www.flatassembler.net)

2. MASM (The most popular assembler, Win32\DOS) (www.masm32.com) *

3. TASM (Unsupported, Win32\DOS) (Ask Google)

4. GoAsm (A down-to-earth assembler, Win32) (www.godevtool.com)

........

Art of Assembly Language (16/32-bit), Randy Hyde, is the most comprehensive book you'll find on assembly language for the Intel 80x86 processors.

Another good book is Assembly language for the IBM PC Family, William Jones.

2105967[/snapback]

Firstly, I would not recommend assembly for a beginner to learn, especially not x86. Secondly, I would not recommend that book (AoA). Thirdly, I would not recommend using TASM or MASM. I've used them both and they both suck. They're full of red tape. If I was to choose between the two, I'd go for TASM, but given the choice to choose another, I'd go for NASM.

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!
  • 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
      513
    2. 2
      PsYcHoKiLLa
      231
    3. 3
      +Edouard
      144
    4. 4
      ATLien_0
      86
    5. 5
      Steven P.
      82
  • Tell a friend

    Love Neowin? Tell a friend!