Mini project problem

Write your question here.



am a student of information technology
and am in 2nd year
am facing problems in mini project
i dont know what kind of topic to chose as i have to do only in c++
help me out please
Think about basics.
Maybe a library database,or a text based game.
What is your question?
our class has been asked to do a mini project in c++
am not good at programming
so i dont know what topic to choose for the project as we have to write the code for it in c++ and execute it infront of the class
topics like library management ,hotel management,tic tac toe are restricted as they have been done by the seniors

my problem is
i dont have the topic
and even if i get the topic
i dont know how to write the code for it
Well how advanced does the program have to be? Will it need advanced graphics or can it be executed in the console?
I don't care to help those who don't want to put in the time and effort to learn. What you want is for us to do your project for you, and that just isn't going to happen, unless some sucker falls for you.

I'll answer you when you have a REAL problem.
The question you need to ask yourself is... do you care to be a programmer or not? Somebody else doing it for you is never going to help you beyond getting a piece of paper that says "pass". If you're no good maybe you're in the wrong class, or, take the effort to learn outside of class if you really care.

As for ideas, I'm guessing it is console based. You could try a multi-purposed calculator, a hangman game...
Last edited on
You should right a program that creates topics
i never wanted to be a programmer
its all the family pressure
yea i need a "PASS" on my certificate which is why i'm asking for help
by the way
atleast suggest me some topics
i'll try my best on it
and it need not be advanced
ArshadAli wrote:
atleast suggest me some topics


Paoletti wrote:
You should right a program that creates topics


Codeez wrote:
You could try a multi-purposed calculator, a hangman game...


ASI7296 wrote:
Maybe a library database,or a text based game.


Mini project?
Book sorter? Song database (without the music)? Simple string database with password protection?
All the ideas Daleth listed are good.
A few more ideas:

Pig latin program that translated things to pig latin, text adventure, a program that alphabetizes a list, a message encrypter/decrypter that uses an algorithm to alter strings and shift them up/down a few characters, number guessing game where the program generates a number randomly and you guess it and the program tell you to go higher or lower until you get the number right (for more functionality have the program count your moves and say that you lose after you guess too many times)

I came up with all of these off the top of my head. Just be creative.
its all the family pressure

Nobody in the family has suggested a topic...?
I personally don't like people like you,but as it's pressure or so,whatever.
I accidently found some old project ,while searching for a picture and I was reading this topic on the same time,so :s..I don't even remember when I've created this...If it's too simple or just bad for you,Can't help you.:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
#include <iostream>
#include <windows.h>
#include <stdlib.h>
#include <conio.h>

using namespace std;
char b1=219,Cell[2925];
int cc;
void           maps();
void          moves();
void movedirection();
void checkwins();
void clearscreen()
{
    HANDLE hOut;
    COORD Position;

    hOut = GetStdHandle(STD_OUTPUT_HANDLE);

    Position.X = 0;
    Position.Y = 0;
    SetConsoleCursorPosition(hOut, Position);
}
int main()

{
    Cell[287] = 70;
     Cell[301] = 84;
      Cell[315] = 73;
       Cell[329] = 68;
        Cell[343] = 81 ;
         Cell[917] = 66;
          Cell[931] = 71;
           Cell[945] = 85;
            Cell[959] = 72;
             Cell[973] = 74;
              Cell[1547] = 75;
               Cell[1561] = 76;
                Cell[1575] = '.';
                 Cell[1589] = 78;
                  Cell[1603] = 79;
                   Cell[2177] = 80;
                    Cell[2191] = 69;
                     Cell[2205] = 82;
                      Cell[2219] = 83;
                       Cell[2233] = 77;
                        Cell[2807] = 87;
                         Cell[2821] = 86;
                          Cell[2835] = 67;
                           Cell[2849] = 88;
                            Cell[2863] = 65;
    maps();
}



void maps()
{

    for(int temp2=0;temp2<3151;temp2++)
    {
        if(temp2 % 70 ==  0)
        {
            cout << b1;
            cout << endl;
        }
        if(temp2 % 630 == 0)
        {
           	for(int temp=0;temp<71;temp++)
	{
		Cell[temp]=b1;
        cout << Cell[temp];

	}
            cout << endl;
        }
        if(temp2 % 14 ==0)
        {
            Cell[temp2]=b1;
        }
        else if (    temp2 == 287 || temp2 == 301 || temp2 == 315 || temp2 == 329 || temp2 == 343 || temp2 == 917
                  || temp2 == 931 || temp2 == 945 || temp2 == 959 || temp2 == 973 || temp2 == 1547|| temp2 == 1561
                  || temp2 == 1575 || temp2 ==1589 || temp2 == 1603 || temp2 == 2177 || temp2 == 2191 || temp2 == 2205
                  || temp2 == 2219 || temp2 == 2233 || temp2 == 2807 || temp2 == 2821 || temp2 == 2835 || temp2 == 2849|| temp2 == 2863
                )
        {
            ;
        }
        else {Cell[temp2]=' ';}
            cout << Cell[temp2];
    }
    moves();



}
void moves()
{
	                            cc=0;
                                for(int j=0;j<3151;j++)
                            {
                                if(Cell[j]=='.')
                                {
                                    cc=j;
                                }
                            }

                            cout << "\n\n2015\n\nUse AWSD TO MOVE\n\n A B C D E\n F G H I J\n K L M N O\n P Q R S T\n U V W X .";
                            movedirection();
}

void movedirection()
{
    checkwins();
            char yes= _getch();

                            switch(yes){
                               case 'd':
                               {
                                   if(cc % 630 ==287)
                                   {
                                       movedirection();
                                   }
                                   else
                                   {
                                       Cell[cc] = Cell[cc-14];
                                       Cell[cc-14]    = '.';
                                       clearscreen();
                                       maps();
                                   }

                               }
                               case 'a':
                               {
                                   if(cc % 630 ==343)
                                   {
                                       movedirection();
                                   }
                                   else
                                   {
                                       Cell[cc] = Cell[cc+14];
                                       Cell[cc+14]    = '.';
                                       clearscreen();
                                       maps();
                                   }
                               }
                               case 's':
                               {
                                   if(cc==287 || cc==301 || cc==315 || cc==329 || cc==343)
                                   {
                                       movedirection();
                                   }
                                   else
                                   {
                                       Cell[cc] = Cell[cc-630];
                                       Cell[cc-630]     = '.';
                                       clearscreen();
                                       maps();
                                   }
                               }
                               case 'w':
                               {
                                   if(cc==2807 || cc==2821 || cc==2835 || cc==2849 || cc==2863)
                                   {
									   movedirection();
								   }
								   else
								   {
                                       Cell[cc] = Cell[cc+630];
                                       Cell[cc+630]     = '.';
                                       clearscreen();
                                       maps();
                                   }
                               }
							   default : movedirection();
                            }
}

void checkwins()
{
 if(Cell[287] == 65 &&
     Cell[301] == 66 &&
      Cell[315] == 67 &&
       Cell[329] == 68 &&
        Cell[343] == 69 &&
         Cell[917] == 70 &&
          Cell[931] == 71 &&
           Cell[945] == 72 &&
            Cell[959] == 73 &&
             Cell[973] == 74 &&
              Cell[1547] == 75 &&
               Cell[1561] == 76 &&
                Cell[1575] == 77 &&
                 Cell[1589] == 78 &&
                  Cell[1603] == 79 &&
                   Cell[2177] == 80 &&
                    Cell[2191] == 81 &&
                     Cell[2205] == 82 &&
                      Cell[2219] == 83 &&
                       Cell[2233] == 84 &&
                        Cell[2807] == 85 &&
                         Cell[2821] == 86 &&
                          Cell[2835] == 87 &&
                           Cell[2849] == 88
    )
  {
      cout << "\a\nWinner!!!\a";
      Sleep(50000);
  }
}

@Foxefde
thanx for the program :)
but can please tell me what is this program all about?
I think you must change letters position to win,check bottom.+Try it,maybe it's bugged,I don't know now
Topic archived. No new replies allowed.