199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Weird Nerd

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 …

Member Avatar for Weird Nerd
0
516
Member Avatar for drake10k

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 …

Member Avatar for drake10k
0
163
Member Avatar for rohit_static

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] …

Member Avatar for Adak
0
191
Member Avatar for wickedflo

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 …

Member Avatar for alaa sam
0
183
Member Avatar for daviddoria

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 …

Member Avatar for daviddoria
0
89
Member Avatar for ppohlmann

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" …

Member Avatar for Gerbiler
0
117
Member Avatar for Yutxz

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 …

Member Avatar for JamesCherrill
0
108
Member Avatar for indrajeet6

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 …

Member Avatar for Perry31
0
230
Member Avatar for daviddoria

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 …

Member Avatar for hielo
0
107
Member Avatar for joe00

where can I find a code/ready program in C++ graphics of a rotating body. appreciate your time.thanks

Member Avatar for joe00
0
78
Member Avatar for bleedi

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. …

Member Avatar for bleedi
0
1K
Member Avatar for PoisonedHeart

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 …

Member Avatar for AndreRet
0
108
Member Avatar for Mengha

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 …

Member Avatar for kramerd
0
6K
Member Avatar for sedalnas

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 , …

Member Avatar for pritaeas
0
458
Member Avatar for muthu1802

[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]

Member Avatar for Fbody
0
93
Member Avatar for chuck_1508

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 …

Member Avatar for Netcode
0
181
Member Avatar for TechSupportGeek

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 …

Member Avatar for TechSupportGeek
0
238
Member Avatar for BalagurunathanS

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

Member Avatar for @developer
0
1K
Member Avatar for sainigks

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 …

Member Avatar for Henzard
0
159
Member Avatar for genzoman

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 …

Member Avatar for genzoman
0
208
Member Avatar for rpk_Kannan

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?

Member Avatar for Netcode
0
143
Member Avatar for shenbagam

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

Member Avatar for Dragonbaki
0
128
Member Avatar for jlovesfishiee

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 = …

Member Avatar for Mitja Bonca
0
391
Member Avatar for sharifyboy7

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 …

Member Avatar for daviddoria
0
158
Member Avatar for HBK_100

[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) …

Member Avatar for daviddoria
0
111
Member Avatar for coxdabd

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"; …

Member Avatar for Dragonbaki
0
102
Member Avatar for irphan

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

Member Avatar for Dragonbaki
0
75
Member Avatar for gedas

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

Member Avatar for gedas
0
157
Member Avatar for Liviu0CODER

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]

Member Avatar for Liviu0CODER
0
145
Member Avatar for shenbagam

when i'm creating register form database was connected but cant able to store the values from form into mysql

Member Avatar for Dragonbaki
0
94
Member Avatar for Goddard

I am trying to display a report, but can't figure out how in vb.net and visual studio 2010...anyone care to help?

Member Avatar for Netcode
0
84
Member Avatar for Codeslinger

/*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 …

Member Avatar for apines
0
96
Member Avatar for Monkey-huh?

[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; …

Member Avatar for masijade
0
104
Member Avatar for problematic:)
Member Avatar for AndreRet
0
5K
Member Avatar for MyPianoSucks

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 …

Member Avatar for MyPianoSucks
0
191
Member Avatar for haojam

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 …

Member Avatar for haojam
0
690
Member Avatar for kako13

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]

Member Avatar for design324095
0
333
Member Avatar for kamohelo
Member Avatar for rpk_Kannan

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 …

0
51
Member Avatar for serph09

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 …

Member Avatar for javaAddict
0
166
Member Avatar for designershiv

$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 } ?>

Member Avatar for nonshatter
0
491
Member Avatar for mikesr

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) << …

Member Avatar for mikesr
0
126
Member Avatar for rony

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; …

Member Avatar for javaAddict
0
759
Member Avatar for blknmld69

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?

Member Avatar for javaAddict
0
107
Member Avatar for koushikroy1989

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, …

Member Avatar for javaAddict
0
142
Member Avatar for pinkannu

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 * …

Member Avatar for pinkannu
0
130
Member Avatar for saadi06

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(''); …

Member Avatar for saadi06
0
179
Member Avatar for problematic:)

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 …

Member Avatar for AndreRet
0
381
Member Avatar for soteri0s

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 …

Member Avatar for peter_budo
0
239
Member Avatar for ctaylo21

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 …

Member Avatar for janiquebroune
0
130

The End.