
Big school project
Started by
drmoneejd
, Oct 31 2009 11:43 PM
#1
Posted 31 October 2009 - 11:43 PM

#2
Guest_bartblaze_*
Posted 01 November 2009 - 03:15 AM

If you do not have knowledge in C++, I would not advise you to do your project about it, as it is much harder than HTML
.
What you might do is for example a webpage in HTML, or a forum or ... There are many possibilities

What you might do is for example a webpage in HTML, or a forum or ... There are many possibilities

#3
Posted 01 November 2009 - 08:44 AM

thanks for your input. i had considered a forum, because then i could explain the roles each person plays in it, like administrator, moderator, etc. but i wasn't to sure how to write one or how hard it would be, because we cant use any software to help us, like adobe's dreamweaver.
#4
Guest_bartblaze_*
Posted 02 November 2009 - 09:44 AM

Sure, no problem.
I remember I had the same project as you actually, and I already had a forum... so that came in handy
You may use Proboard software, personally I think it's the best one out there ( www.proboards.com )
There are others out there as well obviously, just pick the one that best suits you
(if you plan on doing the forum)
good luck -
I remember I had the same project as you actually, and I already had a forum... so that came in handy

You may use Proboard software, personally I think it's the best one out there ( www.proboards.com )
There are others out there as well obviously, just pick the one that best suits you

(if you plan on doing the forum)
good luck -
#5
Posted 02 November 2009 - 04:43 PM

oh okay. So is there a special HTML template code for forums?
#6
Posted 02 November 2009 - 08:41 PM

I suggest you write a simple C++ program... although the learning curve is steep, keep with it.
Here is a prog to generate "random" numbers:
// Random Seed Program Using Function.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
static unsigned long nSeed ;
char choice;
unsigned int PRNG()
{
// Take the current seed and generate a new value from it
// Due to our use of large constants and overflow, it would be
// very hard for someone to predict what the next number is
// going to be from the previous one.
nSeed = (8253729 * nSeed + 2396403);
// Take the seed and return a value between 0 and 32767
return nSeed % 32767;
}
void Complete ()
{cout << "Enter starting seed count" <<endl;
cin >> nSeed;
cout << endl;
// Print 100 random numbers
for (int nCount=0; nCount < 2000; ++nCount)
{
cout << PRNG() << "\t";
// If we've printed 5 numbers, start a new column
if ((nCount+1) % 5 == 0)
cout << endl;
}
cout << "These are 100 random numbers derived from your chosen seed" << endl;
cout << "Press enter to continue." << endl;
cin.ignore ();
cin.get ();
}
int main()
{
do
{
Complete ();
cout << "Do you want to try again? (Y or N) ";
cin >> choice;
}while (choice != 'N');
return 0;
}
Enter it in Visual C++ and compile... it took me about a week to really understand the code here.
Here is a prog to generate "random" numbers:
// Random Seed Program Using Function.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
static unsigned long nSeed ;
char choice;
unsigned int PRNG()
{
// Take the current seed and generate a new value from it
// Due to our use of large constants and overflow, it would be
// very hard for someone to predict what the next number is
// going to be from the previous one.
nSeed = (8253729 * nSeed + 2396403);
// Take the seed and return a value between 0 and 32767
return nSeed % 32767;
}
void Complete ()
{cout << "Enter starting seed count" <<endl;
cin >> nSeed;
cout << endl;
// Print 100 random numbers
for (int nCount=0; nCount < 2000; ++nCount)
{
cout << PRNG() << "\t";
// If we've printed 5 numbers, start a new column
if ((nCount+1) % 5 == 0)
cout << endl;
}
cout << "These are 100 random numbers derived from your chosen seed" << endl;
cout << "Press enter to continue." << endl;
cin.ignore ();
cin.get ();
}
int main()
{
do
{
Complete ();
cout << "Do you want to try again? (Y or N) ";
cin >> choice;
}while (choice != 'N');
return 0;
}
Enter it in Visual C++ and compile... it took me about a week to really understand the code here.
#7
Posted 03 November 2009 - 03:30 PM

i would love to write in c++, even if not for the project, just because i think itd be cool to know ho to do. but i dont know where to go to learn it. do you know of a good website. also, i don't know how to run it. do you have to have a special program to run it?
#8
Posted 03 November 2009 - 10:05 PM

This is a good website: http://www.learncpp.com/
You use a program like Visual C++ or Dev-C++ to write, and compile your programs.
You use a program like Visual C++ or Dev-C++ to write, and compile your programs.
#9
Posted 05 November 2009 - 02:34 PM

Thanks for your input 
i have been reading some, and downloaded Windows 2008 express last night. i hope to start working soon. anymore suggestions? maybe on a simple program i could build?

i have been reading some, and downloaded Windows 2008 express last night. i hope to start working soon. anymore suggestions? maybe on a simple program i could build?
#10
Posted 05 November 2009 - 02:36 PM

oh and thank you bartblaze for trying to help, and i do like this site. however, someone else chose to do HTML before me and sadly it is kind of looked down upon to do the same project.
#11
Guest_bartblaze_*
Posted 05 November 2009 - 03:02 PM

Sure, no problem.
In regard of what you can code: how about a calculator ? It ain't that hard and it's useful .
(of course with proper design and functionality)
In regard of what you can code: how about a calculator ? It ain't that hard and it's useful .
(of course with proper design and functionality)
#12
Posted 05 November 2009 - 08:25 PM

You can program a TI-84... try writing a program to automatically do the quadratic equation... its really easy.
For C++ start by writing a simple "Hello World" program.
For C++ start by writing a simple "Hello World" program.
#13
Posted 06 November 2009 - 05:05 PM

that does seem like it would look good, and i actually did break my TI-83+ last week, well i don't know what happened, but none of the buttons work on it now. So that could be a good idea. i kinda did the hello world thing, but it was just copy and paste. im still reading though.

#14
Posted 08 November 2009 - 08:54 PM

You BROKE a TI-80 series graphing calculator! Shame on you!




#15
Posted 09 November 2009 - 04:06 PM

i agree, i was actually very sad, and didn't even know it was broke till the middle of a pre-calculus test. i don't think i really did anything, just slowly all the buttons stopped working. i really don't want to have to buy one, but i guess that's just how the cookie crumbles sometimes. but if i don't buy one before i really get into this project(because i don't have a hundred bucks to just go spend on it, especially near Christmas time), then i will probably try to write a calculator for it. simple, or somewhat, and universally used.
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
As Featured On:






