199,114 Archived Topics
Remove Filter ![]() | |
I have been working on a questionnaire results page which takes the values from the questionaire on the previous page, calculates a score then plots their results on a grid. this all works fine, what i am a little baffled about however is, how do i dynamically add table rows/cells … | |
hi these are some variables: [code] struct TIJDSTIP { int dag; int beginuur; int operatiekamer; }; struct ALLE_PATIENTENDATA { int nummer; char naam[20]; struct TIJDSTIP tijdstip ; int leeftijd; int discipline; }; [/code] first I only fill: nummer, naam, leeftijd and discipline (so the main strucure) using scanf. example: [code] … | |
Hello there, basically i have 3 problems that have been driving me crazy all day long! firstly the div layers that i have set to dynamically display depending on input from a previous page will display in firefox, but wont display in internet explorer 6? this is a little confusing … | |
I am trying to write a recursive function that will produce a fractal snowflake, but am not getting the correct results. For some reason it gets caught in an infinte loop, but I cannot figure out why. Any help is appreciated. [code] [COLOR=#941edf]private[/COLOR] [COLOR=#941edf]void[/COLOR] recursiveDraw([COLOR=#941edf]double[/COLOR] x1, [COLOR=#941edf]double[/COLOR] y1, [COLOR=#941edf]double[/COLOR] x2, … | |
Hi all, I download JOnAS 4.8.4-tomcat5.5.17, APACHE Ant 1.7.0 and installed by setting JONAS_ROOT and ANT_HOME. When i check the environment using "jonas check" I'm getting following message [B]" The system cannot find the path specified. The system cannot find the path specified. JONAS_BASE is set to '-Dinstall.root' is not … | |
Hello all im new member and newbe abiut programming. i'd like to ask about this program. [CODE]when i run the script it show like this : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rekor/public_html/admin/top.php on line 6 You are not an administrator[/CODE] here the script … | |
I have a program that displays its results in this manner. I added the results in an array this is what I got. [code] [20] [35] [40] [84] [100] [245] [260] [300] [440] [521] [650] [/code] How can I put it in this way ['20','35','40'] i used append but it … | |
Hi Pls tel me how i can host my own web site in my own server. I am using jsp, html as my front end and Mysql as my backend and Tomcat as my web server | |
I'm learning Java right now, and one of the projects I've been working on as practice lately is just a simple text editor (using Swing). The one thing, though, that I can't for the life of me figure out, is how to add scroll bars to the text box if … ![]() | |
Have gotten the select statement and Update statement to work separatly, but need them to work on the same page and cannot seem to make it happen. Here is the current state of things. Any help would be appreciated. [code=asp] <% Dim conn,rs,strsql,sql_update,ssn,cps strsql = "Select SSN From CWCT07 where … | |
I have a spreadsheet that has many rows and columns of data. Also, 20 fields need to be evaluated with around 15 variables. If I were to create a program that filters this data and finds the lowest cost option, how would I go about doing that? I have heard … ![]() | |
Hi everyone! Im stuck... I'm currently writing a GUI program to control a piece of machinery. I am using wxPython along with a few other bits and bobs including USPP for serial access. My problem is that i need some way of 'pinging' the machine. ie I want to be … | |
I am doing a project for my VB.NET class and I am a complete beginner, so please go easy on me :) I have a windows form that will collect information from a user. When they click a button, I want to display all their information in a completely new … ![]() | |
I have a problem creating a ODBC connection. I am using MS SQL server 2000. Local access. I create it in System DSN. 1. I select the "With SQL Server authentication using a login ID and password entered by the user rather than Windows NT. But the error message occur … | |
Aright, now all of you might be tired of my sometimes info-lacking posts about binary files. ... but I have another quick question: How do I write and read a double in a binary file? Code as simple as the following does not work (which is the usual code for … | |
Does anyone know how to make a console application open in fullscreen mode...Iv searched google,yahoo,MSDN, and other fourms and there was no specific C++ code for a console app fullscreen mode...Does anyone by anychance have an Idea on how to go about this?? :mrgreen: | |
For a univeristy project I am creating a basic cd player that will generate 3D objects and animate them. The idea is to bsae the objects on the music playing. I've written a simple CD player using MCI calls etc, and have created a graphics framework using directx to render … | |
hey people!! how are you all? I need some help here: 1) is there any way easyer to do this: [code] [COLOR=#008080][COLOR=#008080]DataSet[/COLOR] DS = [COLOR=#0000ff]new[/COLOR] [COLOR=#008080]DataSet[/COLOR](); [COLOR=#0000ff]foreach[/COLOR] ([COLOR=#008080]DataTable[/COLOR] t [COLOR=#0000ff]in[/COLOR] DS.Tables) [COLOR=#0000ff]foreach[/COLOR] ([COLOR=#008080]DataRow[/COLOR] r [COLOR=#0000ff]in[/COLOR] t.Rows) [COLOR=#0000ff]foreach[/COLOR] ([COLOR=#008080]DataColumn[/COLOR] c [COLOR=#0000ff]in[/COLOR] t.Columns) CBx.Items.Add(r[c]); [/COLOR][/code] 2) how can you order a combobox … | |
[CODE]#include<stdio.h> void myalloc(int **b) { *b=malloc(sizeof(int)); **b=10; printf("**b=%d\n",**b); } main() { int *a; myalloc(&a);// is this convention is correct? printf("*a=%d\n",*a); }[/CODE] i have not initialised *a. can i pass the &a(address of a pointer) without initialising it. Please look at my small program and help me out. is it a … | |
Anyone know of a database app which stores records in html format on the web server and nt in a sql server. I have a spacific need for this. Or does anyone have code that will take records from a Mysql database and copy each record to a seperate html … | |
[CODE] #include <iostream> using namespace std; #include <string> using std::string; using std::getline; int main () { char string1[256]; char string2[256] ; cout << "\nPlease enter the first array string: \n"<<endl; gets (string1); cout << "\nPlease enter the second array string: \n"<<endl; gets (string2); int length1 = strlen( string1 ); int … | |
I have a project that I am working on for 5 days, and I am stuck. I have been able to generate some numbers, but no based on the instructions below. Can you please provide some assistance on what I missing and what I need to do to get this … | |
hello currently i have joined in a software company in bangalore. i have knowledge in jsp and servlet. in my company core java is needed. i dn have tat much knowledge in java . kindly help me to get source code from online. wat r the websites available. how to … | |
[code=cplusplus]/*Make a program that allows the user to input either the radius, diameter, or area of the circle. The program should then calculate the other 2 based on the input. (Beginner)*/ #include <iostream> using namespace std; #include <cmath> int main () { double pi = 3.14159265, radius, diameter, area; char … | |
:-|Hi all, I'm new to programming and I've been learning on my own. I seem to be writing way too much code for simple exercises. I just finished one where all they wanted was to convert your change into a total dollar amount. I went ahead and created a method … | |
Ok i just started c++ with no knoledge about any other programming language, so bear with me. I am trying to make a simple program that you enter a password and if it is correct, it says welcome. If it is wrong, then it says try again. Simple? Well when … | |
Hi all, we al know the preffered load address of any proj is 0x00400000 and DLL is 0x10000000. now if the OS is unable to use this address it relocates the project. now i have a need to use the Rva+Base address of all the methods available in a class … | |
I need someone help me and share a programe 2 me.Help me... ok... Peace..:sad: thanks for your idea... | |
Hi folks, I need some help with A javascript thats basically a spam/swearword filter. Its designed to disable the submit button if a matching word from an array is found. heres a working example [code]<script language="JavaScript1.2"> // Word Filter var swear_words_arr=new Array("silly","crap","idiot","http"); var swear_alert_arr=new Array; var swear_alert_count=0; function reset_alert_count() { … | |
I was trying to do AVI from openGL on my computer and decided to try out lesson 35 of the NeHe tutorial: [url]http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=35[/url] Well I tried using my own video, and I tried using the video (Face2.avi) he supplied, but both of them crap out on this line: pgf=AVIStreamGetFrameOpen(pavi, NULL); … | |
Hi! Here's my code: [code] for(i=0;i<N;i++) { for(j=0;j<M;j++) printf("%4.2f ",mat[i][j]); printf("\n"); } [/code] I want it to look like this: 68.85 52.25 32.00 -100.00 -632.25 -26.56 Instead I get: 68.85 52.25 32.00 -100.00 -632.25 -2.56 For life of me I can't remember how to get th alignment right. Anyone? Thanks | |
![]() | I have custom updates that need to be pushed out ever so often and need all receiving PCs to be booted up. Unfortunately, end-users will shut down their computers when they leave for the day. I need a way to (based on the MAC address) boot up a PC. All … ![]() |
what is the best way to develop a database for a survey? How should I name the columns in the database? I have an survey to develop and some of the questions have up to 80 answer options + quantity for the options. For example, I have a list of … | |
Hi I just want to get datas of three months of specifying year. I want to give input from two check boxes , one for month and the other for year. Now i want to retrieve datas from database which is in there already. Can u help me out........???:sad: | |
i am coding illiterate. is there a simple way add a voting poll form to my webpage? i am using a free one without ads, but want my own. i have cpanel. | |
Hello everyone. What are the disadvantages/shortcomings of object oriented Programming?:eek: | |
OK, here is my c++ program that i made with "Visual C++ 2005 Express Edition".... [code=cplusplus] #include<cstdlib> #include<ctime> #include<iostream> using namespace std; int main() { cout << "Welcome To Danny's Game!.\n"; cout << "See if you can beat me.\n"; cout << "The First number below is your number.\n"; srand((unsigned)time(0)); int … | |
Hi, I want to learn how to build web services with java. I am starting out by installing all the neccessary software. I am following directions from a book. However, tomcat is installed twice in the book's example. The first set of direction is labeled Servlet container and tomcat is … | |
Hey, I created a little form for my sister to use to create her eBay pages on the fly. Basically she inputs the background colors, text colors, description, pictures, all that jazz, and the form generates the html with the information she provided. I want to make it easy for … | |
Hello ladies and gents, Ive got an exercise in which I have to fully parenthesize expressions using the higher-lower precedence, for instance: a+b*c would become (a+(b*c)) because multiplication has a higher precedence then addition. Here are my solutions for the following expressions: 1) a = b + c * d … | |
[CODE]#include <stdio.h> int main() { double first_def; double secnd_def; int fibcount; int max; double curfib; int N; printf ("Please enter the number of loops (int value)... "); scanf("%d", &max); if(max <= 0) { printf ("Number must be greater than zero... seting to default 20\n"); max = 20; } first_def = … | |
There is a querysting for example abc = "<a href=test_table.exe?PFolder=" & oPFolder.Name & "&SFolder=" & sfolder.Name & "&oMails=" & fItem & ">" s.WriteLine(abc) this oPFolder.Name and sfolder.Name contains some words with spaces. suppose oPFolder.Name is Personal Folders and sfolder.Name is Deleted Items. s is the streamwriter for htm page. When … | |
I'm really need help with this one. Im totally lost. I have to crete a class that models a Library. It lets the user add, print, borrow and return books to the Library. I guess my problem is that I really do not understand arrays. I needs to create a … | |
hey i am a 1 st yr college student in my country and im findin c++ programmin 2 b difficult n i found this site n i wud like to know if ne 1 here can help me with these 3 programs? 1. write a program that prompts for and … | |
Hai friends I am using array "name " field for example <input name="prod_image[]" type="file" class="Textfield" id="prod_image[]"/> *</td> When I try to validate the text box NULL or not using Javascript ,I unable to validate Please any one advice me __________________ | |
My javascript code works in IE but not in Firefox. Is there anyone that can help with this. If so, I can post my script and see where the problem is. I haven't used javascript for long so my experience with it is limited. Cannot figure out what it is … | |
I'm trying to design a site that makes use of the [B]window.open()[/B] javascript method by opening certain links in a new window with a specific pixel size and position onscreen, but Internet Explorer (with default security settings) blocks most attempts...Is there any way around this, to let IE know that … | |
ok, i really want to learn how to use c++, but i can't find a site to download it from!! so if yall can be kind enough to list some sites that would be awsome!! :lol: | |
I have to rotate numbers an array. Example:`{5, 6, 7, 8} ==> {6, 7, 8, 5}{5, 6, 7, 8, 9, 10} ==> {6, 7, 8, 9, 10, 5}` This is what I have. It works for the most part to rotate the numbersbut I can't seem to rotate the first … | |
Is there any component in delphi 7 for magnetic strips (atm cards). Any one please help. |
The End.