199,114 Archived Topics
Remove Filter ![]() | |
ok so i need a simple php script, i will give credit to anyone who helps :) --------- cam.php?camera_ip=192.168.2.115 when page loads it loads a windows media player applet thing viewing the media stream at 192.168.2.115 and if its changed to cam.php?camera_ip=192.168.2.169 then it views stream at 192.168.2.169 i need … | |
a) Suppose we have an unsorted array of size ānā and we want to find a middle element of the array. Describe an algorithm which will take O(nlogn) time.(just a paragraph of maximum three lines). b) What will be the upper bound to choose middle element, if array( in part … | |
I am trying to create a simple program to read in words from a file, count the words, and output a histogram of word lengths normalised to 1. I am having trouble reading in the words from the file. If anyone could help, it would be greatly appreciated. Regards Kevin | |
Dear All. I have a small problem with the code attached. I am trying to add an object to a linked list. When I try to compile I am getting an error. For the life of me I cant figure out the error. this is after 5hrs of head wrecking … | |
[B][I]MSSQL Where Statement Problem[/I][/B] [COLOR=BLACK] [LEFT]I want to select all in a column if variable = null I am placing a php variable in there and i know how to do that so i no that is not the problem but i want a where statement to return all rows … | |
Situation table1 has 2 columns: userid and requiredInfo It will have an entry for every user table2 has 2 columns: userid and optionalInfo It will have entries for some users but not others Problem: need a statement that returns either userid, table1.requiredInfo, table2.optionalInfo --if table2 has an entry OR userid, … | |
PLs could somebody tell me how in MS SQL set the default value of a column as the sum of 2 columns column3=column1+column2 where column3 is bigint column1 and column2 are int column1 is primary key with identity incresed by 1 if posibble column2 is a column from another table … | |
I'll be visiting the Delphi 2006 launch in the Netherlands on the 29th. First time to meet DavidI and other dignitaries in several years. | |
Im lost on how to install a forum on my website, my hosting offers it but i cant figure out how to get it on my site. it would be great if someone could help me gettin a forum on this site [url]www.Nexzani.com[/url] :cool: | |
hello people... I don't know what to do and how to do to improve my programming skills. i really need your help , advice and suggestions... you see i have been studying programming for a few month and since the time i started i just read and had very few … | |
I'm working on a program where you find any path through a graph. When inputting the graph using an array, I found the number in position[0][8][9] gets set as 1 rather than 0 after position[0][9][1] is read in to memory. I've tried both gcc 3.3.2 and 4.0, and get the … | |
ok so here is what im doin. Given a square matrix, write a program that determines the number of white(numbered) blocks and total number of squares in each of the white blocks. By definition, the outside boundaries of the matrix must be shaded(0). A block of white squares consists of … | |
I am trying to use distutils to install a pyhon module. below is an idea of the code I want to use [code] #!/usr/bin/env python from distutils.core import setup setup(name="freevo_cropit", version="0.1", description="A Freevo plugin for wirting mplayer config files", author="me", author_email="shane@test.com", url="http://test.com", py_modules=['cropit.py']) [/code] I have the cropit.py module in … | |
Can anyone tell me where i can find better instructions for installiation of php on a Fedora 4 Linux as the ones that are provided on php.net are not very clear. | |
I have a simple plane object with public datamembers of a flight number and a pointer. I am successfully adding "planes" and deleting "planes," however when I try to move one up a spot, though it compiles well, I seem to get memory crashes. Here is my bump function that … | |
i try to write a program using class that take number of particulars of sibling and take the name and age of each particulars from user and allocated seats. but my program has some error and does not compile and run. my code is: //header files #include<iostream.h> #include<conio.c> //class definition … | |
Hello, instead of using an array of objects I'm wanting to use an link list of objects. Could anyone point me in the directions? One class is called: Personal information... The other is my link list. I'm stuck on how to get the link list to take an object as … | |
Here is my code so far. I'm not sure what I'm doing wrong, but I cannot get it to compile. Incompatible Types (Lines 90 - 92) . Please Please Help. My ultimate task is to write an Applet Mortgage Calculator. import javax.swing.*; import java.awt.*; import java.util.*; import java.awt.event.*; import javax.swing.JOptionPane; … | |
Hello: I have a question regarding struct when making hash buckets eg. typedef struct _hashNode { void *key; void *value; struct _hashNode *next; } hashNode; let's say when I create the table: hashNode *nodeList = (hashNode *)malloc(sizeof(hashNode) * 200); This is because I want a fixed list size and then … | |
Hello, I start learning Python GUI using Tkinter as IDE I'm using wing IDE 2.0.3 trial. I'm using Tkinter mainly because of very good debugger. Belive it or not I get exception in this code: [code] from Tkinter import * root = Tk ( ) my_container = Frame ( root … | |
This code is written in VC++.NET. I have a windows form that display data from a socket port using callbacks. I have main.cpp that calls Application::Run(new Form1). The socket processing code is currently in the Form's file. I want to separate the Form1 from the socket processing code. Put the … | |
If you would be so kind to go to this url, where I have already posted my problem and give me some tips on this forum or on the one already posted: [url]http://www.linuxquestions.org/questions/showthread.php?s=&threadid=387067[/url] Thanks in advance, P.S. This is really urgent, and it is probably a small problem. Some updated … | |
I really need help. I did the code, but I know it is all wrong. I am not sure how to fix it. This program has boggled me for a week. I am watching the growth of the function. First I have to calculate a function after entering the value … | |
What exactly is the purpose of the scope resolution operator? I can't seem to find anything in my book telling exactly what it does. It just seems to dance around the subject somewhat. | |
'FromYear is the year entered by the user, extracted from the full date. 'if its not a leap year and the month is february and the user chooses the 29th of Feb the day must be overwritten with the 28th. 'if it is a leap year then it must start … | |
Hey y'all! I'm fairly new to internet programming, and I'm surrently developping my first socket app in Java.. Now I have a question... I wrote a simple chat client to learn the commands, it uses a datagram socket (that's what I want to stick with for now) and sends/recieves messages.. … | |
I'm having problem loading a java gui into a html page as an applet. I believe the problem is the init method. this is the first time i've had to make one and i don't think i did it right. here is my java code: [HTML]code[/HTML] package gui; import java.awt.*; … | |
Hi, folks I'm really having a bad time learning Tkinter. I started this morning and it was gooing pretty wel, but I cam accross this problem. How to make application windows of fixed size i.e. maximize button in the title bar is disabled? And also is there any way to … | |
Hey everyone, I'm just wondering if anyone knows of any cool examples of a Java based multimedia program (besides the one that comes in the JMF). I have seen some pretty basic ones, but I'm wondering if there are any out there that are at the level of Winamp or … | |
I been working on this little program that would allow the user to reference this custom playlist file. The playlist file is a simple text file with a list of music files on a URL: [code] http://www.whatever.com/a.wav http://www.whatever.com/b.wav etc... [/code] Basically what the program would do is ask the user … | |
i try to write a project program about stack. i degined In stack.h templates for stack, push and pop, and defined two stack objects one for integer and other for Float in main.cpp to get following types of output, but my but program does not compiles and give error. source … | |
Are there any good tutorials out there that explain adding objects to a single linked list. All I have come across are linked lists involving "structs". regards T | |
Hello all. I have a small homework problem to write, and I could use a little help, someone to guide me in the right direction. I need to write a program that asks the user to enter the filename, and then enter the string to search in that file. If … | |
Hey!! Ahh, all day I've been trying to learn something new, so reading over tutorials I compiled my first socket app!! The only problem is, it isn't working the way I would like it to, and I was hoping you gyus could help me figure out the problems.. I appologize … | |
Hi everyone, I am trying to make a php web page that displays images. Is there any way I can use php to look at what is in a certain folder(that only contains images) and then have it write html to display all the images from that folder on the … | |
Additions to Phase 1 Transactions Each account stores transactions information (the type of transaction (e.g. withdrawal, deposit ā¦etc), the amount, the time of transaction and any additional information you think is important). When any transaction occurs this transaction is recorded in the account. So each account has more than one … | |
i do not want to use strcmp() so i made it myself. here is my code: [code]#include<iostream.h> #include<conio.h> #include<stdio.h> int main() { char pass[50]; int strcomp(char pass); cout<<" ENTER THE PASSWORD "; gets(pass); int m=strcomp(pass); if(m==1) cout<<" congrats! correct password "; else cout<<" sorry wrong password "; } int strcomp(char … | |
What is the easiest way of installing wxPython on Mandriva LE 2005 ? I have tried it several times but didn't worked. ( I am not a Linux guru ). I just want to see if the simple programs I've made runs on linux to. Also tried Kubuntu but tha … | |
ok, on a button click how could i have the listview selected item jump to the next. so if there was a list view with 3 items and the second was selected. On a button clickhow could i make it jump to the third? -T | |
[code] //Calculator Revision to say error when invalid character #include <iostream> using namespace std; int main() { cout <<"Welcome to the 1.1 calculator by Niklas Kunkel"; cout << "\nPlease enter 2 numbers and press enter after each number"; float num1; float num2; char op; float result; char again = 'y'; … | |
Having strange behaving programs,at the bottom you can find them, but here is short explenation. Main program will present a menu from which you can pick operation to do. When I choose 1 it is suppouse to create file of certain name(not exactly, you have to complile score.c program and … | |
I was browsing around and came by this site and saw a very cool effect. [url]www.mininova.org[/url] Type a letter in the search box and they display the most recent results by other users. What is the best way going about getting this effect. I havent looked into AJAX yet. Is … | |
[B]Intro[/B] This is one of the fastest (and raw) ways to process form information from a web page. We assume that you have a form setup with Dreamweaver or a html editor. [B]Getting started[/B] In the $_POST global variable the results of a submitted from are stored (normally when someone … | |
Hiya this is Brims i need an idea for a final year project computer science, nothing too hard time is running out. I want to use either php or asp with database cant seem to think of any applications can someone help please :cry: | |
i want to break the word for example Health-and-Fitness:Weight-Loss i ant to break into two parts healt-and -fitness and weight-loss weathei have to use str_split. if i use it is not spliting any bodu please help me | |
Hello all, I have posted many times questions about Java related topics. This would probably be one of my few C++ postings. The problem I am having is printing out the contents of a vector declared in a class, and inherited in other classes that need to access it. I … | |
[code]#include<iostream.h> #include<conio.h> int main() { int a[10],temp,bak; cout<<" enter the elements "<<endl; for(int i=0;i<5;i++) cin>>a[i]; int m=a[0]; for(int j=0;j<5;j++) { if(a[j]>a[j+1]) { temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } cout<<endl; for(int k=0;k<5;k++) { cout<<a[k]<<endl; } getch(); }[/code] | |
I've recently swithed from borland C++ 5.5 to MinGW. When I try to compile a .c file using gcc it compiles fine, but when I try to compile a .cpp file using gcc it produces a bunch of errors with c++ specific constructs. If I compile .cpp files with g++ … | |
Hi everyone, This is not exactly a question but something to lighten everyone's mood. You see some days back i had a programming program i could not solve and its rather tough as it had to do with graphic rendering. It was getting late so i decided to pack up … | |
I am a final year computer science/networks student, i am going to hand in my final year project, and i was thinking of creating an online learning system which would include a database for storing student and staff details. Please i need ideas on what i can add to my … |
The End.