No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
21 Posted Topics
Attached is a question.. State the number of occurrences of the WorksIn relationship. plz dont just tell me the answer infect give me an idea that how to find it? | |
i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox … | |
i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox … ![]() | |
pdcurses works well with code::blocks but is there any way to use pdcurses with visual Studio, plz help. | |
Hey Programmers, Is there any better way to write the below recusive functions, plz help me so i can improve my programming... 1- Write a recursive function that takes a nonnegitive integer and returns the sum of its digits, [code=cpp] int DigitSum(int n){ if(n == 0){ return 0; }else{ return … | |
I want to know that how many Student class objects in a file. plz help me out. Below is a class of Students and 2 function for read and write object in a file, in read function [code] while(in.eof()!= 1){ in.read((char *)&st,sizeof(st)); st.showData(); } [/code] st.showData(); always show the last … | |
I m surprised and wanna know that how the compiler understand the sequence of how data was entered. as i didnt use any space any tab not a new line, how it can point to the original value from a single line..????????? find.txt contain the following line with out spaces … | |
Is there any better way to define PreviousDay Function??? plz let me know.. [code=cpp] enum weekdayT { Monday,Tuesday,Wednesday,Thrusday,Friday,Saturday,Sunday }; weekdayT NextDay(weekdayT day){ return weekdayT((day+1)%7); } weekdayT PreviousDay(weekdayT day){ if(day==0) return weekdayT(day+6); else return weekdayT((day-1)%7); } [/code] | |
i want to add a line at run time in title, but i m unable to do so.. in main() getline(-,-) is working fine but not in the below code, it simply skip it when i put values for Course Name and press enter it go to the next line … | |
I have to develop a Academic Automation System as College project in OOP C++. need your help in this regard so i can complete it. I already have defined the following classes, 1-CourseAdministrator 2-Student 3-Tutor 4-Course 5-CreateLogin 6-Security (For Validitaion, check for login and password) is there any meterial which … | |
Re: [QUOTE=themaster;886395]Does anyone know how to give a GUI look to your C++ "Console Application". I dont wanna use Win32 API or any other template except the console application because I use Turbo C++ 3.0 IDE for development and I want my Application to be platform independent while using WIN32 API … | |
I want to read and write string from file, - Dont want to overwrite on the existing file - Where to put the read file code as in Constructor if file is not created then it will generate error. help me to solve this issue. [code=cplusplus] class Security{ private: Map<string>password; … | |
plz help me to set up pdcurses with visual studio 2005. | |
Re: > so, how compiler will distinguish that get_a(),no1 is come from class A & get_b(),no2 is come from class B > > i have surf lot of web site but i can't get any idea pls help to solve this question. > > thanx in advance I think below program … | |
Re: the best way to use Recursive function is.. use Wrapper Function, as in the below case CheckPalindrome is the Wrapper function. [code]bool isPalindrome(string str){ return CheckPalindrome(str,0,str.length()-1); } bool CheckPalindrome(string str,int first,int last){ if(first>=last){ return true; }else { return (str[first]==str[last] && CheckPalindrome(str,first+1,last-1); } } [/code] and if u dont wanna use … | |
Re: below code will work fine, may be there is a little error in syntax as i didnot follow ur code... [code] Months nextMonth(Months month){ return Months((month+1)%12) ; } [/code] | |
Stanford cs249a Meterial (Object-Oriented Programming from a Modeling and Simulation) -------------------------------------------------------------------------------- From where i can get the below Meterial?? if any one have the below plz send me or give me a link... i really need these lectures.. Thx & regards. Required Reading Chapter 1: Software Husbandry and Software Development … | |
write a program that read in an array of integers-- ideally from a text file. and then displays a histogram of those numbers, divided into the ranges 0-9, 10-19 ,20-29, and so forth, up to the range of containing only the valye 100. Please help me to write a efficient … | |
i need little help of urs in the above code, RightFrom Function is perfectly working but there is a logic bug in LeftFrom Function. when i m sending North as argument the result from LeftFrom is -1 but i need 0. help me to solve this issue. [code]#include <iostream> using … | |
Re: add [code]system("CLS")[/code] so u can see clearly each time. [code] #include <iostream> #include <stdlib.h> using namespace std; void GetTime ( int*, int*, int* ); int CalcSeconds ( int, int, int ); int main() { int hr, min, sec; char another; int total_sec; cout << " \n\n Welcome to a time-conversion … | |
Re: You can use the following while loop as well for the same pupose. [code] #include<iostream> #include<string> using namespace std; int main(){ int i = 0; string studentInfo[7][7]; char inputDone = ' '; bool check = true; while(check) { system("CLS"); cout << "Please Input student's first name : "; cin >> … |
The End.