Making something important

Hi!
I'm learning c++ more than 3 months. I'm learning making examples like:
please enter a number...its double and factorial is...
Please write a sentence...first letter is...size of the sentence... ...anything important...
Can i make more serious project? Please give any examples that i should try to do.
Thanks!
Hi!
here is my problem:
Input
n(n>0)
output
if n is grade of number 3 “true” else “false”;

for example:
input: 129140163
output: true
I don't think Hazer wants to do your homework...

So, what would you like to do? How much time are you willing to spend learning to do it? If you really are serious, you can ask your professors or the campus system administrators if there is anything that they would like to see done that fits your requirements. Professors like student programs that they can use to help teach. (It has to be really professional though!) Professors also like programs that demonstrate what you can do with the subject material, or some subject material in which they are interested. Even if it is, in their eyes, 'primative', often enough they will be pleased that someone has taken an interest in learning more about it.

I've written things like (using [quote] for a list)
The Make Anything Makefile --a gmake makefile that will compile programs for introductory CS students.
A Tcl script that properly compiles OpenGL programs for students taking introductory graphics programming courses.
Code that loads TGA and BMP files for textures for the same OpenGL course.
A graphical Turing Machine emulator taking (nearly) any kind of tape or TM for animated demonstrations in the classroom. Well, OK, I've not finished this one yet... but I'm getting close. :-)
A plug-in for Shalom Help Maker that allows extra customizations (fonts and images and titles and the like)
A simple text editor that worked identically at school and at home (and anywhere else I go these days) that does things the way I like.
Plus varieties of video games and screensavers and the like. Let your imagination go!

Hope this helps.
1. I will not do your homework but you should read tutorials in this website (i can't remember which one but there is something about 'even and odd numbers').
2. I'll try to make text editor and gmake but i don't think about graphics. Graphics is still to hard for me.
I give a code lecture in my intro-to-game development course (which has very little to do with programming) that gets students pretty excited. I basically code a very simple 2D game engine, just to show students who have never seen C++ before what it looks like to program a game, at least in concept.

Some of them really run with it, and start adding new features to the game, like collision detection, collide-able objects, victory and defeat conditions, AI players moving around, items to pick up, mazes read from a file, drawing without scrolling, drawing without flickering, story and RPG elements, etc..

Here's the code from the lecture:
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
#include <iostream>
using namespace std;
#include <conio.h>

void main()
{
    int x = 5, y = 4;
    int height = 15, width = 20;
    char input;
    do
    {
        for(int r = 0; r < height; ++r)
        {
            for(int c = 0; c < width; ++c)
            {
                if(r == y && c == x)
                {
                    cout << (char)1;
                }
                else
                {
                    cout << '.';
                }
            }
            cout << endl;
        }
        cout << endl;
        input = getch();
        switch(input)
        {
        case 'w': y--; break;
        case 'a': x--; break;
        case 's': y++; break;
        case 'd': x++; break;
        }
    }
    while(input != 'q');
}


I always encourage students to try building a roguelike using this as a base.
Last edited on
(which has very little to do with programming)


So true...most people think you can just take an idea and make it work as you go along. Too bad it almost never works like that. Gotta plan out almost everything you want to do before you start, so that you get nice clean code, or at the very least a stable base you can build up on and keep the code clean.
Hehe, actually real Game Development has TONS to do with programming.

My intro class has less to do with it ;).
Topic archived. No new replies allowed.