c++ project for school

I need to develop a code for a project that has six separate programs that enhance off of it. using Dev c++

The first assignment is as follows.
1.Your first and last name
2.course number(1101)
3.Course title(CSCI)
4.C Project number (Project #1)
5.Current date(month-name day,4-digit year)
Double space between lines 1&2,4&5.
Your post does not seem to contain any question, nor any code that you have already written yourself.
Lol?

#include <iostream>

using namespace std;

int main()
{
cout << "Name" << endl << endl;
cout << "Course number = 1101" << endl;
cout << "Course totle = CSCI" << endl;
cout << "C Project Number = 1 <<endl <<endl;
cout << "May 13 2013" << endl;
}


how is that 6 separate programs?

(if he actually meant 6 separate programs that is..).
I think he means 6 separate functions, including main()
lol he could mean anything.
Oh ,like this ?

void CourseNumber (string a)
{
return (a);
}

int main()
{
CourseNumber(1);
}
that enhance off of it


could he be meaning inheritance by that? i'm confused.
I'm feeling like trying to solve : John had 2 cats,where is Rex?
foxefde wrote:
Oh ,like this ?

void CourseNumber (string a)
{
return (a);
}

int main()
{
CourseNumber(1);
}

Fox how can you return in a void and 1 is not a string and you call the function but never output even if you could [edit]and there is no indentation[/edit]
Last edited on
The reason this is six seperate is because that was only project number 1, let me tell you project 2.
Project two consists of using project one and then,
Use the scanf function to read in values for lines:
-an integer course number value.
-a real value for the c project number
-an integer day and integer year value

Use the print f function with specified format descriptors to produce output results for all 5 lines of output. Use the %s format descriptor for the first name, last name, course title, and month-name character strings
Last edited on
we're not here to do your homework for you. If you want help code something.
Topic archived. No new replies allowed.