• 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

    • Microsoft updates Visual Studio Code with chat cost tracking and multi-agent chats by Paul Hill Microsoft has just launched Visual Studio Code 1.126, its latest weekly release. This time, the company has focused on letting you see the total cost of chat sessions to spot expensive conversations; enabling multiple chats per session that run side-by-side in one agent host Copilot session; and letting you browse new folders safely in restricted mode. We have now reached the stage where free AI in IDEs is coming to an end. To help you keep track of your costs, VS Code now lets you see the entire cost of a chat session, rather than just individual turns. This should give you more transparency about which sessions consume the most credits, so you can better manage your usage over time and spend less. For those of you using the Agents window, you know it is possible to run and manage multiple agent sessions at once. In this update, a Copilot session started from an agent host can hold several chats at once. Explaining how this feature works, Microsoft writes: Finally, from this update forward, Microsoft will remove the pop-up when opening an untrusted folder. When you open a new folder now, it will automatically open in Restricted Mode. You will see a banner that lets you manage the trust level of the folder. Microsoft has made this change so that it’s easier to start inspecting code without giving it trust right away. If you have VS Code, you can check for updates within the app now to get this new version. Otherwise, you can download it from the Visual Studio Code website.
    • Anthropic accuses Alibaba of using 25,000 fake accounts to copy Claude's capabilities by Karthik Mudaliar Anthropic has accused Alibaba of using nearly 25,000 fraudulent accounts to extract capabilities from Claude on a huge scale. According to a report from Reuters, Anthropic told US lawmakers that operators linked to Alibaba and the company’s Qwen AI team generated 28.8 million exchanges with Claude between April 22 and June 5, 2026. That is a lot of Claude conversations, but Anthropic says this was not ordinary chatbot use. The company believes the accounts were part of a coordinated effort to collect answers that could help train or improve rival AI systems. The alleged campaign reportedly focused on some of Claude’s most valuable skills, including software development, multi-step reasoning, and agentic tasks. In practical terms, that means getting an AI model to plan and complete work across several stages rather than simply answering a single question. This is called 'distillation,' where AI companies use outputs from a larger model to train a smaller and cheaper one. The smaller model learns to imitate useful parts of the more capable system without needing the same amount of computing power. The distillation process isn't automatically suspicious, but the problem comes when one company gathers another provider's outputs without permission and at an industrial scale. Also, this does not mean Alibaba obtained Claude’s source code, model weights, or original training data. Instead, Anthropic claims the accounts repeatedly asked Claude carefully designed questions and collected the answers. Those answers could then be used as training material for another model. Anthropic has made similar accusations against DeepSeek, Moonshot AI, and MiniMax earlier this year. As Neowin previously reported, Anthropic said those three companies collectively generated more than 16 million Claude exchanges through roughly 24,000 accounts. Anthropic says the new campaign produced almost twice as many exchanges in a matter of weeks. Anthropic reportedly told lawmakers that the campaign could help Chinese AI developers approach the capabilities of its Mythos Preview model. Mythos is focused on advanced cybersecurity work, including finding and exploiting complex software vulnerabilities. via Reuters | Photo via DepositPhotos.com
    • An Indian manufacturer that assembles roughly one-third of Apple's iPhones and supplies semiconductor components to Tesla confirmed Monday that attackers had stolen and publicly published a 630-gigabyte cache of confidential files — including engineering blueprints stamped "TRADE SECRET," a 52-page quality inspection document for iPhone circuit board components, and cryptographic certificates that security experts say could be weaponized in follow-on attacks. https://www.techtimes.com/articles/319019/20260624/apple-tesla-supplier-tata-electronics-confirms-630-gb-data-theft-iphone-specs-dark-web.htm
    • I don't think it was ever a big question. In fact, I don't think anyone ever asked about how clocks work on Mars.
  • Recent Achievements

    • Rookie
      krychek57 went up a rank
      Rookie
    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
    • Dedicated
      Scoobystu earned a badge
      Dedicated
    • First Post
      Tom Schmidt earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      441
    2. 2
      +Edouard
      176
    3. 3
      PsYcHoKiLLa
      133
    4. 4
      Michael Scrip
      79
    5. 5
      Xenon
      77
  • Tell a friend

    Love Neowin? Tell a friend!