• 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

    • PDF-XChange Editor 11.0.1.0 by Razvan Serea PDF-XChange Editor is a comprehensive PDF editor that allows you to create, view, edit, annotate, and digitally sign PDF documents with ease. With advanced features like OCR, document security, and PDF optimization, PDF-XChange Editor is a powerful tool for both personal and professional use. Whether you need to edit text, images, or links, or add comments, stamps, or watermarks, PDF-XChange Editor provides all the necessary tools to make your PDFs look perfect. Additionally, it supports a wide range of file formats, including PDF, XPS, and DOCX, making it easy to convert and share your documents. PDF-XChange Editor key features: Edit text and images in PDF documents Add and remove pages from PDF files Annotate and markup PDFs with comments, highlights, and stamps Use OCR to convert scanned documents into searchable text Create and fill out PDF forms Sign and certify PDF documents digitally Add and edit hyperlinks within PDFs Extract text and images from PDF files Batch process multiple PDF files at once Customize the interface to your preferences Work with multiple documents in tabs Convert PDFs to other formats such as Word, Excel, and HTML Use advanced redaction tools to permanently remove sensitive information Add customizable headers and footers to PDFs Merge multiple PDF documents into a single file Split PDF documents into multiple files Add watermarks to PDF documents Use the measurement tools to calculate distances and areas in PDFs ....and much more PDF-XChange Editor 11.0.1.0 changelog: Fixed a crash in the new Open/Save dialog box when creating a new folder in an unavailable network path. (49552) Fixed a rare/infrequent crash on some dynamic XFA forms after changing their field values. [installer] Fixed an issue where shortcuts were lost during an upgrade from the previous version. [installer] Fixed an issue preventing migration of serial keys during updates from version 10. Fixed the issues with the shell context menu after installation of version 11. Fixed the issue with filtering comments. (49478) Fixed the issue that caused "Error [IO subsystem]: Invalid access mode." when converting PDFs to MS Office formats. Fixed an issue with the context menu position on some multi-monitor systems. (48467) Fixed an issue with handling complex custom file filters, displayed by JS, in the new Open/Save Files dialog box. (49486) Fixed several issues with the new 'Select Folder' dialog box. (49505) Fixed an issue with the new custom 'Open File' dialog box when using double-click to open it. (49498) Fixed an 'infinite' loop/proliferation in the 'Open Files' and 'Manage Places' dialog boxes. (49526) Fixed an issue with handling the mouse wheel inside the document "Find" box. (49539) Fixed an incorrect behaviour in the 'Go back (Alt+Left)' button in the new Open/Save Files dialog box. (49510) Fixed an issue with the shortcut keys (Alt+Left/Right) after navigating via breadcrumb paths in the new Open/Save Files dialog box. (49554) [installer] Fixed an issue with redrawing the progress text in the EXE installers. Fixed the issue where a mouse click outside of the polyline/polygon context menu during annotation creation would cancel the annotation. (49475) We switched back to using the system Open/Save/SelectFolder dialog box by default, instead of using the new one, because some popular features such as the QuickAccess/Recent items are missing in the new version. These will be added in a future release. Replaced the 'Extension' column in the new Open/Save File dialog box with a more user-friendly 'Type' column. Also fixed some issues when handling the 'Show file extension' option. (49497) Added the ability to authenticate local network shares in the new Open/Save Files dialog box. (49557) Improved the handling of dates after 01.01.2030 in XFA files - now such dates are stored properly when set via the dropdown widget. Flags NoZoom and NoRotate are now respected for only a limited subset of annotations. Download: PDF-XChange Editor (64-bit) | Portable ~300.0 MB (Shareware) Download: PDF-XChange Editor (32-bit) | Portable ~200.0 MB Download: PDF-XChange ARM64 | 276.0 MB Download: PDF-XChange Portable @PortableApps.com | 97.0 MB View: PDF-XChange Editor Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Still 3x what it should cost. So, it seems the trick is to increase price by 6x so that a reduction in price back to 4x looks like a steal. "You savvy shoppers win again!" I'm glad I'm not in a desperate spot to actually even need this overpriced crap. Hopefully, it comes back down by the time for when (or if) I ever do.
    • Although AI is great and has it's use cases they likely have massively overhyped it and it has not delivered as per their expectations. I fully expect them to start saying the same things again when it does get to a certain level of intelligence!
    • Microsoft wants to end printer driver headaches with Windows Ready Print by Usama Jawad A few days ago, Microsoft released Windows 11 Experimental build 26300.8553, bringing a ton of enhancements such as Start menu customization, search improvements, Taskbar polish, and other minor UI tweaks. Another relatively major enhancement snuck deep within the change log was related to upgrades to the Windows printing experience. Now, Microsoft has shared more details about these benefits. For starters, Microsoft has renamed its Modern Print Platform to Windows Ready Print. The company believes that this name highlights its shift in strategy, which now focuses on modernizing, securing, and streamlining the printing experience for Windows devices. Some of the upgrades present in Windows Ready Print have already been seeded to customers and partners. This includes ending support for third-party printer drivers via Windows Update and transitioning towards the Internet Printing Protocol (IPP) and the native Windows IPP printer driver. In line with these changes, new printer installations will default to Windows Ready Print on eligible devices starting from July 2026. However, Microsoft recognizes that not all environments will be able to migrate to this platform immediately, so it will allow users to choose between installing the printer via Windows Ready Print or the traditional OEM process. Users will be able to toggle this configuration through Settings > Bluetooth & Devices > Printers & Scanners > Printer preferences. This control applies only to new printer installations, and its functionality can also be modified via Group Policy as follows: Launch Group Policy Editor Navigate to Local Computer Policy -> Administrative Templates -> Printers Find and select 'Configure Windows Ready Print driver ranking' -> double click to open it Select 'Enabled' (if you wish to enable Windows Ready Print driver selection) or 'Disabled' (if you wish to explicitly disable Windows Ready Print driver selection). Select Apply Select OK Similarly, if you set up Windows protected print mode through the same setting in Windows 11, it will also default to using Windows Ready Print exclusively. Microsoft hopes that these improvements will help eradicate dependency on OEM-specific driver installation processes and simplify printer installations. We'll likely find out more about other tangible benefits in the coming months.
  • Recent Achievements

    • 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
    • Reacting Well
      Sir_Timbit earned a badge
      Reacting Well
    • Week One Done
      rubentuben8 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      511
    2. 2
      PsYcHoKiLLa
      231
    3. 3
      +Edouard
      138
    4. 4
      ATLien_0
      86
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!