• 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

    • Hello, Were you using a product or service from one of the companies affected by the Klue data breach?  See https://klue.com/blog/an-update-on-recent-klue-security-incident for the company's public statement.  That blog post does not list affected customer. From looking around at reports, I created this list: Gong HackerOne Huntress Insurity Jamf LastPass OneTrust Recorded Future ReliaQuest Salesforce Snyk Sprout Social Tanium It is likely there are other companies affected as well. Regards, Aryeh Goretsky  
    • SpaceX reportedly plans a Starlink mobile service for U.S. consumers by Karthik Mudaliar SpaceX reportedly wants to sell mobile phone plans directly to consumers in the United States as part of a wider expansion of Starlink. According to a report from the Financial Times, SpaceX president Gwynne Shotwell discussed the plan with investors during the company’s recent IPO roadshow. The company is also said to be considering building a terrestrial mobile network to complement Starlink’s satellite coverage. The plan is quite different from how Starlink currently operates in the U.S. mobile market. SpaceX already provides satellite connectivity for T-Mobile’s T-Satellite service, but T-Mobile remains responsible for the subscription, billing, and customer support. A Starlink-branded mobile service would give SpaceX control of the customer relationship instead. It could also turn the company from a partner of traditional mobile operators into a direct competitor. T-Mobile also began testing its Starlink-powered satellite service in early 2025. The beta was initially limited to text messaging and was also available to some AT&T and Verizon customers. The service has since expanded to support limited data access through selected apps, including WhatsApp, Google Maps, AccuWeather, and AllTrails. It is designed to provide a connection in areas where normal cell towers are unavailable, rather than replace a conventional mobile network. However, if SpaceX actually has a plan to serve nationwide, it needs to do more than just satellite networks and actually support on-ground operations. It can also partner up with existing carriers and become a mobile virtual network operator (MVNO). With that said, SpaceX has already spent heavily to support its mobile ambitions. Just last year, the company agreed to acquire wireless spectrum licences from EchoStar in deals worth a combined $19.6 billion. EchoStar's spectrum includes AWS-4, H-Block, and AWS-3 frequencies that could be used for both satellite and terrestrial communications. According to a SpaceX securities filing, the Federal Communications Commission approved the transaction in May 2026, although it is not expected to close until late 2027. There's no official statement by SpaceX for now. Pricing, availability, and other details remain unknown. Source: Financial Times
    • We had no idea as kids how much time and energy it took to be an adult 😅
    • The Trump administration doesn't want you to use OpenAI's GPT-5.6 without its approval by David Uzondu Image via @realDonalTrump (X) As OpenAI prepares the release of its next model, GPT 5.6, the White House has instructed the company to limit the distribution of the software to a small group of government-approved partners instead of the general public, as it has done with previous releases. According to The Information, OpenAI Chief Executive Officer Sam Altman sent an internal memo to staff on Thursday explaining that the federal government will approve access "customer by customer" during an initial preview phase. Altman noted in the communication that this restrictive rollout is "not [their] long-term model" for software deployment, and the company plans to work toward a "more sustainable" distribution method later. CNN said that both OpenAI and the Trump administration view the capabilities of GPT 5.6 on the same level as Anthropic's Mythos and that government officials intend to "collaborate with frontier AI labs to develop shared approaches for addressing the challenges of scaling this technology." The latest restriction comes just weeks after the US Commerce Department decided to restrict Fable, a version of Mythos with extra safety "guardrails" to prevent users from exploiting software vulnerabilities. Not long after the release, though, researchers at Amazon found a way to bypass these restrictions, prompting an aggressive response from federal authorities. The government ordered Anthropic to cut off access for non-US citizens located outside the US, non-US citizens living inside the US, and incredibly, even Anthropic's own foreign-born employees. Anthropic now appears to be building a workaround to resolve this compliance block with an update to its Privacy Policy that introduces a category called "Verification Data" to handle KYC and Digital IDs. This setup could mandate digital identity checks to filter users by nationality, requiring a government-issued ID and facial biometric data. Who knows? Maybe in the future, you would have to scan your US Passport or State ID to prove your citizenship before you are allowed to chat with Fable 5 (or any other model).
  • Recent Achievements

    • Week One Done
      xvvxcvv earned a badge
      Week One Done
    • One Month Later
      xvvxcvv earned a badge
      One Month Later
    • Enthusiast
      Xonos went up a rank
      Enthusiast
    • Conversation Starter
      Admir earned a badge
      Conversation Starter
    • First Post
      The_Focal_Point earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      400
    2. 2
      +Edouard
      170
    3. 3
      PsYcHoKiLLa
      127
    4. 4
      neufuse
      69
    5. 5
      Xenon
      66
  • Tell a friend

    Love Neowin? Tell a friend!