199,114 Archived Topics
Remove Filter ![]() | |
Hello, I am using OpenGL in C++ to create graphics in a program of mine. In the window, there is the main section and a sidebar. My problem is that I do not know how to relocate the vanishing point in my window. Currently, it is at (0, 0), which … | |
Hello, I'm trying to create a Button Class that will be used to create buttons on a form. This is the class I've created: [CODE] public class CreateButton : Button { public Button newButton; private string _buttonName; private Point _buttonLocation; private Size _buttonSize; public string ButtonName { get { return … | |
Hi, I was trying to code the shell sort algorithm ,which compares data over distances of n/2,then n/4,n/8 and so on till the array finally gets sorted .As far I understood I implemented the code as follows but it doesn't seem to work.Can someone help! here is the c code[code=c] … | |
please help me.... i need some help on how to get the grades of this program and also can u please correct it... cause i think something is not right... #include<iostream.h> int A[5]; int ctr; main() { ctr=5; while(ctr<5); { cin>>A[ctr]; ctr=ctr +1; } cout<<A[5]; ctr=5; do { cout<<A[ctr]; ctr=ctr … | |
I have two pages, header.php and sidebar.php which I want to include on several pages using: [code] <?php include 'header.php'; ?> <?php include 'sidebar.php'; ?> [/code] However, there are two different issues. On this page [url]http://ewh.ieee.org/r1/schenectady/New/index.php[/url] , the included text is put BELOW the text on index.php, even thought it … | |
Hello all, I am stuck here with a problem. I want to check if someone enters a negative score on a multiple form page. I want that the edit field is red color if the score is negative. I call htis function with the onblur event input name="pickscorehome" type="text" class="pickedits" … | |
Alright, this is a school assignment. Unfortunately, we were given about a paragraph of info on apps so I'm not sure what I'm doing wrong. I know it's a pretty random app, but these are the elements that she wanted. My problem is that it runs infinitely when I run … | |
Hi I'm Indrajeet. I was writing a program in VC++ 2010 Express for file manipulation, and after finally getting all the syntax errors out,my code looks lie this: [CODE]/********************************************************************* This is a program for file manipulation in VC++ Created by Indrajeet Roy *********************************************************************/ #include<conio.h> #include<stdio.h> #include<stdlib.h> //Protoype of the functions … | |
Currently at the top of every page I have this: [code] <HTML> <HEAD> <TITLE>Schenectady Section of the IEEE</TITLE> <META NAME='url' CONTENT='http://www.ewh.ieee.org/r1/schenectady/'> <META NAME='author' CONTENT='Authorname'> <META NAME='email' CONTENT='author email'> <META NAME='expires' CONTENT=''> <META NAME='revision-date' CONTENT='6-Sep-1999'> <META NAME='keywords' CONTENT='Schenectady Section'> <META NAME='description' CONTENT='Schenectady Section of the IEEE'> </HEAD> [/code] If I move … | |
where can I find a code/ready program in C++ graphics of a rotating body. appreciate your time.thanks | |
Hi! I'm building a program which connects to a MySQL server. The program saves the server passwords in SHA format. There's one class responsible for converting and checking the passwords, and another one for DB connection. Now, when the user starts the program, (s)he types in the username and password. … | |
I've been thinking about this for a week... Well, I know that this question have been asked so many times, I've also search the forums, but instead of bumping into old threads, I just post a new thread... We are to develop a project, and I just want to seek … | |
Could you please show me a very small program with the explanation how the data can be passed between classes. I said very small program (as small as you can) because I just started in Java and if the program is big I'll get lost !!! I'm a bit confused … | |
Hi, I'm trying to use the array_unique method in php to get the unique values of the array but what i get is just one value and the other values deleted by the method , the values in the array are (Pro CSharp 2008 and the NET 3.5 Platform , … | |
[CODE]int i=5,j=6; int k=i++ + i++ + ++i + i++; int m=j++ + j++ + j++ - j++; cout<<i; cout<<m; cout<<j; cout<<k;[/CODE] | |
hi im a student specialising in software development n my last semester is approaching n i have to give the topic to my supervisor...i don't knw on wat topic to do....can u please help me in finding a topic..my project should be a simple and understandable one..my project is based … | |
Hello world of DaniWeb, what's up? I have the following problem; I've created a text editing application in VB.NET that actually works pretty well with opening, saving files etc. But when it comes to opening a file, modifying it, and then trying to save it, the save dialog will pop … | |
Hi Friends.. In my web application(ASP.net), i need to disable the "Back" button in the browser.Moreover i also need to disable the Backspace key in my keyboard when my web page is run..How to do it with javascript..? Someone help with javascript as early as possible.. Regards, Balaguru | |
Dear all, i have a php script to download list of files from server. it is working well, when i type the file address. but i want to get address of file from user. i have a html page where user select Folder and Sub Folder name to download file … | |
I have a user name, password, phone number etc., that all need to be validated before being submitted. The functions filter out the unwanted characters and null and zero length strings. I did have a pop up that listed the errors but I would prefer them to be listed below … | |
Hai sir! i am kannan please help me insert, update, delete and search coding in VB.Net with access and sql? and way of connect and create access database using in vb.net? | |
I want the coding for image updating. i,e when the user uploding his images tat be automatically updated in mysql as well as in website | |
I want to set my textbox to be able to only accept numeric values as well as a '.', I typed this code in [CODE] private void ipAddTextBox_KeyPress(object sender, KeyPressEventArgs e) { int isNum = 0; if (e.KeyChar == ".") e.Handled = false; else if (!int.TryParse(e.KeyChar.ToString(), out isNum)) e.Handled = … | |
Implement the template class SortedList. Write a simple driver that reads values from file float.txt, inserts them into the list, prints the length of the final list, and prints the items. Add code to your driver to test the remaining member functions. Delete 3.3, 10.0, and 200.0 and print the … | |
[CODE] void RB_number() { int roomnumber; string category; string type; string status; float rate; int roomid; //Try,catch and throw statement for exception handling to catch errors that are inputed from the user try { cout<<"\n\n\t\t\tEnter the Room ID you wish to view:"; cin>>roomid; if(roomid < 0) throw "Error"; } catch(string) … | |
Hi, just starting out with PHP, etc. Seem to be picking things up quickly. Just want some advice on how secure things are e.g. entering email address into the database, etc. Look forward to some help and advice. [CODE]<?php error_reporting(0); $email = ""; $msg_to_user = ""; if ($_POST['email']!=""){ include_once "connection.php"; … | |
hi, i want to send email after redirecting on a page name email.php or it may be anything.when i redirect on this page amal should be send to user automatically.please send me a code for this please help me .thanks irphan | |
hey guys, i am working on coordinates in one program and there is a line such as this one: [CODE]int xx =Math.round((int) getWidth() * 100 / 768);[/CODE] can somebody tell me what calculation is actually taken before the value is set to int xx thanks a lot for any suggestions | |
![]() | Hi, i'm looking to learn a programming language, but i don't know which. Can someone help me? I did some Pascal, C, C++ and Fox Pro in highschool and some HTML, PHP, MySql in faculty. [B]What do you guys advise me to do?[/B] ![]() |
when i'm creating register form database was connected but cant able to store the values from form into mysql | |
I am trying to display a report, but can't figure out how in vb.net and visual studio 2010...anyone care to help? | |
![]() | /*THE OUTPUT SHOULD BE LIKE THIS: 2 4 6 8 10 - 30 //gets the sum of first column 12 14 16 18 20 - 60 //gets the sum of second column 1 2 3 4 5 - 15 //gets the sum of third column 6 5 4 3 2 … |
[CODE]import java.util.*; public class Sort { public static void main(String[] args) { //driver method int[] array = new int[10]; System.out.println("Please enter ten integers"); insertionSort(array); } public static void insertionSort(int[] array) { Scanner kybd = new Scanner(System.in); int min, temp, n = array.length; for (int i = 0; i < n; … | |
can someone tell me how to put a picture on a msgbox? or even just an icon? | |
Hey everyone, Today i was just studying C++ and i needed to do a simple program with a "GradeBook.h" file, a "GradeBook.cpp" and a "main.cpp".Just to test how class works . I had already wrote all source code for this files, but when it cames to compile nothing appears, i … | |
Dear Sir, I have written a script to extract the first line starting with [COLOR="Red"]Source Name[/COLOR] AND ends with [COLOR="red"]Comment [ArrayExpress Data Retrieval URI][/COLOR] and i have done it but i could not parse distinct or unique attributes which is not repeated in every files. I would like to parse … | |
I had been trying to make my WordPress blog Thumnails Clickable without any luck. Here is the code I am supposed to change: [CODE]<a href="<?php the_permalink(); ?>" title="<?php the_title();?>"><?php the_post_thumbnail(); ?></a>[/CODE] | |
hai! every body. please correct this coding. vb.net with access table name : Sample.mdb My Error mistake is : [COLOR="Red"]"The Microsoft Jet database engine cannot find the input table or query 'sample'. Make sure it exists and that its name is spelled correctly."[/COLOR] my coding: Private Sub btnsearch_Click(ByVal sender As … | |
Edit: Oh, nvm. I just redid the code and figured out how to write the tester class. Sorry guys for the trouble:( This thread can be deleted. So I have this code (not all was written by me). But I don't know how to start writing a tester class for … | |
$show =$_GET['id']; //if i put the id manually it works and the content get changes print_r($_GET); // Working $news_sql=mysql_query( "SELECT *FROM latestnews WHERE id = '$show' ");//i cant retrieve id here while($rsnews = mysql_fetch_assoc($news_sql)){ ?> my code <?php } ?> | |
Hi! I'm trying to convert C++ code to nasm ..unsuccessful Well, here is the c++ code: [code] int recursion(int n) { if ((n==0) || (n==1)) return 1; else if (n==2) return 7; else return recursion(n-3)+recursion(n-2); } int main () { for (int i=3; i<=15; i++) { cout << recursion(i) << … | |
Hiya, I am using following Java file which creates a GUI, in the input field if i put any character why dont I see the JOptionPane.showMessageDialog pop up window as mentioned in the code? Any clues? Thx Rony //import statements import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.text.DecimalFormat; … | |
I would like to know how to take a selected Item string ("Allen Hall: $1,500 per semester") from one combobox and another selected Item string ("7 meals per week: $650 per semester") from another combobox and have the output to be ($2,150) the total of the two strings added together? | |
Hi all, I want some inputs from you on the following issue. I have two drop downs on a jsp page.On the selection of the first drop down the page will get refreshed and the second combo box will be loaded regarding the selection of the first drop down. Now, … | |
Hi, The following part of code is failling at first free call (Line no.26) giving above error.I don't know what to do.Please reply urgently. [code] int main() { val1 Valstruct; int i; Valstruct.ch = (char **)malloc(2 * sizeof(char *)); for(i=0 ; i<2 ; i++) { Valstruct.ch[i] = (char *)malloc(10 * … | |
Hi can anyone help me. I have an issue of converting an array object to string.Here is my code [CODE]if(isset($_REQUEST['insert'])) { $data['first_name']=$_REQUEST['fnam']; $data['last_name']=$_REQUEST['lnam']; $data['reg_number']=$_REQUEST['rnum']; $data['date_of_birth']=$_REQUEST['dobi']; $data['date_of_joining']=$_REQUEST['dojo']; $data['name']=$_FILES['uploadfile']['name'];// i want to convert only this value to string $data['type']=$_FILES['uploadfile']['type']; $data['size']=$_FILES['uploadfile']['size']; echo http_build_query($data['name']); exit; $uname=str_replace(" ","_",$data); $tmp_name=$_FILES['uploadfile']['tmp_name']; $target_path="uploads/"; $target_path=$target_path.basename($uname); if($data['name']=="") { $db->query_insert('tbl_student',$data); header(''); … | |
hi, ahm. well can someone help me in my project, it is a reservation system in a church, the problem is, I have to reserve the date that my client wants. I don't know what application I should use. At first, I use the calendar contol 6.0 but I don't … | |
Hello everyone, I know this question has been asked before but it is possible to write a keylogger in java? Before assumptions are made I'm not trying to hack anyone or do anything illegal. I simply have a team project in my data structures class and I am an aspiring … | |
Hey guys, I am currently looking into making my own flash game. I'll have my bachelor's degree in computer science next year so I am pretty familiar with programming. I am pretty bogged down with school work, but I still want to be able to create a few simple games … |
The End.