Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~8K People Reached
Favorite Tags

21 Posted Topics

Member Avatar for yun

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?

0
69
Member Avatar for yun

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 …

Member Avatar for almostbob
0
93
Member Avatar for yun

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 …

Member Avatar for diafol
0
133
Member Avatar for yun

pdcurses works well with code::blocks but is there any way to use pdcurses with visual Studio, plz help.

Member Avatar for miguelbezerra
0
2K
Member Avatar for yun

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 …

Member Avatar for yun
0
211
Member Avatar for yun

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 …

Member Avatar for kvprajapati
0
461
Member Avatar for yun

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 …

Member Avatar for Ancient Dragon
0
178
Member Avatar for yun

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]

Member Avatar for csurfer
0
284
Member Avatar for yun

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 …

Member Avatar for pspwxp fan
0
231
Member Avatar for yun

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 …

Member Avatar for s_sridhar
0
106
Member Avatar for themaster

[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 …

Member Avatar for Ancient Dragon
0
292
Member Avatar for yun

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; …

Member Avatar for Stinomus
0
243
Member Avatar for yun
Member Avatar for john_beginner

> 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 …

Member Avatar for indianapple89
0
109
Member Avatar for timb89

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 …

Member Avatar for Stinomus
0
1K
Member Avatar for gretty

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]

Member Avatar for yun
0
173
Member Avatar for yun

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 …

Member Avatar for Stinomus
0
437
Member Avatar for yun

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 …

Member Avatar for vmanes
0
2K
Member Avatar for yun

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 …

Member Avatar for Ancient Dragon
0
100
Member Avatar for Se7Olutionyg

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 …

Member Avatar for tux4life
0
107
Member Avatar for zack.walters

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 >> …

Member Avatar for yun
0
147

The End.