• 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

    • Absolutely 👍
    • Exactly what I was thinking. All of a sudden in span of a month multiple CEO's from scam altman to this clown has had sudden change of heart does not seem organic change lol
    • Microsoft releases Visual Studio Code 1.124 with smarter autonomous AI agents by Paul Hill Microsoft has just released Visual Studio Code 1.124 with a focus on faster agent workflows and improved agent autonomy. Microsoft outlined the following features as the key items in this update: Autopilot: Autopilot, enabled by default, is now smarter to determine when a task is truly done. Background sessions: Quickly send a request in the background and keep composing the next session. Session navigation: Search, jump, and step through agent sessions with the keyboard. Browser history: Revisit and search pages you've already opened in the integrated browser. With VS Code 1.124, Microsoft has enabled Autopilot by default. For those that don’t know, Autopilot is a chat permission level that you can pick to give agents permission to take initiative and act autonomously, without needing explicit user approval for each action. Also related to Autopilot, Microsoft introduced Advanced Autopilot, which changes how Autopilot decides when to keep iterating and when to finish. This helps you get more complete results without manually monitoring loops. This feature works using a small utility model that reads a transcript of the chat and decides when the task is done. Another new feature in 1.124 is the Agents window, which lets you easily explore, iterate on, and review agent sessions across projects and machines. Previously, starting a new agent session meant waiting for it to load before you could compose the next one. With this update, sessions can be requested in the background. This VS Code update also brings session navigation updates to switch between them more quickly. The update also lets you reload or reopen the Agents window so that it no longer loses your layout, so you will land back where you left off. If you use the integrated browser in VS Code, you will notice that it now retains the history of visited pages. Suggestions will now show when typing in the URL bar and can be managed by using Ctrl+H within a browser tab. The browser now also lets you customize the toolbar more; just right-click on the toolbar area to the right of the URL input. Finally, the browser has faster agentic text entry. Another improvement is experimental enterprise-managed Copilot plugin policies that allow admins to centrally control which chat plugins and plugin marketplaces are available to developers. If you have VS Code installed, 1.124 should install automatically, or you'll get a prompt. If you don't have it installed, get it here.
  • Recent Achievements

    • 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
    • Experienced
      JayZJay went up a rank
      Experienced
  • Popular Contributors

    1. 1
      +primortal
      510
    2. 2
      PsYcHoKiLLa
      214
    3. 3
      +Edouard
      145
    4. 4
      Steven P.
      86
    5. 5
      ATLien_0
      84
  • Tell a friend

    Love Neowin? Tell a friend!