Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



Newbie C++ Help


211 replies to this topic * * * * * 2 votes

#61 evil__donkey

    Neowinian

  • 2 posts
  • Joined: 14-May 04

Posted 14 May 2004 - 09:31

no i am not kidding.


#62 Blivrail

    Neowinian

  • 42 posts
  • Joined: 22-April 04

Posted 22 June 2004 - 05:55

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!)

#63 tarlrules

    Neowinian

  • 2 posts
  • Joined: 22-June 04

Posted 22 June 2004 - 09:26

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

#64 M9IqpK4

    Neowinian

  • 11 posts
  • Joined: 24-June 04

Posted 24 June 2004 - 07:50

and where is ASM?

#65 bozthepcnerd

    Casual Programmer

  • 203 posts
  • Joined: 01-July 04
  • Location: Bathurst, Australia

Posted 01 July 2004 - 13:06

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. :)

#66 Prince21

    *P21*

  • 799 posts
  • Joined: 09-November 03

Posted 02 July 2004 - 18:57

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

#67 dreamthief

    Serial Neowin Stalker

  • 1,415 posts
  • Joined: 04-April 03

Posted 02 July 2004 - 19:00

M9IqpK4, on Jun 24 2004, 15:50, said:

and where is ASM?
assembly language

#68 bozthepcnerd

    Casual Programmer

  • 203 posts
  • Joined: 01-July 04
  • Location: Bathurst, Australia

Posted 03 July 2004 - 08:04

Quote

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

#69 MrCodeDude

    Neowinian

  • 4 posts
  • Joined: 12-December 03

Posted 12 July 2004 - 02:47

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?

#70 azcodemonkey

    Neowinian Wise One

  • 4,639 posts
  • Joined: 19-March 02

Posted 12 July 2004 - 18:02

MrCodeDude, on Jul 11 2004, 19:47, said:

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.

#71 Y2K

    Lord of Toghole

  • 89 posts
  • Joined: 16-December 03
  • Location: NZ-Mid Canterbury-Ashburton

Posted 19 August 2004 - 07:41

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.

#72 Y2K

    Lord of Toghole

  • 89 posts
  • Joined: 16-December 03
  • Location: NZ-Mid Canterbury-Ashburton

Posted 20 August 2004 - 05:16

weenur, on Jul 12 2004, 18:02, said:

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.
umm try
#<iostream> without .h becuase its not recognised cos its too old or sumthing

#73 kjordan2001

    Mystery Solver

  • 9,842 posts
  • Joined: 27-May 02

Posted 20 August 2004 - 13:07

Y2K, on Aug 20 2004, 00:16, said:

umm try
#<iostream> without .h becuase its not recognised cos its too old or sumthing
#include <iostream>

#74 Y2K

    Lord of Toghole

  • 89 posts
  • Joined: 16-December 03
  • Location: NZ-Mid Canterbury-Ashburton

Posted 21 August 2004 - 10:37

kjordan2001, on Aug 20 2004, 13:07, said:

#include <iostream>
:blush: My bad

#75 bithub

    Neowinian²

  • 120 posts
  • Joined: 18-July 04

Posted 22 August 2004 - 05:49

Quote

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.