Noobies look here

if your new to c++ look here

  • (2 Pages)
  • +
  • 1
  • 2

17 Replies - 2024 Views - Last Post: 16 July 2001 - 03:34 PM Rate Topic: -----

#1 runtime error  Icon User is offline

  • Lucky.Code
  • member icon

Reputation: 3
  • View blog
  • Posts: 629
  • Joined: 19-March 01

Noobies look here

Posted 31 March 2001 - 05:15 PM

Hey a lot of guys on this site are new and think that c++ is hard. But it truly isn't hard at all. It is like any other programming language, you read a book or a tutorial and you learn.

The first thing that i would do is get a compiler.
there are several free compilers out there.
Borlands c++ which many professional programmers use can be found at:

http://www.borland.com/downloads

the problem with this is you have to become part of their commmunity. I would suggest this compiler it is less complex than the others.

After you get that special compiler for c++, just like any other programming language (including html) you have to learn the basics. So find a good tutorial.

http://cplusplus.com/doc/tutorial/
http://www.cprogramm...m/tutorial.html

and im sure there many other great resources out there.

I know you all want to dive into windows programming but that takes a little experience.

To truly learn how to program you must follow one philosophy. "Do stuff. Repeat."

Any way any questions along the way i'm here. Good luck.

(Edited by runtime error at 6:18 pm on Mar. 31, 2001)


Is This A Good Question/Topic? 0
  • +

Replies To: Noobies look here

#2 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4496
  • View blog
  • Posts: 28,404
  • Joined: 21-March 01

Re: Noobies look here

Posted 01 April 2001 - 10:52 AM

run time is exactly right, borland is a good compiler that i would get. if you can though, try and get a C++ for dummies book, and some of them will come with microsoft visual C++, that's a really good one, although a bit more complicated. when starting off i would go for programming in DOS. it will help you learn a lot and will make windows programming a lot easier.
Was This Post Helpful? 0
  • +
  • -

#3 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1866
  • View blog
  • Posts: 20,278
  • Joined: 17-March 01

Re: Noobies look here

Posted 01 April 2001 - 02:04 PM

How's it going Supersloth... sorry I didn't get a chance to talk with you today/last night (???) I've been pretty busy... I did talk for a while with runtime last night, he was starting to get pretty funny (I think an outside source had something to do with that, he'll tell you all about it I'm sure)

You seen battle bots yet? Now that we got comedy central, my TV is like permanatley (sp?) on channel 59

Was This Post Helpful? 0
  • +
  • -

#4 Quik  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2
  • View blog
  • Posts: 3,750
  • Joined: 06-March 01

Re: Noobies look here

Posted 02 April 2001 - 09:47 AM

Hey, After you do some prgramming in dos, which i have b4, I was curious to know if you have any sites for tutorials on Visual C++..  Um, I got Visual C++ 6.0. Thanks
Was This Post Helpful? 0
  • +
  • -

#5 runtime error  Icon User is offline

  • Lucky.Code
  • member icon

Reputation: 3
  • View blog
  • Posts: 629
  • Joined: 19-March 01

Re: Noobies look here

Posted 02 April 2001 - 04:22 PM

Visual c++ makes it easier for you to create windows applications. It uses something called MFC. I have not looke at a whole lot of tutorial on it but i glanced at this one. it will probably give the basics.

http://devcentral.if...c-win32/vc6mfc/


Was This Post Helpful? 0
  • +
  • -

#6 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4496
  • View blog
  • Posts: 28,404
  • Joined: 21-March 01

Re: Noobies look here

Posted 08 April 2001 - 06:02 PM

hey, yea i have seen battlebots and it rocks allthough the commentary is beyond stupid. the man show also rocks. anyways one ting i wanted to say was that when you code in msvc don't be disapointed if all you get is a dos program. it's a lot better than you think and definietly gets you into programming. and runtime-what did happen?
Was This Post Helpful? 0
  • +
  • -

#7 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1866
  • View blog
  • Posts: 20,278
  • Joined: 17-March 01

Re: Noobies look here

Posted 08 April 2001 - 06:53 PM

Hey supersloth, you don't gotta stay in the C++ forum, post in the caffeine lounge or where ever... I want to have people here constantly posting stuff... doesn't even have to be useful, half the fun of these boards are the funny posts and the BS that everyone talks
Was This Post Helpful? 0
  • +
  • -

#8 Dodongomon  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 08-April 01

Re: Noobies look here

Posted 08 April 2001 - 08:09 PM

Hi, my problem is that the programs I make only stay open for a milisecond. I program them, and they show up as dos programs. They stay open for a second and then close.  I cannot even see if the coding I put in works... Please clue-me-in. Thanks
Was This Post Helpful? 0
  • +
  • -

#9 runtime error  Icon User is offline

  • Lucky.Code
  • member icon

Reputation: 3
  • View blog
  • Posts: 629
  • Joined: 19-March 01

Re: Noobies look here

Posted 08 April 2001 - 09:15 PM

HMMMM. The only thing that i can think of is that you have no user input. So the code is executing but not stopping for you to see anything.

The best way to fix this is to put getch(); some where in there som where to stop the program. I believe that you have to include conio.h

if you have problems write back.

(Edited by runtime error at 11:17 pm on April 8, 2001)

Was This Post Helpful? 0
  • +
  • -

#10 Dodongomon  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 08-April 01

Re: Noobies look here

Posted 11 April 2001 - 08:09 PM

Hmm... It still didn't work. What do I put in the () after Getch? I just got an error. So far I can make calculators, and that is about it...
Was This Post Helpful? 0
  • +
  • -

#11 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4496
  • View blog
  • Posts: 28,404
  • Joined: 21-March 01

Re: Noobies look here

Posted 11 April 2001 - 09:41 PM

are you totally sure everything in you program is correct, like do you have cin's and cout's working, cause if you cout's aren't then your program will fly by
Was This Post Helpful? 0
  • +
  • -

#12 runtime error  Icon User is offline

  • Lucky.Code
  • member icon

Reputation: 3
  • View blog
  • Posts: 629
  • Joined: 19-March 01

Re: Noobies look here

Posted 12 April 2001 - 05:22 PM

you can post the code or send it to me i will have to see it to see what's wrong.


Was This Post Helpful? 0
  • +
  • -

#13 tsmoke  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 50
  • Joined: 20-April 01

Re: Noobies look here

Posted 20 April 2001 - 06:53 PM

Dodongomon,

I would have to take a look at your code to see what may be the problem. I may wonder though if you are giving the wrong return value or something at the end of your program and that may be causing it to exit.

Tsmoke

Was This Post Helpful? 0
  • +
  • -

#14 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4496
  • View blog
  • Posts: 28,404
  • Joined: 21-March 01

Re: Noobies look here

Posted 20 April 2001 - 11:07 PM

he may be right, what is it

return;
return 0;
something else?

Was This Post Helpful? 0
  • +
  • -

#15 Mr tooth  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 21-June 01

Re: Noobies look here

Posted 21 June 2001 - 09:58 PM

I know this topic is alittle old, but to stop this from happening, you must include <stdlib.h> and after your last statement put

system( " pause " );

the spaces aren't neccesary but a darn smily kept poping up in the code.

and that will work everytime, atleast it does for me :)

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2