2 Replies - 712 Views - Last Post: 04 December 2012 - 10:49 AM Rate Topic: -----

#1 coujin  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-December 12

How to make a 5 digit combo lock?

Posted 04 December 2012 - 10:43 AM

Hey guys.

Right i've being trying to create a five digit number combination lock in c# but i am struggling quite a bit. I have just came into to c# and just getting to grips with it.

I jut wanted to know if any of you guys could get me start or point me in the right direction, if you know if any tutorials that would be great as well.

Thank you very much for your help.
Is This A Good Question/Topic? 0
  • +

Replies To: How to make a 5 digit combo lock?

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8915
  • View blog
  • Posts: 33,430
  • Joined: 12-June 08

Re: How to make a 5 digit combo lock?

Posted 04 December 2012 - 10:45 AM

You would start by explaining your problem space more effectively.
Was This Post Helpful? 0
  • +
  • -

#3 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5436
  • View blog
  • Posts: 11,649
  • Joined: 02-June 10

Re: How to make a 5 digit combo lock?

Posted 04 December 2012 - 10:49 AM

Are you saying you want to display all the 5 digit combos?
0 0 0 0 0
9 9 9 9 9

Or that you want to make a pretty looking virtual combo lock on screen that reacts to the user as a means of a log-on screen?

We really have no idea what you're trying to make.

My advice is first learn the language through tutorials and such. Don't worry about designing a program from scratch. You simply don't have enough understanding of the language or the foundation principals yet to think you can architect a program.



My standard beginner resources post - Updated DEC 2012

You can try to learn C# by dismantling snippets and googling terms - basically you can take a hit-n-miss, shotgun approach. Or you could just follow a proper training program whether it be a couple intro books, school, on-line course or series of tutorials like the ones we offer. I'll tell you from experience that just fumbling around in the dark and trying to teach yourself with no guidance doesn't work. Its like stumbling across a Harrier Jump Jet and trying to teach yourself how to fly with no background in piloting: You simply lack any groundwork to start from. How can you lay out your own training course if you don't already know the material? Would you go to a university where the teacher says "I don't know any of this but we'll fumble through it together?"

We have a tutorials section and a learning C# series of articles.

First learn the language by working 2-5 "Learn C# in 30 days" type books cover to cover. Do a couple hundred on-line tutorial projects where you build what you're told to build, the way you are told to build it WITH AN EXPLANATION OF WHY so you can learn.

There are three routes people seem to take when learning programming.
  • Just start trying to create programs
  • Start taking apart other programs and try to figure out the language by reverse engineering
  • Follow a guided learning course (school or self-teaching books)


For the life of me I can't figure out why people try 1 & 2. I strongly suggest taking the guided learning approach. Those book authors go in a certain order for a reason: They know what they're doing and they know the best order to learn the materials.

Quote

Where do I start?


You start by learning a coding language FIRST.
Learn to plan before you type.
THEN you start designing software with a purpose.


If this sounds like you

Newbie/Rookie said:

I have a little programming experience but I need to write ...
read this section
Spoiler


Otherwise, you can just jump to the resources here:
Some of the tutorials below are for C# or Java not C, C++, VB.NET [...]. But the conceptual stuff of classes, object oriented design, events etc. are not language specific and should give you enough guidance in theory of program development for you to be able to look-up specific code example in your chosen coding language.



Resources, references and suggestions for new programmers. - Updated Oct 2012
Spoiler

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1