• 0

Newbie C++ Help


Question

Recommended Posts

  • 0

i use the bloodshed C++ compiler, i started with Qbasic in school during study hall and then moved on to VB 6.0 for a class. After that i went to the local college and signed up for a C++ class. The book we used was "Your first book of C++". Great book, teachs you all the way from cout to using vector graphics in a 3d enviorment.

  • 0

I started making webpages using WYSIWYG editors, then started looking at the code. I went to javascript, css, then php and mysql, now im having a go at C++

I defefinetly recommend the bloodshed devc++ and winprog.org/tutorial 's windows programming tutorial.

Of course, go with web tutorials if you dont want to spend money, but if you dont mind spending, I think a book is alot easier to learn from.

  • 0

1. ASM

I'd recommend you start with 80x86 ASM. There are several good tutorials and free books out there to learn assembly language. Learning assembly language first will give you insights into the computer that you wouldn't otherwise have if you were using a high level language.

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.

C:

After you've learnt a good deal of assembly language and computer architecture, get yourself a good book to learn C. K&R was good.

C++:

If you want to learn C++, I'd say you look no further than C++ Programming Black Book, Steven Holzner. Da Best!

Good luck!

_______________________

* For MASM32, if you want to assemble 16-bit programs, you might need a 16-bit linker, which you can easily download from Iczelion's Windows assembly website.

  • 0
1. ASM

I'd recommend you start with 80x86 ASM. There are several good tutorials and free books out there to learn assembly language. Learning assembly language first will give you insights into the computer that you wouldn't otherwise have if you were using a high level language.

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)

........

C:

After you've learnt a good deal of assembly language and computer architecture, get yourself a good book to learn C. K&R was good.

C++:

If you want to learn C++, I'd say you look no further than C++ Programming Black Book, Steven Holzner. Da Best!

_______________________

* For MASM32, if you want to assemble 16-bit programs, you might need a 16-bit linker, which you can easily download from Iczelion's Windows assembly website.

You must be kidding.....

That is just stupid to start with ASM if you have no experience. Normally you start with something easy as Pascal or Java to learn things about loops, conditions, etc, etc. Then when you know how to do the simple things you go learn Object Oriented Programming. By that time you know how to think and how a computer reacts on your statements. Now it is a good time to dive into more complicated stuff like assembly language. If you do that first you have probably no idea what the hell you are doing anyways.

  • 0

If you want to learn computer programming and have no previous experience, read up some websites about a old old language called BASIC... it's basically a language that does line by line execution, like feeding instructions into a robot. All the fundamentals of programming are pretty much there - loops, conditions, subroutines, stuff like that.

Then once you have a good feeling about it, go ahead and move onto Java... Java is an object oriented language. It isn't the simple "go from the top-to-bottom" anymore, but it's a lot neater, and much more powerful.

Finally, after Java do take a hack at C++, and a book I suggest you should read is "C++ Primer Plus" by stephen prata. It's big and blue. C++ is also object oriented, but it has a lot of symbolic notation that is confusion yet confusing (yet powerful!)

  • 0

Hey Ive also been programming since I was in middle school, (9 to 13 - uk) and I started with BASIC! I agree thats HTML is a good starting point, (it gets you used to notepad for a start - lol!) but I think C is a valuable language. Half of C++ is C anyway! I learn't like so:

1) BASIC

2) HTML

3) A little JavaScript

4) C

5) C++

6) WinAPI for C (I prefer the raw code than the simplified C++)

Also I would like to add to whoever said use "C by Example" to learn C, I agree the book is great for getting the basics of Console based C apps.

Tarl

  • 0

Yeah, I've been programming since I was about 12, tought myself:

1. HTML (Notepad)

2. Some basic JavaScript

3. PHP and MySQL

a. Created basic admin system

b. Created Authentication with md5 passwords

4. C++

I must admit that if you teach yourself PHP, you should be in good stead with the language, as you could pretty much copy a basic helloworld script from PHP and get it working in C++ lol

Though this is about as far as I've gotten (haha :blink: )

I do need some guidance in this field to get me further,

1. What Compiler would be most benificial, if I was doing a game programming course in UNI, i.e. MS VB 7 .NET, Bloodshed's Compiler or another?

2. Also what Books would be best to start by introducing the librarys and what they do, where you include them. Also building basic projects in windows (not DOS) and creating games using C++ with OpenGL or DirectX 9, while providing more complex projects as it goes through.

Do the O'Reilly series provide a good c++ book?

Thanks this'd be really cool :D

Boz. :)

  • 0
yeah maybe you know alot of langauges but you might not now them well. plus you might not now everything.

How old are you now?

COme on at 12 years old no way you can master any language well

Well, I know HTML like the back of my hand usu attached to a book for reference, not much in Java, use PHP and MySQL continously, making forum at the moment much like this with avatars and alike so pretty good at that.

I'm 17 atm only 5months till 18 yay :D

  • 0
Quick question, what's the difference between iostream and iostream.h? Other than I don't have to type using namespace std;?

Why doesn't iostream.h recognize cout?

iostream.h is not the current standard library. It is deprecated.

iostream is the standard library.

I have no idea why iostream.h isn't recognizing cout. It should.

  • 0
im a real noob, i can almost make teh 'hello world' program and i understand it but i cant get the f**kn thing to run.

i used inscite to compile it and im not sure how to run it.

First of all, from looking at the inscite homepage, it appears inscite is just a code editor -- not a compiler.

If the "hello world" program was compiled correctly, then an .exe file should be created.

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

    • No registered users viewing this page.
  • Posts

    • Amazon Prime Day slashes Samsung's newest Galaxy Watch Ultra by 45 percent by Karthik Mudaliar Samsung’s flagship Android smartwatch has received one of its steepest Prime Day cuts. Amazon has dropped the 2025 Samsung Galaxy Watch Ultra in Titanium Blue to $357.24, saving buyers around $292 from its $649.99 list price. That's a 45 percent discount (purchase link below). The 47mm Galaxy Watch Ultra uses a titanium casing and a 1.5-inch Super AMOLED display with a resolution of 480 x 480 and peak brightness of 3,000 nits. It includes LTE connectivity, Bluetooth 5.3, Wi-Fi, NFC, and dual-frequency L1+L5 GPS for more accurate outdoor route tracking. The 2025 model has 64GB of storage, a 590mAh battery, sapphire crystal glass, 10ATM water resistance, IP68 protection, and MIL-STD-810H durability testing. Its health and fitness tools include heart rate monitoring, sleep coaching, Energy Score, Running Coach, body composition analysis, temperature sensing, and ECG support, where available. This model is best suited to Android users who regularly run, hike, cycle, or train outdoors and want cellular access without carrying a phone. The larger battery, rugged construction, bright display, and dedicated Quick Button also make it a stronger option than Samsung’s regular Galaxy Watch models for extended workouts and demanding environments. Grab the Titanium Blue Galaxy Watch Ultra before the Prime Day price resets: Samsung Galaxy Watch Ultra (2025) [Sold and Shipped by Amazon] Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
    • Google begins rolling out its post-Epic Play Store billing model next week by Karthik Mudaliar Google has confirmed that its redesigned Play Store billing and fee structure will take effect on June 30, 2026, in the United States, the United Kingdom, and the European Economic Area. The changes will let eligible developers offer their own payment systems or send users to an external website for purchases, while separating Google’s platform service fee from the cost of using Google Play Billing. The rollout puts concrete dates and detailed rate cards behind the broader Android policy overhaul Google announced in March. That announcement followed a proposed settlement with Epic Games intended to resolve their long-running disputes over app distribution and payments, although the U.S. portion of the agreement still requires court approval. Under the new billing choice program, developers selling digital content or services can display an alternative payment option alongside Google Play Billing. They may also direct users to their own websites to complete a purchase. Developers can use Google’s standard payment-choice screen or design one that complies with the company’s user-interface rules. Choosing another payment processor does not eliminate Google’s cut altogether. The company will continue charging a service fee for transactions associated with apps distributed through Google Play, regardless of whether payment is handled by Google, an alternative provider, or a developer’s website. Google argues that this fee covers the value and infrastructure provided by Android and the Play Store. For developers earning up to $1 million annually, the service fee will generally be 10 percent. That rate also applies to auto-renewing subscriptions. When Google Play Billing is used in the U.S., U.K., or EEA, Google will add a separate 5 percent billing fee, and developers processing payments elsewhere will not pay that additional charge. This means Google’s familiar flat 30 percent commission is disappearing, but developers will not necessarily see a dramatic reduction on every transaction. An in-app purchase from an existing user processed through Google Play Billing can still reach a combined 30 percent. The biggest savings are likely to come from subscriptions, smaller developers covered by the $1 million tier, and companies able to move customers to their own payment infrastructure. Google is also offering lower rates through its Apps Experience and revamped Games Level Up programs. Apps and games that satisfy the company’s requirements can qualify for 15 percent service fees on new-install transactions and 20 percent on existing-install transactions. The criteria include performance and reliability standards, support for additional Android device categories, and selected platform features. Those program rates are scheduled to become available in the initial markets and Australia on September 30. For consumers, the immediate effect will depend on whether developers adopt alternative payments and pass any savings on through lower prices. For developers, however, June 30 begins a more flexible but considerably more complicated Play Store economy in which distribution, billing, install dates, revenue thresholds, and program participation can each affect Google’s final cut. Google is also separately developing a Registered App Stores program designed to simplify the installation of qualifying third-party stores. That initiative is expected to arrive with a major Android release later in 2026 and will launch outside the U.S. first. Google says the rest of the world will receive the changes by September 30, 2027, although billing rates for markets outside the US, UK, and EEA have not yet been announced.
    • 38% off a super insane price is still an INSANE price.
    • 1TB Samsung T9 and Samsung 9100 PRO SSDs are now selling at great prices by Fiza Ali Amazon is now offering the 1TB variant of Samsung T9 and Samsung 9100 PRO SSD at great prices with limited-time 38% and 39% discounts, respectively, so you may want to check them out if you have been looking to upgrade your storage solution. The Samsung T9 connects via a USB 3.2 Gen 2x2 (20Gbps) interface and delivers sequential read speeds of up to 2,000MB/s and sequential write speeds of up to 1,950MB/s, making it suitable for transferring large files, backing up data, and handling high-resolution media content. When it comes to the security features, the SSD includes AES 256-bit hardware encryption to help protect sensitive data. Designed for portability, the drive is reportedly resistant to drops from heights of up to 3 metres. Furthermore, it operates within a temperature range of 0°C to 60°C and can be stored at temperatures between -40°C and 85°C. Samsung Magician Software is included for drive management, firmware updates, performance optimisation, and health monitoring. Finally, the T9 is certified to multiple international standards, including CE, FCC, UL, UKCA, and RoHS 2 compliance, and is backed by a five-year limited warranty as well. 1TB Samsung T9 SSD: $179.99 (Amazon US) - 38% off The Samsung 9100 PRO uses the M.2 2280 form factor and connects through a PCIe 5.0 x4 interface with NVMe 2.0 support. Built with Samsung V-NAND TLC flash memory, an in-house controller, and 1GB of low-power DDR4X cache memory, the 9100 PRO is engineered for high-performance computing and gaming workloads. Furthermore, the SSD delivers sequential read speeds of up to 14,700MB/s and sequential write speeds of up to 13,300MB/s. Random performance is rated at up to 1,850,000 IOPS for reads and up to 2,600,000 IOPS for writes, depending on system hardware and configuration. The drive supports TRIM, S.M.A.R.T monitoring, automatic garbage collection, and device sleep mode to help maintain performance and efficiency over time. In terms of security features, it includes AES 256-bit encryption, TCG Opal support, and IEEE 1667 compliance. The 9100 PRO operates within a temperature range of 0°C to 70°C, is rated for 1.5 million hours MTBF, and can reportedly withstand shocks of up to 1,500G for 0.5 milliseconds. Finally, Samsung Magician Software is also included for firmware updates, performance monitoring, drive management, and optimisation. 1TB Samsung 9100 PRO SSD: $206.99 (Amazon US) - 39% off Alternatively, you can also check out other SSD deals here. Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • Dedicated
      Scoobystu earned a badge
      Dedicated
    • First Post
      Tom Schmidt earned a badge
      First Post
    • One Month Later
      D0nn13 earned a badge
      One Month Later
    • Rookie
      +ChiefOfNeo went up a rank
      Rookie
    • One Year In
      Tom Schmidt earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      463
    2. 2
      +Edouard
      177
    3. 3
      PsYcHoKiLLa
      124
    4. 4
      Michael Scrip
      81
    5. 5
      Xenon
      76
  • Tell a friend

    Love Neowin? Tell a friend!