• 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

    • AirPods Pro 3 are now available for only $179 by Taras Buria Apple's third-gen AirPods Pro 3 introduced a few important upgrades over the previous generation while retaining the old $249 price. Still, that is quite a lot of money for a pair of earbuds, but the good news is that right now, you can save quite a lot of money on them, thanks to a new all-time low price. AirPods Pro 3 retain their classic look and form factor, with changes focused on the inside. These earbuds now come with five sets of foam-silicone tips, which sit much more securely in your ear, making the earbuds a perfect choice for physical activities and workouts. Additionally, new tips provide better passive noise cancellation. Speaking of noise cancellation, ANC is now much better at blocking outside noise, with Apple claiming the AirPods Pro mute up to two times more sound than the AirPods Pro 2. The AirPods Pro 3 also have heart rate sensors for activity tracking during workouts. They also support Live Translation and Hearing Aid mode. As for battery life, you get up to 8 hours on a single charge, with the case adding 20 more. The case supports wireless (Qi or Apple Watch charger) and wired charging over USB Type-C (cable not included). AirPods Pro 3 - $179 | $50 off on Amazon US This Amazon deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit the Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus, or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Everything I have read is that the BBC is still Pro Doctor Who but wants a solid plan before they let anyone else try to do it. Which is fair.
    • I totally agree no one should trust governments AND big tech companies that have near monopolies in certain market segments. The difference is of course citizens at least have some say in government. Yes, requiring Apple to open up Sirsi to other AI backends is in the interest of EU customers and certainly "opens" up the platform a crack. What are you saying? I wish the US would regulate tech companies more here and even break them up in some cases. Granted trusting the government to do it right is a crap shot at best but what is the alternative? To allow a few tech companies to continue to run everything and just print money? It's crazy to me for example that in most of the world 99% of communications go thru Facebook servers via WhatsApp. What kind of dystopian world are we living in?
    • You can.. make sure you have ADB tools on whatever OS you are running, plug your phone into your PC give it approval to talk to the phone then run this command. adb shell pm uninstall -k --user 0 com.android.chrome So long as you leave Android Webview untouched it wont break anything on your Phone to do this. I have been using exclusively Firefox mobile since it was released.
    • If it ain't broke, don't fix it. One Commander Free also available in the Store has been my goto Files Manager for years. It does what I need at a more than reasonable speed. I do occasionally use Files Explorer just because it is there and does what I need without any problems when I use it.
  • Recent Achievements

    • One Month Later
      Tommi118 earned a badge
      One Month Later
    • One Month Later
      sjbousquet earned a badge
      One Month Later
    • Week One Done
      sjbousquet earned a badge
      Week One Done
    • First Post
      DragonOfMercy earned a badge
      First Post
    • First Post
      bella52 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      500
    2. 2
      PsYcHoKiLLa
      208
    3. 3
      +Edouard
      155
    4. 4
      Steven P.
      83
    5. 5
      FloatingFatMan
      72
  • Tell a friend

    Love Neowin? Tell a friend!