• 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

    • Bulk Crap Uninstaller 6.2 by Razvan Serea Bulk Crap Uninstaller is a free (as in speech) program uninstaller. It excels at removing large amounts of applications with minimal user input. It can clean up leftovers, detect orphaned applications, run uninstallers according to premade lists, and much more. Even though BCU was made with IT pros in mind, by default it is so straight-forward that anyone can use it effortlessly! Bulk Crap Uninstaller features: Detect and uninstall Windows Store apps Uninstall multiple items at once to speed up the process (with collision prevention) Uninstall any number of applications in a single batch Minimal user input is required during uninstallation Can find and remove leftovers after uninstallation Can uninstall some apps even if they don't have any uninstallers Detects applications with damaged or missing uninstallers Adds quiet uninstall options to some uninstallers, even if they do not support them by default Uninstall lists for automation Startup manager Verification of uninstaller certificates Fully portable, settings are saved to a single file Bulk Crap Uninstaller 6.2 changelog: Features Add invalid-uninstaller view preset by @breshinotestachegira in #903 Add certificate and integrity columns to app list by @breshinotestachegira in #894 Improve Scoop custom path detection by @breshinotestachegira in #892 Fixes Improve uninstall list load error handling by @breshinotestachegira in #895 Fix tweak visibility filtering by @breshinotestachegira in #898 Fix orphaned-only view preset by @breshinotestachegira in #899 Stabilize icon handle ownership by @breshinotestachegira in #902 Fix: Use Directory.GetLastWriteTime for install date fallback by @AniketDeshmane in #908 Do not offer to send "no way to uninstall" error messages by @Klocman in #922 Ignore ERROR_BAD_CONFIGURATION when listing MSI components by @Klocman in #924 Eat InvalidOperationException coming from ListViewGroupAccessibleObject by @Klocman in #925 Harden BCU console export and size detection - Fix BCU-console export failures by @breshinotestachegira in #897 Harden registry factory parsing by @breshinotestachegira in #893 Guard startup uninstall list loading by @breshinotestachegira in #927 Clean generated files on uninstall by @One-Simon in #928 Translations Updated Hungarian translation by @titanicbobo in #875 Updated Vietnamese translations by @wanwanvxt in #918 Fix : Swedish translation causes UI overflow in some windows by @Leise-Shadow in #865 Other Fix publish script after v6.1 by @tsiakoulias in #868 Updated the localization pack Repository Moved the repository under a new BCUninstaller organization (old links still work) Added two maintainers: @hazeliscoding and @One-Simon Added PR merge rules (require up-to-date approval and CI to pass) Updated CI script to also build the launcher (only for testing, not included in artifacts) Download: Bulk Crap Uninstaller 6.2 | 8.8 MB (Open Source) Download: Bulk Crap Uninstaller Portable | 11.6 MB View: Bulk Crap Uninstaller Home Page | GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • If built properly, swapping out the backend should be an easy task, but as the article points out, it's just Apple not wanting to do this.
    • Microsoft's new Xbox Shutdown change promises massive power efficiency gains by Pulasthi Ariyasinghe Microsoft has been delivering a lot of changes for Xbox Insiders to test in recent weeks, and today, another wave of changes aimed at consoles was announced. The latest drop is testing features that let users find mutual friends easier, customize their UI, and streamline wishlisting. When looking at an Xbox friend's profile, an option will appear to see mutual friends, perhaps to get a refresher on how you know that person. This will depend on the privacy settings. The same applies to when checking the profile of a person who is not in the friends list, offering a quick way to find out if this is a known connection. Next, Microsoft is giving the option to change how the 'Home' and 'Games & Apps' sections show off available games. There is a new poster style that users can enable for an "immersive library experience." "We’ve also made personalization settings easier to navigate and customize by separating Home and My Games & apps into separate sections," adds the company. "And to make personalization even more accessible, we’ve added new shortcuts throughout menus, so you can quickly jump in and tailor your XBOX experience the way you want." Moreover, heading to the store page of an unreleased game will now offer players the option to wishlist directly from the game card. Lastly, Microsoft is making a change to Xbox One and Xbox Series X|S consoles that are in Sleep mode, making them use the more energy-saving 'Shutdown' mode instead automatically. The company says this can increase power savings by up to 20 times without impacting "performance, gameplay, or your ability to receive system, games or apps updates overnight." The only down side seems to be a longer startup time that can take up to 45 seconds. The setting was originally introduced in 2023, and this is only the latest update to it. The power option can be changed from the console settings at any time. This Xbox Insider update is rolling out today to select members of the program. As usual, Microsoft aims to bring it to more Insiders over time before they reach all Xbox owners. Head here to find out how to join the Xbox Insider Program to get a chance to test these features and upcoming ones on both consoles and PC.
    • 2 was a fun game but felt a bit shallow, like not enough there. I hope this expansion fixes that.
  • Recent Achievements

    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
    • First Post
      X-No-file earned a badge
      First Post
    • One Month Later
      johnjacobb40 earned a badge
      One Month Later
    • One Year In
      Primer1st earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      PsYcHoKiLLa
      211
    3. 3
      +Edouard
      145
    4. 4
      Steven P.
      88
    5. 5
      ATLien_0
      80
  • Tell a friend

    Love Neowin? Tell a friend!