199,114 Archived Topics
Remove Filter ![]() | |
GPT, an acronym for GUID Partition Table, is likely something you've never heard of before. Perhaps that's a good thing. Throughout my usage of GPT, I've come to see that it's a total and complete waste of time. What is GPT, anyway? Wikipedia defines it as a partition layout standard … | |
I need help with this. At the end of the semester, students often wish to know what grade they need on the final exam to get an A in the course. Write a program that prompts for the user’s grades on exam 1, exam 2, and the homework and from … | |
can someone tell me how to get the [U][B]icon[/B][/U] of a webpage. i can get the icon of a webpage and set it as an image but i want to take it and set it as the icon for my application. here is the code to get the icon and … | |
hi all ! i have installed eclipse through internet on my PC (OS : ubuntu) but there is no any option in eclipse to create web application using java. Please help. It's very urgent. Thanks! :) | |
Hello I have a form containing saveral textbox name1,name2....name50 & father1,father2........father50. what is the best way for desigining and submiting this form and stored in mysql thank u | |
I have many header files for stacks such as pushStack, popStack, destroyStack, etc eg //stacksADT.h file #include "P3-06.h" /* Stack ADT Definitions */ #include "P3-07.h" /* Create Stack */ #include "P3-08.h" /* Push Stack */ #include "P3-09.h" /* Pop Stack */ #include "P3-10.h" /* Retrieve Stack Top */ #include "P3-11.h" … | |
Hello,i want to implement a program that verify what mail I get. Anybody can tell me if there is a library to work with mail,or where to get started, Thanx in advance | |
Hi guys, I am starting my project and thought You pple could give a hand.I want to develop a stand-alone [I]real property management system[/I]in Java (netbeans platform)...I have some problems in [B]design and content of the system[/B].I would greatly appreciate any assistance on the same ..no of databases(mysql),forms and such..(design) … | |
Hi, Im trying to do a screen-flashing application, that flashes the screen according to the music(which will be frequencies, such as healing frequencies, etc...). I already made the player and know how will I make the screen flash, but I need to make the screen flash super fast according to … | |
The following assignment would work [CODE]float a=3;[/CODE] But the following won't :[CODE] Float a=3;[/CODE] Shouldn't 3 be automatically promoted to float (as widening conversions don't require an explicit cast) and then Boxed to Float type ? Is it because of a rule I read in Khalid Mogul's Java book ? … | |
[B]Code:[/B] [CODE]class statistic{ double * store; int noOfData; public: statistic(double* s,int sz); statistic(const statistic &); ~statistic(); double average() const; int size() const; const double* data() const; }; statistic::statistic (double * s , int sz):noOfData(sz){ store=new double[noOfData]; for (int i=0;i<noOfData;i++) store[i]=s[i]; } [/CODE] Definition and test code of the class.. Can … | |
How can i identify the error whether it is compile error or runtime error ? | |
hi all, i am new to php, i have a database field called results in that i am inserting a string something like this "category_name:-abs43;c1-abs43;types:-abs43;t1" now i want to put this string into an array, i have used the delimiter '-abs40;' as u can see in the string. the array … | |
I am not really looking for anyone to hold my hand through anything, but I am looking for someone to direct me to meaningful data/literature on the subject be it books/websites/videos/etc. I work for a small family business that repairs specific types of production machinery. We have a database that … | |
Hey guys, i needed some help with this encryption-decryption program that i am trying to write, as you will notice, i am not very skilled or experienced but i want to grow naturally, so it would be great if you guys could point out the mistakes rather than suggest smth … | |
[CODE]#include <iostream> using namespace std; int main() { double firstNo;// first number is stored here double secondNo; double result;//variable for result when first and second number are operated upon double operation;// place to store the user's inputed operation // asks the user to choose the first number cout<< "Enter in … | |
I'm having trouble trying to update or delete records from my database. Basically, I have a datagridview(DGV) in my form and the following is what I wanna do. The user could directly change/edit the values in the DGV and just click the update button to update the database. And the … | |
Where do I find the System.Numerics namespace, with things like BigInt and Complex? Just installed Visual Studio 2010 Professional. Google did not make me happy:'( Any help, is as always, much appreciated. | |
Hi, I'm mechanical engineering graduate student in Portugal. I'm familiarized with c++ but I've been having problems with the windows forms. I'm trying to make a form that would compile diferent data with inviscid fluid flow formulas but I've got one major problem. I've done hundreds of google searches and … | |
Hi, I make an application in java ME (client) that connects to a PC application (server) using OBEX protocol. Connection goes well but I don't understand why I can use the stream to send JUST one message frmo the client and after that I must close the stream to see … | |
Hi! Please, explain me why JTextField: txtFirstName and JTextField: txtLastName are not visible on my JPanel: panfortab?! I can see only JTable: tableDetails. [CODE] private void createBaseRight() { JPanel panfortab = new JPanel(); panfortab.setBounds(330, 150, 650, 795); panfortab.setVisible(true); panfortab.setOpaque(true); panfortab.setBorder(bord); FilterClass fc = new FilterClass(); fc.setVisible(true); panfortab.add(fc); pan.add(panfortab, "Right"); // … | |
Hello everyone. I am experienceing some rather strange behaviour regarding the instantiation of an object. It's a templated custom array type object, something like this. [CODE] template <class T> class Array { public: // Construction/destruction. Array( void ); Array( unsigned int size ); Array( const Array<T> &array ); ~Array( void … | |
i am doing a problem.the problems was that what do the following code prints class printing{ public static void main(String[] args){ for(int i=1; i<=10; i++) { for(int j=1;j<=5;j++) System.out.print("@"); System.out.print(""); }} This code prints infinte "@" and after some second the printing starts to slow down. when i do through … | |
Please, somebody help. I need to transform xml into xml with xsl. it´s urgent. the attach files are the input in XML and output is what the prof. want. Help-me please Corin thanks | |
I need to use document.write() in XSL. Will it work ? Please help | |
Hello, I can't seem to get this program working. I was asked to write a program that merges two files that contain polynomials. To merge two files, the input files must be in sorted order. The merge operation repetitively selects the smaller value from the two files. When two sorted … | |
<action path="[COLOR="Red"]/[/COLOR]sample" forward="[COLOR="Red"]/[/COLOR]example" /> Help me to know why the highlighted '/' are used @ the starting of the code itself | |
hello friends, this is my attempt to execute an external cmd file through java and get the output printed to a text file while the program is running (not after the program has ended), since I need to do some real time manipulation for depending on the program output. [CODE] … | |
Can anyone help me on how to display my infix notation with parentheses? 4+3 should be displayed as (4+3) also, my code only works for simple expressions like 4+0, it can translate the infix,prefix,and postfix correctly, but when the expression grows, for some reason, its outputting the incorrect notations for … | |
I wrote a very simple vector class to call level 1 BLAS through MKL, [CODE] #include<mkl.h> #include<stdexcept> #ifndef _x_matrix #define _x_matrix class xVec{ private: double *v; int n; public: xVec():n(0),v(0){} xVec(int a):n(a),v(new double[n]){} xVec(int a, double c){ n=a; v=new double[n]; for(int i=0; i<n; ++i) v[i]=c; } ~xVec(){if(v) delete[]v;} double &operator()(int … | |
Is there any need to install Ajax extantion and toolkit for visual stdio 2008 Plz reply i m facing much trouble thanx | |
Hej guys! I have a little problem with layouting Swing components. I just need to add JTree: tree to the UPPER corner of JScrollPane: scrollpanesearch, and 4 buttons to the BOTTOM corner. What I have now is JTree: tree on the LEFT, and 4 buttons on the RIGHT (see Figure … | |
Good afternoon, I've got an assignement where i need to set up a parent class and a child class with .cpp files. When I try to call the a function in the child class i get and undefined reference error. I'm able to initialize this class using the default constructor … | |
i want that program | |
Hi guys I want to commit the transaction if all the queries executed in the loop, or else I need to rollback how do i do this, I tried this , but I am not sure how efficient it is. mysql_query("START TRANSACTION"); for($i=0;$i<100;$i++) { $res=mysql_query("some query") array_push($array,$res); } if(in_array(0,$array)) mysql_query("rollback"); … | |
hey guys, I was thinking about majoring in Computer programing, I was hoping somone could just take a couple minutes and quickly answer a few very basic (amatuer)questions I had, it would be greatly appreciated- you all defintely seem to know what your talking about... Do I have to buy … | |
Hi you can customize it the problem is that when i put 5 it say to low then when i put 6 it say to high or any numbers pls help me.. [CODE] #include <iostream> #include <cstdlib> #include <ctime> #include <conio.h> #include <cmath> using namespace std; char ans; int main() … | |
Hello everyone, I have a small problem for using a regex in PHP. The problem is that I get a text output from another website. I want to get some informations by using a regex but I'm not sure in advance how the informations will be display. Here the example: … | |
Here is my code. INSERT INTO employees (1.Last_Name,2.First_Name,3.Title,4.Title_of_Courtesy5.,BD,6.Hire_Date,7.Address,8.City,9.State,10.Zip,11.Country,12.Extension,13.Notes,14. Reports_to,15.Photo); VALUES (1, 'Smith', 'Janet', 'Sales Manager', 'Mrs.', '12-30-1974', '08/05/2000', '123 My Street', 'canton', 'OH', '44720', 'USA', '4632', 'MBA from Ashland University', 'Andrew Fuller', 'No Photo Available Yet'); Here is error message...Msg 102, Level 15, State 1, Line 2 Incorrect syntax near … | |
[CODE]//************************************************************************************ // // This program keeps track of speakers' bureau. // It displays a menu, where the user can add info, // view the info of another speaker that's already in there, // and etc. //************************************************************************************* #include "stdafx.h" #include <iostream> #include <iomanip> #include <cstdlib> using namespace std; //************************************************************************************** // function … | |
Hello all, This code works fine on my Win XP machine, but not on Win2k. I have tried overriding the webrequest function in Reference.vb with [code=vb.net]Protected Overrides Function GetWebRequest(ByVal uri As Uri) As System.Net.WebRequest Dim webRequest As System.Net.HttpWebRequest webRequest = CType(MyBase.GetWebRequest(uri), System.Net.HttpWebRequest) 'Setting KeepAlive to false webRequest.KeepAlive = False GetWebRequest … | |
Here are 3 integers and 1 bool. [CODE] int a; int b; int c; bool bHasChangedValue; [/CODE] The boolean value bHasChangedValue depends on the value of b changing. If I update b each frame [CODE] public void Update() { a = b; b += c; bHasChangedValue = a != b; … | |
I have a PHP page on my site that (almost) continuously loops and sleep()s. While this page is looping and sleep()ing I cannot load another page from my site until the looping page has finished and returned a result for me. Is there a way to get around this? Is … | |
Hi, I have a gridview that displays all the users from the ASPDOTNET database and I have some buttons that I can display other details and also edit and delete a user. The show button seems to only work on every other row. The fail message is the following: [CODE]Object … | |
I am create one program that contain two combo boxes. If first combo box i am display all date. If i select one date from first combo box then the second combo box display some dates based on first combo box select date. Here is my full program [CODE] import … | |
I can't seem to figure out whats wrong with my logic for the is it a function or not area. I used the following given test with the correct output: f(1) = 1 f(2) = 4 f(3) = 3 f(4) = 1 f(5) = 1 This function is a valid … | |
I want to validate username and password i.e.I created a table with two variables username and password in sql. I want to match table username and given username as well as for password. If those matches then only it should login. Please help me with the code sir | |
Hello guys. Is there any command or function, which allow me to change my screen's color, when i start the program ? Thanks | |
Hi everybody, i have a web site without login system, and i want to integrate a good login system into it. Plz, suggest me a good tutorial about it? | |
Hi Everyone I need a syntax for update statement LIke this: cmd.CommandText = "UPDATE tab(tab_id,tab_name) SET tab_name=@tname WHERE tab_id=@tab_id"; this one aint working ,Somebody please help. I have two textboxes tab_id,tab_name I have to Update tab_name based on tab_id,...when i Click content of datagridview then I will get the content … |
The End.