|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Sorry if this is in the wrong forum, im new to the site.
I was wondering if anyone could tell me how to make a map-making program for my graph-paper game. Basically, it needs to create a grid (like on graph paper) then put a set number of different letters into random boxes (for example, 5 T's, 3 G's, and 5 F's, spread randomly throughout the grid). I have no programming experience whatsoever, but i am good with computers. Any help is greatly appreciated ![]() |
| Sponsored Links |
|
|
|
|||||
|
I am assuming you want to do this with C++?
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Microsoft recently released a platform known as the .NET Framework. You can imagine it as a piece of land - you can then write the code to build the houses on it. Whenever you write .NET programs (using languages such as C++, C# and VB.NET), the program uses the .NET Framework to run. Therefore, if a user wants to run a .NET program, they need the .NET Framework installed on their computer.
Some people seem to think the .NET Framework is not such a good idea, as it is not cross-platform. However, there are advantages. I know you have no experience in programming, but basically, in a division known as OOP (object orientated programming), everything you do is based on virtual objects. For example, there are objects that generate random numbers. There are objects that download data, or read text files, or display message boxes. The .NET Framework provides lots of templates for objects, known as classes. This makes it very useful. There is a class called System.Random, which you can use to generate random numbers, which you could use to write your program. You can use the .NET Framework's languages by downloading the software required at Visual Studio 2008 Express Editions. It's quite complex, so you might need a book to start you off. However, once you get to grips with it, you can create some really amazing programs. Xav P.S. The .NET Framework also provides visual objects, for making your windows in (known as forms). The object known as "DataGridView" is a grid of data that you can fill with data, either manually or from a database. It is called a control - something you can see in the window of your program. Other examples of controls include buttons, textboxes and check boxes. P.P.S. It is actually against the forum rules to post two posts back to back. if you want to add something, use the 'Edit' button. ![]() |
| Sponsored Links |
|
|
|
|||||
|
Quote:
Quote:
![]()
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
There are already open-source map programs in Java that you could probably use as the basis. Check out MapTool.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Programming is a branch of mathematics. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Displaying a text grid | The Midnighter | C and C++ | 8 | 11-25-2007 06:05 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |