473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

please help in removing erroes in this c++ code

#include <iostream.h>
#include <stdlib.h>
#include <stdio.h>
Class StudyProgram
{
Public:
StudyProgram ();
Void add StudyProgram ();
Void edit StudyProgram ();
Void delete StudyProgram ();
Private:
Char name[];
Char code[];
Char prerequisites[];
Int duration[];
Int total credit hours[];
};
Class course
{
Void corse();
Void StudyProgram ();
Void Add course();
Void delet course();
Void modify course();
Private:
Char name[];
Char code[];
Int total credit hours[];
Char Study Program[];
};
Class lesson
{
Public:
Void lesson();
Void course();
Void Add lesson();
Void delet lesson();
Void Modify lesson();
Private:
Int lesson no[];
Int duration[];
Char corse code[];
Char lesson title[];
};
Class lessoncontent
{
Public:
Void lessoncontent();
Void lesson();
Upload lesson content();
Private:
Char uploadedby[];
Char content type[];
Dubble size[];
Date uploaded date[];
};
Class assignment
{
Public:
Void assignment() ;
Void course();
Upload assignment();
Delete assignment();
Modify assignment();
Private:
Int assignment no[];
Int total marks[];
Int no.ofsolution recived[];
Char file type[];
Date duedate[];
};
Class assignmentsolutionfile
{
Public:
Void assignmentsolutionfile();
Void assiegnment();
Mark assignmet();
Private:
Char studentid[];
Char comments[];
Int marks[ ];
Duble size[];
Date Uploaded date[];
};
Class MDB
{
Public:
Void MDB();
Void Lesson();
Create MDB();
Delete MDB();
Modify MDB();
Private:
Int marks [];
Char description[];
Date start date[];
Date end date[];
};
Class MDB question
{
Public:
Void MDB question();
Void MDB();
Reply question();
Private:
Char studentid[];
Char question[];
Char answer[];
Date postdate[];
Date reply date[];
Int student marks[];
};
Nov 10 '08 #1
3 1540
JosAH
11,448 Expert 8TB
Spaces are not allowed in identifiers/names.

kind regards,

Jos
Nov 10 '08 #2
arnaudk
424 256MB
  • <iostream.h>, <stdlib.h>, <stdio.h> should be <iostream>, <cstdlib>, <cstdio> respectively
  • C++ is case-sensitive: public instead or Public, etc.
  • unless you're using your own header with typedefs for all built-in types, all your types should be lower case: char instead of Char, void instead of Void, etc.
  • And there are spelling mistakes: Dubble and Duble should be double...

Your code would be easier for us all to read if you had used the [code] ... [/code] tags around your code as suggested in the posting guidelines.
Nov 10 '08 #3
donbock
2,426 Expert 2GB
Also, it would be easier if you told us what errors you were getting.
Nov 10 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Hp | last post by:
Hi All, Thanks a lot for all your replies. My requirement is as follows: I need to read a text file, eliminate certain special characters(like ! , - = + ), and then convert it to lower case and...
4
by: pshindle | last post by:
DB2 Team - I just downloaded and unzipped the new Fixpack 9 for DB2 ESE V8 for Windows (FP9_WR21350_ESE.exe). I then burned the unzipped Fixpack files to a CD. I proceded to install this...
41
by: Seth | last post by:
I am in need of source code for the Aho Corasick algorithm. I have tried searching the web but can't seem to find any code. Is there a good site for c code I can search? Thanks in advance.
0
by: sameer mowade via .NET 247 | last post by:
Hello All, I have problem while dynamically removing row from the Datagrid which i have added dynamically as shown in the following code snippet. The problem is that while removing dynamically...
2
by: Neo Geshel | last post by:
I have the two subs: Sub UniqueHits() Dim StrSQLQuery As String Dim ObjAdapter as New OleDbDataAdapter() Dim ObjDataSet as DataSet StrSQLQuery = "SELECT * FROM Browser WHERE IsUnique = True"...
0
by: Alan Silver | last post by:
Hello, I am having a problem setting and resetting cookies. I'm sure I just doing something really stupid as this is such a basic issue, but I can find any answer. Please can someone help me? ...
3
by: kevin | last post by:
Is that even possible? I am creating a web service in .NET to expose some already created .NET programs to other groups. One group is writing the client in PERL, and thus wishes the wsdl schema...
6
by: Niyazi | last post by:
Hi all, What is fastest way removing duplicated value from string array using vb.net? Here is what currently I am doing but the the array contains over 16000 items. And it just do it in 10 or...
18
by: Blackspeech | last post by:
We have Siebel running in a test environment and experiencing problems as described below: We receive automated trouble ticket information from a Remedy based system that emails Siebel and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.