Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


View Poll Results: which is the best book to ace c++
robert lafore 3 75.00%
sumita arora 1 25.00%
reeta sahoo 0 0%
together 0 0%
Multiple Choice Poll. Voters: 4. You may not vote on this poll

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-01-2009, 02:26 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Jan 2009
Posts: 3
Default c++ result sheet program problem


i made a project on student's result sheet in c++ for submitting in school.I have wasted lot of time in order to remove that problem and still i m unable to sort it out.The program is running properly but it is giving problem in the ouput.
i have created 7 functions in the program Their work is as follow:
function 1 : MAKE REPORT CARD
2. APPEND NAMES
3. SORT NAMES
4. SEARCH A NAME
5. UPDATE GRADE
6. VIEW REPORT CARD
7. LIST OF FAILURES
8. MAIN MENU
function 1 and 2 are working properly(to add details of students )
rest of the functions are not working properly except the function 7 which displays the list of failures
when i enter values in function 1 and2 it accepts those values. But when i sort names according alphabetically then it displays only those names in the output which were appended by function 2,It gives zero for the values added in function 1
In function 4 of searching also, it doesnt displays anything .Function 6 of viewing report cards is also not working
Can you suggest me what could be the problem in the program I am sending you the program.
Attached Files
File Type: txt result sheet..txt (8.3 KB, 3 views)
star16 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 27-01-2009, 02:39 PM   #2 (permalink)
Err.. what?
 
BSOD's Avatar
 
Join Date: Apr 2008
Posts: 65
Default Re: c++ result sheet program problem

Except Robert Lafore, all the other books plain suck.
BSOD is offline  
Old 27-01-2009, 02:47 PM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Jan 2009
Posts: 3
Default Re: c++ result sheet program problem

ya you are right
They really sucks!!!!!
star16 is offline  
Old 27-01-2009, 06:50 PM   #4 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: c++ result sheet program problem

Havent read LaFore, but I read and liked Sumita Arora, so I can recommend it.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
Old 27-01-2009, 08:13 PM   #5 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: c++ result sheet program problem

I would say any book but Sumita Arora. It is OK for getting good marks for CBSE 11-12, but if you want to become a decent programmer. Go for Robert Lafore.
Just keep in mind:
In the book:
(1) Use int main() and return 0; instead of void main() in any example
(2) Do not use gets(), use fgets() instead
i.e. instead wherever there is gets(buffer), use:
Code:
fgets(buffer, sizeof(buffer), stdin);
char *newline = strchr(buffer, '\n' );
if (newline) *newline = '\0';
Though in exam, use gets(), not in practice though.

(If you don't understand the above statements don't worry; you'll know soon enough)
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Old 28-01-2009, 05:43 PM   #6 (permalink)
Err.. what?
 
BSOD's Avatar
 
Join Date: Apr 2008
Posts: 65
Default Re: c++ result sheet program problem

Quote:
Originally Posted by star16 View Post
ya you are right
They really sucks!!!!!

Am I the only one who thought of Gollum?
BSOD is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
i gt problem in C Program again !!! HELP ME PLS !!! ImBeck Programming 16 23-07-2008 09:22 PM
Wht is todays indian idol result Projjwal Chit-Chat 2 08-09-2007 10:15 PM
when is isc 2007 result comig out bkpeerless Chit-Chat 20 21-05-2007 06:01 PM
CAT 2006 Result Declared!! the_moon Random News 4 04-01-2007 01:30 PM
END PROGRAM PROBLEM kumarn_2004 QnA (read only) 2 11-12-2005 04:54 PM

 
Latest Threads
- by gforz
- by soumya
- by Sujeet
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:06 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2