199,114 Archived Topics
Remove Filter ![]() | |
A hospital desires to computerize its daily parking activity. The parking opens its doors from 8 AM till 8 PM. Therefore; they bought a device to issue cards, at the entrance gate upon the visitor request, showing the arrival time. Upon leaving the parking the same card is inserted again … | |
Hello, I was wondering what a second pair of eyes (or several) might have for opinions on this code? This program is supposed to store a user generated array, and functions which tell the highest, lowest, etc. Mainly, I need help with the "set cell" part, which is supposed to … | |
Hey guys i am having a problem with displaying a single record out of a text file the code is not reaching the "if" function in the while loop of the "getRecord" Function please help. Everything else is working import java.io.*; import java.util.Scanner; import java.util.InputMismatchException; public class FileTest { //Globals … | |
#include <iostream> #include <iomanip> #include <string> #include <cstddef> #include <cstring> #include <fstream> #include "IntStack.h" using namespace std; int main() { char c; ifstream inFile; string filename; cout << "Enter the filename " << endl; cin >> filename; inFile.open(filename); IntStack stack(50); if (!inFile) //file could not be opened { cout << … | |
![]() | Hey guys, As the title says, I want to know how I can reverse the characters in a string, but retaining the placement of the words as such, here's the code I used: [CODE]class reverse { void reverse(String s) { int l=s.length(),j=0; String s1=""; for(;j<l;j++) { char a=s.charAt(j); if(a==' ') … |
Hi everyone, Again, i am here for the second time. My current problem is kinda complecated for me. I am developing a project using Codeigniter framework for php. I am using SSE to display notification from a table in the database without user refreshing the page. From a view (view1), … | |
i know: - &varname is the adress of varname; - *varname is the value of adressed variable. but: void *Vvariant=NULL; friend ostream& operator <<(ostream &os,const variant2 &obj) { os << obj.Vvariant; //how can i get the value of adressed variable? return os; } how can i get the value of … | |
Fatal error: Call to undefined function dean-ueki@hotmail.com() in F:\xampp\htdocs\contact.php on line 87 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Yakity Yak</title> <link href='http://fonts.googleapis.com/css?family=Oswald:400,300' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Abel|Satisfy' rel='stylesheet' type='text/css'> <link href="style.css" … | |
please i need who can explain how i can develop a copyright detection sofware for me | |
I am trying to create a player class to pick up and drop as well as carry items and this is the code I have so far. However, I am unsure what needs to be changed for it to work. import java.util.ArrayList; public class Player { private String Name_; private … | |
intstack.h cannot be changed class IntStack private: int *stackArray; // Pointer to the dynamically allocated stack array int stackSize; // The stack size int top; // Indicates the top of the stack public: // Constructor IntStack(int); // Destructor ~IntStack(); // Stack operations void push(int); int pop(); bool isFull() const; bool … | |
I really am trying to figure this out but just cannot get it right. I have 2 tables, "tblSalesMain" and "tblRepMain". I am trying to return to a combobox a reps first and last name instead of an "ID". For example, when a sale is selected it will show all … | |
Please if u can send me the code or any example of the code of this game because i have on project on my univesity on app inventor . the game is like that this link http://www.mathplayground.com/numberballs.html but my project really contain :With the start of the game, from the … ![]() | |
In my project I have got a listview filled with contacts which are stored in a XML file. This is the connection between the two of these and basically this is how the contacts are loaded: Please note that first function is called on form loading: void LoadContacts() { string … | |
![]() | What is possibly wrong with this code ? data segment msg db "Enter a character: " data ends code segment assume cs:code , ds:data mov dx,data mov ds,ax mov dx,offset msg mov ax,08h int 21h mov bx,ax mov ax,4c00h int 21h code ends end  |
If I have two bytes representing 117, 117 or 1110101 , 1110101 and I want to concatenate them (technically I know how) then which end attaches to which? I understand they will be arranged in memory depending on endianess but overall, is there a standard way of concatenating bytes. Lets … | |
Hi Guys I have a problem while an error and rollback Please check this example if i have an error at **CreateClassPayment()** method, it will go and execute rollback function but it doesn't rollback the transaction at **CreateAttendent()** but will not go for next transactions also **formSMSContents() and UPDATESMSPORTAL()**,can any … | |
Can anyone help me with this code i have started it but then I got confused thanks. Option 1: Create two-dimensional array choc_yourname[50][7] using the data in file chocolates.txt and print the values of this array on the screen Option 2: Calculate the average quantity of sold chocolates per day … | |
Hey programmers, I am working for my website http://www.printusher.com and when i wish to make it open fast for seo reasons. the website speed is slow. How can i speedify my website to open it seen. Please give me some suggestions who know about this problem | |
hi guys , i have a problem with my loading/refresh record in my form. i have only almost 500 record and take so long before refreshing/display the data. i have a user input form where user enter their record and while saving(direct to the database) and refreshing data i just … | |
Please help me. I am trying to search order no from Search2.jsp and display it in a table at Display2.jsp. The **error** is javax.el.PropertyNotFoundException: Property 'OrderNo' not found on type bean.OrderBean at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:223) at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:200) at javax.el.BeanELResolver.property(BeanELResolver.java:311) at javax.el.BeanELResolver.getValue(BeanELResolver.java:85) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67) at org.apache.el.parser.AstValue.getValue(AstValue.java:169) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:985) at org.apache.jsp.Display2_jsp._jspx_meth_c_005fforEach_005f0(Display2_jsp.java:111) at … | |
so my newest problem! i have a save button and that save button already has the insert into query and working fine now what i wanna do is when the user clicks on the save button what it does first is, it checks if a record of that user already … ![]() | |
We have a socket application with lots of queries in it. The problem after doing some sample of jmap -histo we notice the number of sockets keep growing and resultsets fluctuates. Checked through and ensure all the resultset are closed and finally even the socket is close just based on … | |
In this program, I am trying to print a solution for the maze with '*' indicating a wall, ' ' indicating a corridor, and '#' indicating a solution path. I am using a recursive backtracking algorithm in this program. For instance, here is a small (8-by-12) maze: 8 12 ********** … | |
How to exit a program but keep the turtle window open? I have tried exit() but it doesn't keep the turtle window open | |
i having thread class ,each time when i am calling it creates new object and run new thread, i want to access specified thread variable from another class. is it possible??? help me.... | |
Write a recursive function, vowels, that returns the number of vowels in a string (character array).no global variables are allowed ?? | |
I have class with two method to read and write to file and in my GUI jFram ArrayList<PersonTest> person = new ArrayList<>(); RWData readWrite = new RWData(); DefaultListModel<PersonTest> model; private void fillList() { model = new DefaultListModel<>(); for (PersonTest temp : person) { model.addElement(temp); } jList1.setModel(model); } private void btnLoadActionPerformed(java.awt.event.ActionEvent … | |
I have three table **customer** c_id NUMBER c_name VARCHAR2 c_address VARCHAR2 **order** o_id NUMBER fk_c_id NUMBER o_name VARCHAR2 o_price NUMBER o_orderDate DATE **order_history** oh_id fk_o_id fk_c_id oh_status VARCHAR2 oh_dateChanged DATE When the customer make an order it will show default status as pending then if the status change to approve … | |
Multiple generic arrays is it possible to create something like <String, Integer>[] a; If I wanted to create an array that stores objects of String and Integer? | |
I have a web page with highcharts jQuery library and I used CSV file as a keep my data. Now I waht get data from my server mysql data base. Any one can me explain how highchrts link with mysql data base | |
I have a project created with VC2010 and the initial layout is almost ideal, it has a CFileView and a CClasView in a tabbed bar on the left and a CPropertiesWnd on the right. But for my project these windows need to say where they are and not be moveable, … | |
Hi, all I've been banging my head on this one for about a day, now, so I figure it might be time to consult experts. I've got a form, here, that has 3 fields (First, Last Name, and E-Mail address). It's supposed to auto-generate a username and password, insert into … | |
I am a newbie to hibernate and I am trying to insert a row. The below is my code along with log. I am not getting any exception, however when verified in the Database, the row itself is not getting inserted. hibernate-cfg.xml <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration … | |
can anyone help me in this problem? i have to put sql server data in my combobox on my form, i watch several tutorial in youtube and read here some other codes but i still don't how to. please can anyone help me? Using combocon As New SqlConnection("Data Source=NSSISQLSERVER;Initial Catalog=NSSIDB;Persist … | |
i am using hpage to create my site and i want to creat a form of my own to send feedback to email | |
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in F:\xampp\htdocs\s.php on line 95 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR...l1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Yakity Yak</title> <link href='http://fonts.googlea...=Oswald:400,300' rel='stylesheet' type='text/css'> <link href='http://fonts.googlea...css?family=Abel|Satisfy' rel='stylesheet' … ![]() | |
Hello, Coders! I'm a professional backlink builder and I work for a company for 2 years right now. One of the services I provide is Social Bookmarks. I have a "semi automatic" system that gets the job done but due to recent changes in my company I need to make … | |
How to convert Text File to C/C++ File to include folder | |
I have to write the an AVLTree in python, followed all the instructions and I feel I have it just right, only problem is I can't figure out how to display my tree. I have to use the test given below, as well as the 2 methods below in the … | |
ello ello, I'm currently calling a file using JQuery but every so often (very randomly) Google Chrome would crash (Just the tab, not the browser). Soooo I began investigating and discovered that browsers cache AJAX calls? This would mean that the tab would be using a stupid amount of memory … | |
Hi all. I'm having a mad issue... totally mad. I mean I've never had this before. I have the following HTML form: <form action="" method="POST" name="createForumCategory"> <label>Create a new category:</label> <input type="text" name="category" class="m-wrap placeholder-no-fix" /> <input type="hidden" name="id" id="id" value="<?php echo $forumOrange['id']; ?>" /> <button class="btn green" type="submit">Add Category</button> … | |
Hello all, I apoligise if this is the incorrect forum but it seemed to be most relevant. Basically I am doing some statistical analysis on game data using standard deviation and upon analysing the data I seem to have forgotten how to work out my percentages so here is to … | |
I was reading through http://calebjacob.com/tooltipster to achive a cool tooltip, but seems not working for me :( any one please write me the code to achive this tooltip effect -> https://dl.dropboxusercontent.com/s/g2y9zrn9deljxhq/tooltip.jpg Will be great helpful. Please help. ![]() | |
Hi, I'm looking for a little help. I'm trying to create a script with the ability to take home page as an argument, printing a message to say something about the site and then validate whether or not this is a valid URL. I'm relatively new to Python and haven't … | |
im trying to do this for fun but i cant figure out why i keep getting "null" instead of previous entry. ps. this isnt homework Thank you public class GetUser { public static void main(String[] args) { String name; String a []; char x='y'; int i; int n=1; do{ System.out.println(); … | |
I am trying to read in a word to a string and then output the letters, in alphabetical order, and count how many instances of that letter. array a 2 r 2 y 1 #include "ArrayList.h" #include <iostream> #include <string> struct ItemType { char letter; int count; }; int main() … | |
Hi, I have a simple problem here but i have no idea how i can do it with javascript. I have a php script which will grab data from database from time to time (Server Sent Events) and i use ajax to display those data without refreshing the page. I … | |
/Design a program that supplies numbers (9000 only) and outputs their equivalent Roman numerals. //the supply numbers and their equivalent Roman numerals are given below. //Supply number equivalent Roman Numeral //1 I //5 V //10 X //50 L //100 C //500 D //1000 M Sample Output: Enter integer (1-9000):1984 MCMLXXXIV … | |
How could i convert One number system to another system? this is the output: Choose a number system below: Press A if you want Decimal to convert to another number system. Press B if you want Binary to convert to another number system. Press C if you want Octal to … |
The End.