Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~25.0K People Reached
Favorite Tags
Member Avatar for DaniwebOS

Hi, I'm having some issues trying to figure out the way to find the percentage of parents with children inside my database. There is a table where all the parents are stored called XY and there is a table where all the children are listed called table Children. How would …

Member Avatar for ChrisHunter
0
159
Member Avatar for DaniwebOS

Hi guys, I've looked around and read, I'm not looking for a OnClientClick that can be added to the server side button. I need something that will direct anyone who clicks on submit to another page where they would see what they've filled out. Eventually, this will have their email …

Member Avatar for JorgeM
0
121
Member Avatar for DaniwebOS

Hi guys, I added a extra line of code to test for records in the database and if they exist to update them before inserting them instead. For some odd reason it's not working and it simply just inserts the data causing duplicates. Any suggestions? <%@ Import Namespace="System.Data"%> <%@ Import …

Member Avatar for JorgeM
0
195
Member Avatar for DaniwebOS

Hello all, I have an issue, not that familiar with ASP but the environment I'm working on requires this to be designed here. I have a file with a string, integer, and another integer seperated by commas. I need the website to allow the user to upload a csv or …

Member Avatar for BMXDad
0
299
Member Avatar for DaniwebOS

Hello all, I have an issue, not that familiar with ASP but the environment I'm working on requires this to be designed here. I have a file with a string, integer, and another integer seperated by commas. I need the website to allow the user to upload a csv or …

Member Avatar for DaniwebOS
0
145
Member Avatar for DaniwebOS

Can you guys run this program, I'm having issues running it. [ICODE]import java.io.*; import java.util.*; //class definition public class NumberAdder { //The main function public static void main(String args[]) { //This declares a file to open. File outFile = new File("numbers.dat"); int sumEven = 0; int sumOdd = 0; //File …

Member Avatar for NormR1
0
452
Member Avatar for DaniwebOS

So my goal is to use inheritance and as you can see I inherited Point Example which has x, y as variables. Well for some odd reason my Length seems to be in correct and I'm not sure where I went wrong. Any guidance will be very much appreciated. Just …

Member Avatar for Paul Norris
0
156
Member Avatar for DaniwebOS

Hello everyone, I think I need a second eye on the code. I'm not sure where I went wrong but it was working at some point. Everything should run without a problem any idea what is going on? A second opinion would be highly appreciated... [ICODE]import java.util.Calender; import java.util.GregorianCalendar; public …

Member Avatar for DaniwebOS
0
209
Member Avatar for DaniwebOS

Originally I had the program all in main but I wanted to separate this by having the comparison method (diamond of asterisks) in its own method. For some odd reason I'm getting weird errors that won't allow the program to run. Errors below: 1) Systan error on token "," delete …

Member Avatar for DaniwebOS
0
292
Member Avatar for DaniwebOS
Member Avatar for DaniwebOS

Question for you guys, what am I doing wrong here? I am able to enter the 5 digits in one input and I just want it to display the first character; just to test to see if it works. Afterwards I will be displaying all 5 characters like "1 2 …

Member Avatar for hfx642
0
166
Member Avatar for DaniwebOS

Hello all, I'm using the version 6 of Eclipse JAVA development. The code below is very basic, but I'm getting warnings which is probably preventing me from running the application. Any ideas? Basically what I'm designing is a program which would input the radius and therefore it would display the …

Member Avatar for StephNicolaou
0
208
Member Avatar for DaniwebOS

Hey guys, I'm having an issue understanding how to write a table that uses an id and another id which both have dual keys. What I mean by dual keys is they use primary key and foreign keys. Example: Table Name = Enrollment Column Name = Sid, Csecid, Grade Data …

Member Avatar for hfx642
0
116
Member Avatar for DaniwebOS

What am I missing... I have looked and searched. Any help / direction? [CODE]-- DANIWEBOS DROP TABLE ENROLLMENT CASCADE CONSTRAINTS PURGE; DROP TABLE COURSE_SECTION CASCADE CONSTRAINTS PURGE; DROP TABLE COURSE CASCADE CONSTRAINTS PURGE; DROP TABLE TERM CASCADE CONSTRAINTS PURGE; DROP TABLE STUDENT CASCADE CONSTRAINTS PURGE; DROP TABLE FACULTY CASCADE CONSTRAINTS …

Member Avatar for debasisdas
0
296
Member Avatar for DaniwebOS

I'm getting a "IntelliSense no default constructor exists for class "Person" line 71." Also am getting error c2512: 'Person:' no appropriate default constructor available... There is a constructor there which confuses me on why I'm getting an error? [CODE]#include <iostream> #include <string> using namespace std; class Bio { public: Bio(); …

Member Avatar for DaniwebOS
0
21K
Member Avatar for DaniwebOS

I've been trying to think of the easiest way to calculate the average and display the results. The two outputs that I am missing would be the average part of the program. When the program is ran, it should display "Danika Patrick averaged a score of 120 in 11 minutes …

Member Avatar for sergent
0
102
Member Avatar for DaniwebOS

I'm getting a LN2019/LN1120 error, and I have no clue why... any suggestions? [CODE]#include <iostream> #include <string> using namespace std; class Time { public: Time(int hour, int minute); Time(); void setHour(int); void setMinute(int); int getHour(); int getMinute(); void incrHour(int); void incrMinute(int); void printTime(); protected: int hr, min; }; Time::Time( int …

Member Avatar for Ancient Dragon
-1
135
Member Avatar for DaniwebOS

I'm trying to run this program all together without it being separated into header files and cpp files. Run the program, it just says there's syntax errors. Another problem I'm getting is when the program actually runs, the second event's data arguments don't do anything at all... [CODE]#include <iostream> #include …

Member Avatar for VernonDozier
0
431
Member Avatar for DaniwebOS

When dealing with larger programs and your starting from scratch should you split classes using headers and the .cpp files from the very beginning? I am looking for a suggestion because I find 200-300 lines all on one file really annoying to scroll up and down or even when its …

Member Avatar for DaniwebOS
0
68
Member Avatar for DaniwebOS

Regardless of what I do, the program won't run without crashing... any luck on how to fix it? [CODE]#include <iostream> #include <string> using namespace std; class DayOfTheWeek { public: void setDay(string); void printDay(); string getDay(string&); string plusOneDay(int); string minusOneDay(int); string addDays(int); private: int day; int toNumber(string); string toName(int); }; int …

Member Avatar for jonsca
0
104
Member Avatar for DaniwebOS

So I need to program a code which will display the values of all my objects which currently are "Monday and Tuesday." I am getting two errors under my printDay function. Error c2275 'DayOFTheWeek': illegal use of this type as an expression Error c2228: left of '.printDay' must have class/struct/union …

Member Avatar for template<>
0
182
Member Avatar for DaniwebOS

I'm working on a program for fun but I can't figure out my first problem, also I'm aware the program doesn't end. [CODE]#include <iostream> #include <conio.h> #include <string> using namespace std; //all prototypes void studentName(string&); //all global variables //main void main() { do{ string Name; studentName(Name); cout << "\nStudent Name: …

Member Avatar for jonsca
0
124
Member Avatar for DaniwebOS

So I've been working on this project for quite awhile now and I can't seem to figure out how to fix all of my errors. If you could run the program, it will appear as 17 errors. So far I don't know where I could of went wrong. Any help …

Member Avatar for jonsca
0
117
Member Avatar for DaniwebOS

For some odd reason, I can't get anything to be displayed when the program is running. I believe its not passing anything at all which would explain the blank console. If anyone could help me out that would be great. Without using functions the program successfully shows: 1) Student's name …

Member Avatar for DaniwebOS
0
124