12 Replies - 2133 Views - Last Post: 14 March 2005 - 08:46 PM Rate Topic: -----

#1 Maxkilljoy   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 13-March 05

New As New Can Be

Posted 13 March 2005 - 06:39 AM

Hi guys have I come to the right place?

I am in the military and do not have the ability to go to school until 2007. This is when I will return from duty. What I do have is the desire to learn. I do alot of gaming, but that is not all I want to do on a computer. I do have alot of time. Can someone tell me or point me in the right direction. I dont know anything about programing but I want to start. Where can I do this, anyone have any online sights,programs or online text to get me started. Anyone wanna be my teacher?

Is This A Good Question/Topic? 0
  • +

Replies To: New As New Can Be

#2 born2c0de   User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 187
  • View blog
  • Posts: 4,673
  • Joined: 26-November 04

Re: New As New Can Be

Posted 13 March 2005 - 10:06 AM

Well...Sure we're there to help you out. I'd suggest you start off with Visual BASIC and then move on with C and C++.

Infact you can also start with C++. As long as you are interested...you will have fun. I mean...don't try to learn programming just because you have lots of time( because a lot of my friends got bored because of this)

So...Do you have a C++ Compiler?
Try out Dev C++ as it's free or grab a copy of Visual C++ or Borland C++ and let us know.

Once you get a compiler, you can start off by checking these Online Books:

*Basics of C*
*C++ for Beginners*
Was This Post Helpful? 0
  • +
  • -

#3 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 250
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: New As New Can Be

Posted 13 March 2005 - 01:36 PM

I'd agree with born2code's second suggestion...a good start would be with C or C++...these languages are among the most popular in the industry, and the majority of the techniques and objects are not platform dependant. Java is also good. You'll see that when you pick up one of the C derivatives, others come quite easily.
Was This Post Helpful? 0
  • +
  • -

#4 Maxkilljoy   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 13-March 05

Re: New As New Can Be

Posted 13 March 2005 - 02:02 PM

OK cool, I will look into visual basic to start. not doing it just becasue i have time. I really want to learn, I just ment that I have alot of time. thank you I will look into the Visual basic first. Know of anywhere I should start?
Was This Post Helpful? 0
  • +
  • -

#5 Videege   User is offline

  • rÍvant.toujours
  • member icon

Reputation: 6
  • View blog
  • Posts: 1,413
  • Joined: 25-March 03

Re: New As New Can Be

Posted 13 March 2005 - 04:55 PM

Well, you'll need a copy of VB first. A lot of books (SAMS, etc) come with a free "educational" copy of VB; all the functionality except the ability to compile full executables, good for learning.
Was This Post Helpful? 0
  • +
  • -

#6 Maxkilljoy   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 13-March 05

Re: New As New Can Be

Posted 13 March 2005 - 05:19 PM

Ok I tried the HELLO.C exercise off of "getting started with C" using the Dev C++ compiler. I didnt get any errors. What I could not do is get the .exe to run and display on the screen.

Where do I open the file? Dos ? or can I just click the .exe file in windows?
Was This Post Helpful? 0
  • +
  • -

#7 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 250
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: New As New Can Be

Posted 13 March 2005 - 07:45 PM

What are you doing to run it? Command line, or something else? Is it possible that it's merely running to quickly for you to see? With some runs, if there is nothing at the end of the code to pause the program, the console will close too quickly. Try placing the following library at the yop of your code
#include<conio.h>


and the following line right before your main function ends
getch();


Was This Post Helpful? 0
  • +
  • -

#8 born2c0de   User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 187
  • View blog
  • Posts: 4,673
  • Joined: 26-November 04

Re: New As New Can Be

Posted 13 March 2005 - 10:03 PM

or you can put these as the last few lines of the program to halt and ask for input so that you can see the previous Output on screen.
int a;
cin>>a;


Of course, getch() would be way better than this...but I remember having some problems with conio.h when I used to use Dev C++. Not so sure though...
Was This Post Helpful? 0
  • +
  • -

#9 Maxkilljoy   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 13-March 05

Re: New As New Can Be

Posted 14 March 2005 - 01:02 AM

well I tried both of these and I still dont get the .exe file I must be doing something wrong. Ill try again tomarrow
Was This Post Helpful? 0
  • +
  • -

#10 born2c0de   User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 187
  • View blog
  • Posts: 4,673
  • Joined: 26-November 04

Re: New As New Can Be

Posted 14 March 2005 - 11:06 AM

you don't get the .EXE File?

Make sure you Compile + Link the Program. Simply Compiling the code wont do as it creates only the .obj file.
Was This Post Helpful? 0
  • +
  • -

#11 Maxkilljoy   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 13-March 05

Re: New As New Can Be

Posted 14 March 2005 - 07:53 PM

ok using the dev C++ I created the project Hello World. I did compile it what I didnt do is link the file. how do I do that ?
Was This Post Helpful? 0
  • +
  • -

#12 Amadeus   User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 250
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: New As New Can Be

Posted 14 March 2005 - 08:01 PM

What version of dev c++ are you using? Here's a page that quickly summarizes the first steps, from downloading to compiling to running...unless you're just using a stripped down command line only version.
Was This Post Helpful? 0
  • +
  • -

#13 Maxkilljoy   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 13-March 05

Re: New As New Can Be

Posted 14 March 2005 - 08:46 PM

ok the exe opens up in a dos window.

I get this error

An installable Virtual Device Driver failed DLL intialzation. Choose 'Close' to terminate the application
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1