Search Results

Showing results 1 to 40 of 58
Search took 0.01 seconds.
Search: Posts Made By: Majestics ; Forum: C++ and child forums
Forum: C++ Aug 31st, 2009
Replies: 5
Views: 168
Posted By Majestics
Sorry but it didn't help me ... I want the answer from my given source code.
Forum: C++ Aug 31st, 2009
Replies: 5
Views: 168
Posted By Majestics
// OnscreenKeyboard.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "OnscreenKeyboard.h"
#include "OnscreenKeyboardDlg.h"

#ifdef _DEBUG
#define new...
Forum: C++ May 31st, 2009
Replies: 4
Views: 342
Posted By Majestics
use == instead of = in while
Forum: C++ Dec 1st, 2008
Replies: 16
Views: 815
Posted By Majestics
#include <iostream>

#include <cstdlib>

#include <iomanip>

#include <ctime>
Forum: C++ Dec 1st, 2008
Replies: 16
Views: 815
Posted By Majestics
while (choice!=5)
{
Your Programme Body

}

Remember to Intialize Choice With any Number without 5
Forum: C++ Dec 1st, 2008
Replies: 16
Views: 815
Posted By Majestics
[code] while (choice!=5)
{
Your Programme Body

}[\code]

Remember to Intialize Choice With any Number without 5
Forum: C++ Nov 29th, 2008
Replies: 9
Views: 451
Posted By Majestics
you have to declare functions before using them,,

return type function name (parameters list)

in your case

void studentDetails();

and call them
Forum: C++ Nov 29th, 2008
Replies: 9
Views: 451
Posted By Majestics
dont write return type (void,int,....) when u r calling functions.
Forum: C++ Nov 29th, 2008
Replies: 5
Views: 355
Posted By Majestics
If we think that all books are in shelf and we want to keep a stock_record then..... i think it will be an attribute then.
Forum: C++ Nov 29th, 2008
Replies: 5
Views: 355
Posted By Majestics
I have made an erd having book,cutomer and shelf but i am confused in stock , i dont need any one to solve it completly but just tell me about stock , is stock a entity or attribute ?
Forum: C++ Nov 29th, 2008
Replies: 5
Views: 355
Posted By Majestics
Apply all steps of conceptual and logical database design on the following requirements:
The system should be able to store a customer’s name, address, and contact information and a book’s ISBN,...
Forum: C++ Sep 19th, 2008
Replies: 7
Views: 4,395
Posted By Majestics
I have searched the forum , also over internet but i didn't found any understandable method to convert float number to string , Please help Me in conversion.
Forum: C++ Apr 3rd, 2008
Replies: 1
Views: 318
Posted By Majestics
It is c++ not c ,You dont need format specifier in this.
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
#include <iostream>
#include <iomanip>
#include<stdlib>
using namespace std;

void Courses ();
void Receipt ();
void studentid ();
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
if (crn1 + crn2 + crn3 > 7); if (answer == 'n'); These are mistakes.
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
similarly correct your other if statement.
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
Why dont you try this one
if (answer == 'y')
{
cout <<"Enter how many courses-up to 3: ";
cin >> num;
cout <<"\n";
}
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
After else always there is a statement and using ; tells that statement is complete specially with if dont use ; it means that if statement has no outer coverge to other statement which make it of no...
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
That semicolon with if statement is a mistake remove that please when You correct the program.
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
You can use else
exit(0); for finishing the program or goto to go back .
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
CORRECT IT if (answer == 'y');
{cout <<"Enter how many courses-up to 3: ";
cin >> num;
cout <<"\n"}.

>> You cant declare function and integer name same in a program . Then how did you run the...
Forum: C++ Apr 3rd, 2008
Replies: 11
Views: 736
Posted By Majestics
Forum: C++ Apr 3rd, 2008
Replies: 5
Views: 583
Posted By Majestics
http://www.daniweb.com/code/snippet750.html

Check out this thread
Forum: C++ Apr 2nd, 2008
Replies: 5
Views: 583
Posted By Majestics
What do you mean by noisy input stream?
Forum: C++ Apr 2nd, 2008
Replies: 5
Views: 661
Posted By Majestics
You havent define your class date

Class date d;

I am just guessing . Please check it.
Forum: C++ Apr 2nd, 2008
Replies: 4
Views: 806
Posted By Majestics
http://hemant-dreamz.blogspot.com/2007/11/program-in-c-for-bisection-method.html

Check this out...
Forum: C++ Apr 2nd, 2008
Replies: 5
Views: 509
Posted By Majestics
simple Cin mean console input , By default it takes value from you keyboard and cout mean console output by default it print value on screen.Your program is very simple to understand . it take employ...
Forum: C++ Apr 2nd, 2008
Replies: 5
Views: 661
Posted By Majestics
Where is your "Date.h".
Forum: C++ Apr 2nd, 2008
Replies: 4
Views: 806
Posted By Majestics
http://en.wikipedia.org/wiki/Bisection_method

Design your code , it already have every thing.
Forum: C++ Apr 2nd, 2008
Replies: 3
Views: 619
Posted By Majestics
Looks very complicated .. It is better to use switch statement.
Y you have used iomanip header file .
Also tell me Y You have used Conio header file.Using header files without there usage gives a...
Forum: C++ Apr 2nd, 2008
Replies: 5
Views: 509
Posted By Majestics
Already mentioned you have to use int main() because you have given "return 0" at the end of main.No coding tags ,it puts bad impression.
Forum: C++ Apr 2nd, 2008
Replies: 10
Views: 966
Posted By Majestics
First think what you are going to do .
Then find easy ways for programming
Write algorithm
convert it into codes.
It is what programming is.....
If u need help in cplusplus then visit...
Forum: C++ Mar 30th, 2008
Replies: 2
Views: 453
Posted By Majestics
>> Warp your codes in coding tags
>> It is c++ forum not a c forum
>> i has a datatype int , it should be char
>>Use ascii codes when you use char
Forum: C++ Mar 29th, 2008
Replies: 3
Views: 2,667
Posted By Majestics
Read this article it will help you
"http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/"
Forum: C++ Mar 29th, 2008
Replies: 5
Views: 707
Posted By Majestics
Read This article "http://www.geekinterview.com/question_details/3478"
Forum: C++ Mar 29th, 2008
Replies: 1
Views: 1,312
Posted By Majestics
>> Try to use Codes in Coding tags
>> Try to use cout statement out of looping statement .

#include<iostream>
#include<conio>
int main()
{
int arr[10];
int...
Forum: C++ Mar 28th, 2008
Replies: 2
Views: 481
Posted By Majestics
Thank you for your help . It is some thing best you have done for me.
Forum: C++ Mar 28th, 2008
Replies: 2
Views: 481
Posted By Majestics
I am confused in tellg funtion can any body tell me its syntax also for seekg();.
Forum: C++ Mar 27th, 2008
Replies: 6
Views: 4,238
Posted By Majestics
ALREADY ANCIENT DRAGON EXPLAINED THE PROBLEM ONE MORE POINT IN YOUR LOGIC IS TERMINATION OF THE PROGRAMME

USE while(sign!='Q')

so when you enter Q then it will terminate the programe else it...
Forum: C++ Mar 25th, 2008
Replies: 1
Views: 487
Posted By Majestics
I HAVE AN ASSIGNEMENT IN WHICH I GET STUDENT DATA AND SAVE IT A SEPARATE TEXT FILE , THE MAIN PROBLEM IS THAT IT TAKE ALL THE VALUES BUT DONOT STORE VALUE OF SEM,ADD-NO AND BATCH . KINDLY PLEASE...
Showing results 1 to 40 of 58

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC