hello i have a program that was due, but i submitted what i can. however, i have a chance still at making the program fully functional, and so i need to submit it fast before its graded. i already have the program, and its running, but i just have a problem with the numbers that are coming out. like the total doesnt match the right numbers generated. can someone offer me help with making it work properly? it seems like this is a matter of pointer problems and i have been working countless hours on it but no luck. thanks …

Member Avatar
Member Avatar
+0 forum 3

So I have made a menu and a guy helped me, We have used enum in the menu is there anyother way i can do it, cause my teacher is not allowing me to use classes, files and arrays, please help, if u guys have anything simple and better i need it urgently.. here is the code:- enum MenuState{MenuPlay,MenuHelp,MenuExit}; // the idea of using enum is that instead of using an int to represent a set of values, a type with a restricted set of values in used instead. MenuState ms=MenuPlay;cout<<" *-=MOD=-* v1.0\n\n\n\n\n"; char ch=0;//or anything other than '\r' while …

Member Avatar
Member Avatar
-1 forum 1

plz community members, am a new student in programing and i would wish you people help me write a programme : that accepts marks in five subjects for a student and stores them in an array.The programme then computes the avarage and grades of the student using the scheme below. A:80-100 B:70-79 C:60-69 D:50-59 E:<50

Member Avatar
Member Avatar
+0 forum 1

am doing my project phase 1 its about hospital : i have made a person class--patient inherite from it i wanna afunction to----add,alter,delete patient---------------- in text file the output 1--> add patient 2-->alter patient data 3-->delete a patient class person{ int id; string fname; string lname; string gender; int age; int phone; public: bool get_id(int); bool get_fname(string); bool get_lname(string); bool get_gender(string); bool get_age(int); bool get_phone(int); string set_fname(); string set_lname(); string set_gender(); int set_age(); int set_phone(); int set_id(); };

Member Avatar
Member Avatar
+0 forum 2

does anyone know how to make a website that has a background that changes every time you go to the home page just like the tumblr home page.

Member Avatar
Member Avatar
+0 forum 2

I have to complete this programming homework which consists of building a hangman game. However, the problem is: I do not know how to make it so that, when you guess a correct letter, it reveals that letter in the hidden word while still keeping the other parts of the word hidden. For example : The hidden word is REVEAL. You guess "E". It should now show ".E.E.." in the user's screen. If you guys could help me out with this, I'd be extremely grateful, especially since I'm in a big hurry! By the way, since I live in Quebec, …

Member Avatar
Member Avatar
+0 forum 6

I have been trying to get my database insert and delete to work for a long time now, and I still cant get it working. I now have just 2 hours left before I absolutely have to have it finished and I can only insert numeric values. I suspect im formatting it wrong? But my delete method also doesn't work, what is wrong with my code? please help, this is becoming incredibly stressful and I need some sleep. Any advice is appreciated! using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; …

Member Avatar
Member Avatar
+0 forum 2

hey everyone, actually i am creating a website in which data is queried from mysql. in mysql table one of the attributes is in form of hyperlink. When i am displaying the result it is in normal text but i want a hyperlink as the result is displayed so please help me. Example <?php echo "Please enter a genename"; $Genename = mysql_real_escape_string($_POST['name']); $ID= mysql_query("SELECT ID FROM database.nodefinal WHERE Genename='$Genename'"); $ID = mysql_result($ID, 0); echo "gene ID= $ID"; ?> but id is a webaddress so i want the result such that when i click on the id i can reach the …

Member Avatar
Member Avatar
+0 forum 8

I need a very big help and is urgent. I have a big "permission" problem when i run this module and I get ths errors: Warning: fopen(tmp/::name.hsh) [function.fopen]: failed to open stream: Invalid argument in ... Warning: fwrite() expects parameter 1 to be resource, boolean given in... Warning: fclose() expects parameter 1 to be resource, boolean given in ... The code is if (!file_exists($File)) { $Handle = fopen($FileHash, 'w'); fwrite ($Handle, $audio_hash.$LINE_BRK); fwrite ($Handle, $playlist.$LINE_BRK); fclose ($Handle); $Handle = fopen($File, 'w'); As I understand sayes that cant write in temp folder because isnt writible. Its a module in Joomla. I …

Member Avatar
Member Avatar
+0 forum 11

I wanted ideas for my final year project, I'm studying Business Information Systems With Computing; I wanted to do something in the lines of web development, but all ideas in my programme area are welcome.

Member Avatar
Member Avatar
+0 forum 4

Hello Everyone... Can someone tell me what am not doing right here? Because am trying to insert a record into a database through a VB.net 2012 windows form into a MSsql satabase. Problems: When I write the codes without the insert statement, it will work well and open the connection. But when I put the insert statement (i.e. cmd=New SqlCommand), it will open the connection and then still go to the catch part by not adding any column at all into the table. Imports System.Data.SqlClient Imports System.Data Public Class Corpers Private Sub BtnConnect_Click(sender As Object, e As EventArgs) Handles BtnConnect.Click …

Member Avatar
Member Avatar
+0 forum 1

Hello there, I really need help ASAP. A user has two students(maybe more) where he need to complete marking the score sheet for the students. So, I have a score sheet where the user will insert their id in the textbox and then it will display the first studentName, studentID, studentTitle and studentProgram on the form. Then the user will insert mark for the first student, and click button "next" After clicking, the score sheet will display the second studentName, studentID, studentTitle and studentProgram on the form. I only able to do up to the first student. I dont know …

Member Avatar
Member Avatar
+0 forum 7

hi master programmers ! I am new to programming and i have an assignment im working on, it seems simple but i just cant get it ! i was wondering if anyone could help ! it would be greatly appreciated ! here is the question : =================================== "The sample input is a file of the following format: ID , Last, First, Lecture, Tutorial,** A1**, A2, A3, A4, A5 10034567, Smith, Winston, L01, T03, **6**, 5.5, 8, 10, 8.5 10045678, Lee, Bruce, L02, T05, **4.5**, 6.5, 7, 7, 8.5 00305678, Obama, Jack, L01, T05,** 10**, 10, 9, 9.5, 10 00567890, Brown, …

Member Avatar
Member Avatar
+0 forum 6

**URGENT HELP REQUIRED** Hello, I'm coding a website for PlugPayPlay (GSP) and this is where it's all happening; http://betappp.plugpayplay.com/ There are several navigation bars, which use the same code but each have their own seperate class to modify them easily. The issue is that there is a black line on the right hand side of all the nav bars and a grey one on the left of all the nav bars. I've tried to fix this is any way I can think of, changing font size, removing padding, removing margins, adding padding, adding margins. You get the picture, even asked …

Member Avatar
Member Avatar
+0 forum 3

Sooo yeah. Not one of those derps begging for a solution, but my solution simply isn't working out how I want it to. TLDR; Letters A-T are supposed to obey the number of coulmns entered by the user, then output them. My program obeys the number of coulmns by recognizing your input, but it does not put the letters back into the number of coulmns accordingly. It is just outputting them. I know there has to be some really stupid, silly issue I'm overlooking but Im trying to finish this up. Any help is good help. #include <cmath> #include <iostream> …

Member Avatar
Member Avatar
+0 forum 2

So i bought a new 22" LCD - LED backlit - monitor for my new buiild, and i'm facing a horrible case of buyer's remorse... So the problem with this monitor is that: 1) Not much information on it on the web - makes me suspicious 2) Not a very attractive bezel 3) No HDMI (Not a major problem) 4) I don't know if it's the best for it's price 5) NO HOTKEYS ! It's a big issue for me since sometimes i likee the screen bright, and sometimes i don't I just need someone who knows how monitor's work …

Member Avatar
Member Avatar
+0 forum 1

hi... i'm a new member of daniweb i have a problem in setting 2 comboboxes. i want to populate the second combobox based on first combobox value. i already have the code running well in firefox and chrome. but the code is not working in IE. can anyone please help me? Thanx.

Member Avatar
Member Avatar
+0 forum 7

I have a school project and what is needed is to Write a program that prompts the instructor to enter the 10 grades of midterm 1 and store these numbers in an array. Next prompt for the 10 grades of midterm 2 and store these numbers in a different array. Next prompt for the 10 grades of the Final Exam and store these in a different array. Next add midterm1 to midterm2 to Final and store the totals in a different array. Next, scan the array that has the totals and identify the minimum grade and maximum grade. Inform the …

Member Avatar
Member Avatar
+0 forum 3

Hi, i am working on liferay , i want to develop a sms application in liferay, if you have any code can you send me to <EMAIL SNIPPED> Thanks.

Member Avatar
Member Avatar
+0 forum 2

[CODE]i made calculator it works best but it cannot result out when i enter 10*100% pleas help me immediately [/CODE]

Member Avatar
Member Avatar
-1 forum 7

Hey guys I've been trying extremely hard to get these functions to work but they don't unfortunately and I do not know whats wrong with it "beginner python user" I have to return a new list that contains items from the list image that pass the filter (a str)so far I've got def process_filter_description(filter, images, ial): filter.lower and images.lower for dict in images: if dict.has_key(filter): return dict[filter] The other function I'm having trouble with is to find a way to update the ial (image association list) with the tokens from string description. image (a str) is the name of the …

Member Avatar
+0 forum 0

Hi, I'm using JasperReports in netbeans, on Ubuntu. When I execute my java application on netbeans I have no problem saving the reports, but when I clean and build the program, and run it from the .jar, the program can't save the reports. I don't know if that's because of the folder permissions or the jvm used, please, I need urgent help with this.

Member Avatar
Member Avatar
+0 forum 7

Ok I have all the framework done. Programs I want it to do all linked up in another program Done. A c++ program to write to boot sector DONE. All I need now is a simple (less than a gig of text:) way to start the other program from the Original booted program I also read (several) books on makeing a 32bit asembly languige (I just can'spell well) OS I have asked on yahoo answers google everywhere (for all you sas poster [I have a fourm I know what its like] not literaly) I am using flat asembly or masm …

Member Avatar
Member Avatar
+0 forum 15

I have a website in asp.net developed by some one else, i have made some improvements and now facing problem while uploaded [ [url]www.ict-m.com][/url] this site is running well on localhost. scenario : all files has path starts with /ictm/../../*.aspx 1: i created a folder on root directory with name "ictm" and put all published data there including web.config. 2: i created a file Default.aspx having include directive to "/ictm/default.aspx" 3: error occurs :SERVER ERROR IN /APPLICATION Scenario 2: I put all published data on root changes in web.config [CODE] <?xml version="1.0"?> <!-- Note: As an alternative to hand editing …

Member Avatar
+0 forum 0

hi.... im getting this error "Syntax error converting datetime from character string" when im trying to insert values into the table in sql server 2000....here is hw my code goes... insert into vw_student(RegNo,StudID,StudName,FathName,Sex,DOB,Department,DOJ,Yr,ContactNo)values('0001','1101','Abilash','Ramankutty','Female','1989-02-03','B.com','1styear','2006-06-16','90451299098') pls help me in solving dis....

Member Avatar
Member Avatar
+0 forum 2

Hey Everyone, I'm new to this form, and I seem to like it so far. Anyways, I have this Project that i'm nearly done with but in the sub-class I'm getting 0.0 as an output instead of the actual calculation. Below is the project and the code: You are requested to design the class Package with instance variables representing package number, weight, and shipping method. The shipping method is a character: A for Air, T for Truck, and M for Mail. The class contains a constructor that requires arguments for weight and shipping method. The constructor should create automatic unique …

Member Avatar
Member Avatar
+0 forum 3

hello i am try to write a c compiler i have written a lexical analyzer code next is parser can i integrate it with some standard parsers what should be my next step can some one help me through

Member Avatar
Member Avatar
+0 forum 3

script to specify the name of the user to be checked, the frequency in seconds at which the script should check. If a checking frequency is not specified, it should default to 60 seconds So far I have got [CODE] frequency=$0 user=$1 #!/bin/sh while [ $* -gt 60 ] do who|grep $1 > /dev/null if [ $? -z 0 ] then echo "users $1 is logged" break; else echo "waiting" sleep 10 fi [/CODE]

Member Avatar
Member Avatar
+0 forum 2

create function funAdd2(@a int, @b int, @c int output) returns int as begin declare @c = @a+@b return (@c) end

Member Avatar
Member Avatar
+0 forum 1

this program i made.. should take an input 'no' from the user.. and print the following pattern.. 0 0 n+1 0 n+1 n+2 0 n+1 n+2 n+3 0 n+1 n+2 n+3 n+4 ....... n 0 n+1 n+2 n+3 n+4.. n-1 0 n+1 n+2 n+3 n+4 0 n+1 n+2 n+3 0 n+1 n+2 0 n+1 0 lyk if i enter 2 it shuold print: 0 0 1 0 1 2 0 1 i made this program.. it gives the correct output .. but its caught in some infinite loop which is causing the problem and i cant seem to figure out …

Member Avatar
Member Avatar
+0 forum 2

The End.