199,114 Archived Topics
Remove Filter ![]() | |
why does code 1 gives segfault error whereas code 2 doesn't, both are basically same, do anyone have any suggestion? 1. #include <iostream> using namespace std; template <class T> class nodes { template <class U> friend class linklistchain; private: nodes<T> *adrs; T data; }; template <class T> class linklistchain { … | |
I made c# asp.net web form application with visual studio 2008 with oracle 10g database using Oracle.DataAccess. When I start debugging or start withoutdebuggin from visual studio, it workd fine. (visual studio and oracle 10g server and client are installed in my pc). I publish the application and use ftp … | |
I'm using Sql Express in Eclipse here is the code import java.sql.*; public class Login { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("This is my new world"); //String url = "jdbc:sqlserver://\\SQLEXPRESS;databaseName=pay;integratedSecurity=true"; String url ="jdbc:sqlserver://SQLEXPRESS;databaseName=pay;integratedSecurity=true"; try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); } catch (ClassNotFoundException … | |
i have a Life class. which just prints a image of heart. i want to have 6 lifes so iam adding 6 classes in arraylist. 1st heart one left. 2nd heart next to it..... int life = 6; //LIFE - create 6 heats and store in arraylist lifeClass = new … | |
We have this subject called Computer Oraganization... we are now using dos debug commands but the problem with my laptop is that when I type debug command...it will prompt 'debug' is not recognized as an internal or external command, operable program or batch file. The C:\Windows\system32 do not have a … | |
Hello everyone, I was wondering if anyone could tell me how to connect and query sql databases in c#. Thanks in advance | |
I have been working with numbers in tkinter using operators but I'm unsure on how to process the input and using maths on them. I also wouldn't mind knowing how to use words either for future reference. Reply if you know anything. | |
Here is my line of code: class Rectangle(object): def __init__(self,x,y): self.x=x self.y=y def Area(self): return self.x*self.y def Perimeter(self): return self.x*2+self.y*2 def main(): print "Rectangle a:" a = Rectangle(5, 7) print "area: %d" % a.area print "perimeter: %d" % a.perimeter #print "" #print "Rectangle b:" #b = Rectangle() #b.width = 10 … | |
Hi, I have an asp html page that allows the user to input data into a web page. When they click the submit button it calls a default.aspx.vb. The ISPostback is always false so it skips my sql add parameters. Here is the code: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="_default" … | |
I am developing a page so i can parse information from one page to another. one page has three options and when the users clicks on the options they was want they then click on the send button. That choice will be seen on the next page which is past … | |
Group, I'm having an issue with SQL Server that has me baffled. I need help. When I originally loaded SQL Server 2008 Express and created my database, I called it "DataDesignSolutions". The tables were created through VB Studio 2010 Express. It's path was "C:\User\Don\Documents\DataDesignSolutions.mdf". I'm not sure how, but somewhere … | |
is it possible to show alert box when mouse is on start button or on task bar or on menu bar means other place except website if any one have any idea about this plz reply me my client want this functionality in exam website ![]() | |
javascript code : $("input#input_field[name=brithday]").datepicker({ dateFormat: 'dd-M-yy', showAnim: 'slide', changeMonth: true, changeYear: true, yearRange: '1990:2020' }); jsp code : <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Profile</title> <link rel="stylesheet" href="css/style.css" type="text/css"> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script> <script type="text/javascript" src="JS/javascript.js"></script> </head> <body> <% %> <div> <div class="blackDiv"> </div> <div class="whiteDiv"> … | |
Error E2188 eidstructures.hpp 26: Expression syntax Error E2257 eidstructures.hpp 64: , expected Error E2188 eidstructures.hpp 73: Expression syntax Error E2257 eidstructures.hpp 81: , expected Error E2188 eidstructures.hpp 90: Expression syntax Error E2257 eidstructures.hpp 96: , expected Error E2188 eidstructures.hpp 105: Expression syntax Error E2257 eidstructures.hpp 111: , expected Error E2108 … | |
**how can i read a specific text from a text file back to a textbox?** **so here are the text** `heburn@YAHOO.COM, TAGUIG, 9460593, ASRock, 2.4 GHz, Dual, Core, HDD, 160 GB,5, 200, 2 GB, 2,512 MB, YES` **and i just want get the text** `TAGUIG` and `HDD` | |
well basically i have to draw a stick figure for which is my first question... i cant figure out how to draw a horizontal line and also a line at a angle for the legs... here is the code for the first one def drawStickFigure(): from graphics import * win … | |
![]() | I would like to know how to take selected information from a listview and add them to a .dat file This is what i got so far but it is to save into a text file Sorry for any mistakes i am a noob Private _filepath2 As String = Application.StartupPath … ![]() |
I'm currently working on an assignment for my intro python class in school. The program is a "guess my number" variant, but its focus is on global variables and the try/except operation. I've managed to figure out most of it, but I'm having trouble calling my function that gives a … | |
I'm trying to extract an element's children from an AJAX call, but am having difficulty isolating it. My code is as follows: function AJAXcomplete(data){ var result = $(data).find('#productDetails > *'); jQ('#productDetails').append(result); }; function getDetails(e){ e.preventDefault(); var addy = jQ(this).attr("href"); jQ('body').append('<div id="productDetails"></div>'); jQ('#productDetails').show(); $.get(addy, AJAXcomplete); }; jQ('#slides').on('click', '.slideLink', getDetails); The above … | |
Hi the problem I am faced with is after adding around 35 video files of both .avi and .mpg with a total file size of around half a gig to the resources of my project, I get an error message on debug telling me "Error 1 Unable to write to … | |
Im developing a web chat and was wondering, when Im displaying recent messages how do I get individual usernames to display. For example: when i log in as a user and send a message, it shows that its from me, but when I log in as a different user, all … | |
$e = retrieveEntries($db,$id); i m passing db connection and entry id to function and function returning mein one when i check with print_r $e is not returning please help me out here is the function function retrieveEntries($db,$id=NULL) { if(isset($id)) { $sql ="SELECT title,entry FROM entries WHERE id =? LIMIT =1"; … | |
Using this example json file: { "stores": [ { "storeName":"AUGUSTA", "company":"CC", "emailAddresses": ["spowel4@gmail.com", "spowel4@yahoo.com", "steve@compsysplus.com"] }, { "storeName":"CHATTANOOGA", "company":"CC", "emailAddresses": ["spowel4@gmail.com"] } ] } I have this code to try to parse the file: public static void main(final String[] args) throws Exception { // TODO code application logic here ObjectMapper … | |
hi guys , im designing a c++ code for an assignment and im badly stuck.i have to create a programme word checker to change plurals to nouns. i have it completed but have to store it as statistics. so when the user selects the VIEW button at the end of … | |
Please help me im new in making database i dont know what tables will i create and its content pls.. 1. Develop a database design for a Student Attendance Management System. Create an ER Diagram to illustrate the relationship between the entities in your database. Below are the suggested list … | |
hello, how are you, i have an idea and want to apply it. i have two tables the first one is called topics and the second is sections these sections contains these columns sections: section_name | sec_id topics: topic_name | topic_id and i want to select every section with their … | |
Hi, Long I am listening the two term that debug mode and release mode ?Can anyone please explain what are those ? I have heard that depends on gcc and its options -O0 or O2 and -g but not sure exactly about those .Can you please explain with example. Thanks … | |
Hi friends, I am working with library managemnt system. I have a doubt.. I m adding 1 book copy to the library. after borrowing how to reduce copy to 0. and change the status?? | |
i making a game. i have a player and i want him to shoot different kind of bullets. i already have created my player class and bullet1 class. i am think of making bullet2 class, and bullet3 class. than i can make a variable. main start with like this: String … | |
Hey, I was wondering how do I add foreign keys in php MyAdmin? I tried changing the storage type to innoDB, but the option is not available to me ? any ideas ? | |
write a program in c++ to determine the highest score of any set of scores | |
![]() | Hi guys im writing a program and was wondering what the code would be to prompt for a password when pressing a button ie. I have a button that checks who earns the most money and only certain people have access to that button through a password. |
In my project I have a folder called library. the folder contains essential scripts that other php files call from so I am trying to secure this folder so that no body would be able to access the directory from the url. But I dont know how to do this. … ![]() | |
Hi there, I am a complete newbie and need help with normalization and ER diagram. here is the case study: a college specializes in providing foreign language courses at various levels to the general public. it consists of several local centers in and around the city. at present, course enquiries … | |
Hi need some help suggestion I am trying to search data form two date range but it seems not working properly when i search for $from_date = "2013-04-01"; $to_date = "2013-04-04"; $query = mysql_query("SELECT * FROM date WHERE Date between '" . $from_date . "' AND '" . $to_date . … | |
Hey Fellas, I created 10 JTextFields using and ArrayLists: `ArrayList<JTextField> textFArray = new ArrayList<>();` textFArray.add(new JTextField()); gbc.gridx = 1; for (int i = 0; i < 10; i++) { gbc.gridy++; add(textFArray.get(i), gbc); textFArray.add(new JTextField(i)); } What I need to do: I need to get the values of what ever the … | |
Hi all! I use VB.NET + Mysql. I have two tables (tblstudents & tblpayments). I want to view payments details of a selected student. Thus, I'd like to select some values (firstname,middlename,surname) from tblstudents and (all values from tblpayments WHERE class = @class -I know how to deal with @class, … | |
Please can any body help me with a simple script on how to write an ajax longing in php. I doing some on chat and have been using the old polling. so I want to switch to long pooling. so the browser would only display messages when there is a … | |
i have two classes, enemy class and level class. in level class i am changing the counter value. note i set up my if statment so it will only goes in onces and never again. so if u reach lvl 2 than it will go in lvl2 if statment onces … | |
i have asdecr.dll file and i have to call c++ 2010 dll made file in vb 6 tell me process in detail.. like after open vb 6 what should i have to do to open dll file... step by step | |
hi, i have agridview in desktop application, i fill it with data using dataset, how can i chose arow from gridview and make right click on that cell then do search for that info i chosed from gridview? Best Regards, IT_Techno | |
I am new to VB. Currently i am doing a Stock manage program with VB and SQL 2008. When Receive new stock from Supplier,I put recive item in a winform with DataGrid view. some thing like this **Item Description Received Qty UnitPrice Total** 1001 Acer Laptop 10 455 4550 1005 … | |
I am designing my very own first web page. It's a real estate page where some users will add open house information while others can pull the info out. The code for the database and the web is very good (after two months...) and inserting and getting data is sweet. … ![]() | |
I have created a function that creates .xml files from input from a form provided in another script and saves the file in a network location. I got this working correctly, however, when i tried to convert it into a wordpress plugin (creating the .xml file from post meta data … ![]() | |
I'm writing a binary tree program to do the following actions: a. Print out the tree in inorder b. Print out the tree in preorder. c. Print out the tree in postorder. d. Print out the number of nodes in the tree. (Traverse the tree and count the nodes) e. … | |
Hi I'm having got a problem with some of my code and can't figure out what it is. I'm receiving the following error: Parse error: syntax error, unexpected T_STRING in /home/a1907007/public_html/index.php on line 11 This is my code: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>31seconds</title> <link rel="icon" href="Images/Favicon.ico" url="image/x-icon"> <link … | |
Hello! I use the Serializable interface in one of my projects but I have a problem. I serialize some objects and when I try to deserialize them after I run the application several times, the only object that is deserialized is the last one that was serialized. Do you have … | |
hi i wan to add my `.xml` files into `database` and into the directory `uploads` . i have following done into the `php` if(isset( $_FILES["f_name"]) { $path = ""; if(file_exists("uploads/" . $_FILES["f_name"]["name"])) { echo $_FILES["f_name"]["name"] . " already exists. "; } else if($_FILES["f_name"]["type"]!= "text/xml") { echo "invalid type is tried … | |
I am trying to implement a Login validation using C# 2005 in ASP.net 2.0 web application. The SQL Server database contains a table named "UserList" with columns LoginId, Password and Role. The Login webform should authenticate the LoginId and password and depending upon the Role assigned to that user/visitor should … ![]() | |
Assuming that every person has a National ID number, I am trying to check if the Entered number is a valid ID number, under these conditions: 1. ID number must be of 10 digits length. 2. If ID length is greater than/equal to 8 and less than 10 digits, add … |
The End.