• 0

Newbie C++ Help


Question

Recommended Posts

  • 0

1. Start off with C. It's far simpler, and C++ inherits most of it, therefore, the knowledge is transferable.

2. Don't use an IDE, at least not to begin with. They just get in the way of understanding how to program, compile and debug. A simple text editor (CLI or GUI) is all that is needed to edit the code. I like Vim personally. Although Emacs is pretty good too.

3. Use a standards compliant FOSS compiler and make system. That way, you won't be locked-in to any one platform. I recommend GCC and the auto tools. It's called MinGW (Minimalist GNU for Windows) on Windows.

It's even possible to write C code targeting GNU/Linux that runs without modification on Windows by using Cygwin, which also happens to give you a Linux-like development environment.

However, if you're adamant about using C++, definitely look into Boost (C++ library), it's the defacto standard for C++ development, and fills in many of the gaps in the STL.

http://gcc.gnu.org/

  • 0

Can you guys recommend a decent IDE + compiler all in one? cause i have been using Dev C++ and it ****s at IDE standards.. some people told me to use Notepad++ which again is a good IDE but i then need to add the code to DevC again! i tried borland and the other one which is turbo c++ which pretty much suck to.

I like the IDE from the Notepad++

anyway also are there any IDE's/compilers who like automatically complete/format a command when we start typing? that would be really great and save alot of time i believe..

like for eg: when i start with a for loop and i type in for it automatically enters for() { } and then i can maybe enter the source code myself?

thanks.

  • 0

Personally I use Notepad++ as my editor and g++ (MinGW) as my compiler (via makefiles) when programming for Windows in C++. As a beginner, that is probably a bit complicated for you and I don't recommend you try it until you get more experience.

Visual Studio Express is a popular choice if you are using Windows (which I assume is the case based on your mention of Notepad++). Although its C++11 support is as-of-yet somewhat incomplete, it is a good IDE with an excellent debugger.

Although I have not used it, from what I have heard Code::Blocks is also an excellent IDE with a solid C++ compiler and a good debugger.

  • 0

I use VS Express. Its much better now as well now that its one install for everything instead of before when you had to install C# express, C++ express, VB Express etc..

I grabbed VS 2012 Express today and it was one setup one install.

  • 0

Now that Microsoft has released a version of Visual Studio 2012 Express that can develop desktop applications, I definitely recommend that you download that one. Use the link that I provided a couple of posts back to go to the product information page, or use this link to download the ISO directly.

  • 0

Ok, I got inspired today to learn a programing language. I want to learn C++ but I am sitting here with no clue on earth on where to start. Can anyone give me links to newbie tutorials and sites? If you can, please state any tips that you have for me, thanks!


http://www.newboston.org has tons of quality programming video tutorials, video tutorials make U learn faster, But U have to have a reference manual, a book.
[/CODE]

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

    • No registered users viewing this page.
  • Posts

    • I haven't paid for windows since windows 8. So I guess I would be happy to pay for a new version if it meant seeing fewer adverts (none) or product pushes. But that applies to _any_ service or OS.
    • Save 35% on Sony's SS-CS5M2 3-way high-res bookshelf speakers by Taras Buria Sony is currently offering a big discount on its SS-CS5M2 bookshelf speaker, saving you 35% on a set of high-quality audio equipment. The SS-CS5M2 is a passive 3-way bookshelf speaker with a 5.12-inch woofer, a 25 mm soft-dome tweeter, and a 19 mm super tweeter. This design allows different drivers to handle different parts of the sound spectrum for a clearer, more detailed audio when watching movies or listening to music. The compact cabinet size allows you to place these speakers on shelves, desks, or stands, making them a practical choice for apartments, bedrooms, and small living rooms. Despite its compact size, the SS-CS5M2 delivers up to 100 W of power. Note that since the speakers are passive, you will need an amplifier to drive them. However, if you do, you can use them for high-resolution music, thanks to a claimed frequency response of 53 Hz - 50 kHz. It is able to extend so far high in the spectrum as a result of those super tweeters. While they will work with most amplifiers and AV receivers, Sony says this pair is a perfect match for its AV receivers, such as STRDH190, 590, 790, or 1000. Sony CS Bookshelf Speakers SS-CS5M2 3-Way 3-Driver Hi-res - $178 | 36% 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 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.
    • So they somehow expect Apple to easily make it so that if I install say DeepSeek that DS can then handle all the tasks that Siri would be doing while integrated in the OS? That sounds like just rediculous.
    • For ray-tracing, the Radeon RX 9070 XT is better than the GeForce RTX 5070, but worse than the GeForce RTX 5070 Ti The Radeon RX 9070 XT is similar to the GeForce RTX 5070 Ti in rasterization Both AMD and NVIDIA have had serious issues with drivers in the past, so I can't say that one is better or worse than the other. Yes. AMD has better support Linux than does NVIDIA. Use Display Driver Uninstaller (DDU) to uninstall NVIDIA's drivers before installing AMD's drivers. That's up to you. Supplies of memory is unpredictable because AI using up a lot of memory. As a result, there is a lot of volatility in video card prices.
  • 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
      509
    2. 2
      PsYcHoKiLLa
      215
    3. 3
      +Edouard
      145
    4. 4
      Steven P.
      88
    5. 5
      ATLien_0
      83
  • Tell a friend

    Love Neowin? Tell a friend!