199,114 Archived Topics
Remove Filter ![]() | |
Hello all, My final year at uni is looming and I've searched the web for some final year project inspriartion but haven't found too much. I study software engineering and have enjoyed web-devlopment the most so want to do a php/mysql maybe some ajax in there as well type of … | |
[code] int doubles (int d); int minimum (int m, int n); int oddEven (int a); int main () { int num, i, sum=0, num1, num2; for (i=0; i<5; i++) { cout<<"please enter a number. "; cin>>num; cout<<endl; sum= sum + num; } cout<<"the numbers added together is "<<sum<<endl; cout<<"the sum … | |
I've seen a million answers about StreamReader and how to write to a file, but NOTHING about how to read a file, do a mathematical process on what is read and write the ANSWER to that process in another file. I need this for homework, please. My code in C#, … | |
hello all, I created a program that connected to database!.... I've done to display all records from database in JTable..... but when I'm deleting a row it can't delete automatically it needs to close the program to update the JTable!.... here's my program!.... package classes; import javax.swing.*; import java.awt.*; import … | |
i want a coding of ping pone game in visual basic 6.0 giv a ful coding with description of ping pong game | |
Im writing a game of scissors paper rock and have come up with this so far, but i cant get it to work. any idea's where ive gone wrong. print \ ''' a - Rock b - Paper c - Scissors ''' choice1 = raw_input("Choice: ") print if choice1 == … | |
halo..i need some help on tis problem.. how to show the URL without .asp or query string with parameters behind? for example, i have a url string : [url]www.abc.com/abc/abc.asp?id=1[/url]. how can i display the url in tis format with out the querystring? example: [url]www.abc.com/abc/1[/url] please help on tis? i have … | |
On a button click how can i make text appear in a textbox For instance Click ButtonA input to Txtbox1 "test" The word test would then appear in the textbox. I'm sure this is easy but ya know! | |
Hi, I was on the forum yesterday asking for help with using command line parameters. As described I am new to vb.net programming, and I am stuck with what is probably a very simply problem. I am trying to create a vb.net program to which I will be passed parameters … | |
Hello, I have a js function that calls a AJAX function. Then, if the return code is correct, another AJAX function is called. It works perfectly with Mozilla but I am having a problem with Explorer... the 2nd AJAX call is not performed!!! I have put an alarm after the … | |
I have been reading older C programs to try and understand how to convert them to C++. One particular line of code still confuses me however. fscanf(fin, "%d", &n) I understand that fscanf reads from the stream (the file pointed to by fin), it reads the data which will be … | |
Hello all, Hello, I am having a problem with a java applet i created, a hangman game, but I am having a problem I hope you all could help me out with. I am able to run my applet in netbeans using f9 to compile and then shift-f6, and everything … | |
pls help me.. i have a program that have a database in ms access.. i haved already connect itto my ms access database but i cant save my data in my database everytime i click on my save button.. pls help me to know what codew will i write to … | |
Hi all! I just want to know a website or book that will start me with c++ programming. I have downloaded Microsoft c++ toolkit 1.01 2003 to start from so i have the place to start :!: Thanks! | |
I have a task of bank program . At the begining of the program it will requst from me to enter the user name and password I want the password to appear like **** I want your help ,I searched about it but I didn't find how | |
hi there when im trying to connect to a remote mysql server im getting an error i searched for it and i came to know that MySQL database server remote access disabled for security reasons by default and they provided with lot of steps to enable it the problem is … ![]() | |
How to do a selection sort? Which I want to sort in descending order this data 1 50 2 90 3 40 | |
I am trying to now multiply matrices stored in 2d arrays. When the program runs i get segmentation fault, using DDD i found the point where it stops after 3 loops. [code] int i,j,k; float** matrixc = new float*[rows]; if (matrixc != NULL) { for (int x = 0; x … | |
im doing a java project on creating a music database, i need to store an array of cd objects, each entry in the array will be a single object for a cd. The objects are: Artist, Album, No of tracks could sum1 point me in d right direction, thanks | |
hi there in vb is there any possibility to get the ip of a system hope help thank u very much | |
Hi everyone, I have a web page in my project which shows news and press releases of my client. I m showing the news page with headlines, pubdate etc. from a Rss Feed URL. I have used skmRss reader to read the data from the linke that returns Rss output. … | |
What is @@rowcount and with small code snippet explain the usage? Is the foll. code is rite-- Create procedure get_emp_count ( @emp_id int) As Select * from emp where emp_id =@emp_id If @@rowcount = 0 Begin Select 'no rows with emp_id= ' Select @emp_id End . Can u pls explain … | |
Hi, I created 3 combobox: comboBox1, comboBox2 and comboBox3. I wish to select the require combobox according to different case. I tried to use comboBo(i) but it return me error.For example, [code] for (int i=0; i=3;i++) { textBox1->Text=comboBox(i)->SelectedItem->ToString(); } [/code] The code return me error on selecting "comboBox(i)". I knew … | |
hi i have a application where i want the user to click the button only once.i want the user to have time interval(eg 5 sec,before tat if he tries to clickit should display pop -up thanks | |
hi! can u help me with my popup window? my goal is to display the window then inventories are in critical level. i made the form but im having a hard time showing it when in critical level. thanks!! | |
Hi, I would like to put 'user name' and 'password' before executing my project, but I really don't know how to do it. Could anyone give me a guide line to do this? Best Regards, zawpai | |
Is the difference between the execlp execvp calls and execl execv, is that execlp execvp have the advantage of specifying a file name instead of a path name what makes these two functions better to use over execl and execv? | |
I'm trying to write a data structure for a basic 3D engine, but for some reason it always crashes when I try to add an index to the polygon vector. Anyone know what may be going on? Thanks [code] #include <iostream> #include <string> #include <iterator> #include <vector> #include <gl/glut.h> #include … | |
is it possible to capture images using php plz help thank u very much | |
hello I've this python code: [CODE=python]import wx class MyFrame(wx.Frame): def __init__(self, parent=None, id=-1, title=None): wx.Frame.__init__(self, parent, id, title) self.panel_1 = wx.Panel(self, -1) self.panel_1.Bind(wx.EVT_PAINT, self.on_paint) self.image = wx.Image('foto.jpg') # Menu Bar self.frame_1_menubar = wx.MenuBar() self.File = wx.Menu() self.Test = wx.MenuItem(self.File, wx.NewId(), "Test", "", wx.ITEM_NORMAL) self.File.AppendItem(self.Test) self.frame_1_menubar.Append(self.File, "File") self.SetMenuBar(self.frame_1_menubar) # Menu Bar … | |
I am trying to add sound into a whack a mole game for my C++ 101 class. I found this code on the internet [code]PlaySound("woofwoof.wav",NULL,SND_NODEFAULT);[/code] to add code and have it work the site says this: "It's defined in <mmsystem.h> and you have to link with winmm.lib." What does it … | |
I feel really stupid by asking such question I have the following code [code] char choice; while( ( choice = MenuChoice() ) != 'QUIT' ) { PrintMenu(); { switch (choice) { case STRING: case 's': checkInput(strings); break; case QUIT: break: default: break: } } } char MenuChoice(void) { char menuchoice; … | |
How to declare the array and read the array? Must I use data structure? [U]Two array[/U] 1 30 2 20 3 10 4 50 5 15 | |
I am writing a function and need to calculate the median...I am gonna b honest I absolutely have no idea how to start this but it is pretty much one of the last things I need to do with my program. Any advice would br greatly appreciated..... [code=c++] #include <iostream> … | |
I cant figure out how to fix the errors in this prooram. Any help would be great. [CODE=cplusplus] // date: April 25, 2008 // username: dpfaff #include <cstring> #include <fstream> #include <iomanip> #include <cstdlib> #include <iostream> using namespace std; const int MAXCHARS = 25; const int MAXSIZE = 6; typedef … | |
I would like to know if you can measure execution time in nanoseconds - I have the following source code, however the time is measured in milliseconds. Help If You May ! [code=c] #include <stdlib.h> #include <stdio.h> #include <windows.h> #define NUM_ITEMS 500000 void quickSort(int numbers[], int array_size); void q_sort(int numbers[], … | |
I'm trying to implement a menu choice, so the user can define what kind of triangle they have, with the focus on class implementation. I'm trying to define a class attribute that offers the choices, but then depending on the choice, sends the compiler to the appropriate attribute. Example: [CODE]int … | |
I have a listview which is populated with values from a data base. What i am trying to do is select an item from the listview via a checkbox and then have that value displayed in a listbox. But everytime all that is displayed in the list box is: (Collection) … | |
hi, I link up a combobox item with a MS access database by setting the data source and display member of combobox properties. However, I wish to filter some repeated item in the combobox, how can I do that? For example, my MS access table contain value as follow: profile … | |
Hi, I read in data from a file something like this in my main function text text texttext texxttet texet [code] char **array; ifp = fopen (filename.txt , "r");[/code] then I allocated some memory using malloc [code]for(i = 0; i < 3; i++) { array[i] = malloc(50 * sizeof(char)); } … | |
Hi all, I have problem with Counting running sum. intDiff = days different between two dayTimePickers If I click btnOne this will change my dateTimePickerToday to next day and increase intDiff to 1 I want to use intDiff as counter when ever i check some checkboxes to count total of … | |
Still in a VERY steep learning curve with MS Access 2000 / 2003 Main Table has LastName - HomePhome - MobilePhone plus others of course Some rows will have no entry in the HomePhone field but will have one in the MobilePhone field. I am trying to set Query criteria … | |
Hello, why wont this code give my "Rubrik" a link with its ID? I only get "www.yada.com/open.php?id=" [code=sql]<a href="skapaannons.php">Lägg till annons! </a> <?php $con = mysql_connect(" "," "," "); if (!$con) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db("annons", $con); $result = mysql_query("SELECT annons.id, annons.datum, annons.rubrik, annons.pris, … | |
I had been using my local phpmyadmin for the past few days and its working. But suddenly, I can't access my local phpmyadmin and got this error [COLOR="Red"]"Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server". [/COLOR] I … | |
hi I am a beginner python user studying python is fun and i have learned many thing now a days I am working on a program to find prime numbers and non prime number in a list generated by range function. i am done with my work the problem is … | |
Hi Im currently a web designer, but i want to get to grips with software development aswell. Could anyone tell me what i need to get started. For example -Software -Usfull tutorials -Testing Pods (if you use them?) Anything like that would be of great use. Thanks | |
I want to create a method in Python that will read all of the text on a webpage and put it into a text file. Eventually I will have it distinguish between hyperlinks by having it exclude lines in the text containing href="....." Any help would be greatly appreciated. | |
Hey Im having this problem, im sure theres a simple solution, but i cant seem to see it :D The code bellow is part of a regestration form validation. Basicly when i ask the database if anyone else exists with the same username, password or email address - it works … | |
Hello all i am deadly needed this please any one have idea let me know my requirement is i am having 4 client computer and one server my form1 have 10 buttons ( all client computer has the same form installed vb form on client side and database on server … | |
Hi I've got a datagrid that I'm populating and depending on the data returned depends on what button I add. That all works fine until I click on the button and it posts the page and loses everything. Basically I can't get the button to fire. Please help! Lbob This … |
The End.