199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sjkisby

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 …

Member Avatar for sjkisby
0
140
Member Avatar for computers08

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

Member Avatar for Salem
0
95
Member Avatar for silvergirl

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

Member Avatar for JerryShaw
0
227
Member Avatar for guerreronoli

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 …

Member Avatar for Ezzaral
0
1K
Member Avatar for humera05

i want a coding of ping pone game in visual basic 6.0 giv a ful coding with description of ping pong game

Member Avatar for humera05
0
135
Member Avatar for crackers

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

Member Avatar for ZZucker
0
141
Member Avatar for yenyen

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 …

Member Avatar for unholysnake
0
288
Member Avatar for Mark@UKMB

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!

Member Avatar for Jx_Man
0
242
Member Avatar for mcgarry101

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 …

Member Avatar for mcgarry101
0
181
Member Avatar for celia05es

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 …

Member Avatar for digital-ether
0
164
Member Avatar for demroth

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 …

Member Avatar for demroth
0
150
Member Avatar for USUAggie

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 …

Member Avatar for sukatoa
0
146
Member Avatar for migsyandoc

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 …

Member Avatar for bcasp
0
175
Member Avatar for Croft .L

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!

Member Avatar for joshmo
0
131
Member Avatar for compovet

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

Member Avatar for majestic0110
0
114
Member Avatar for swapna7999

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 …

Member Avatar for amigura
0
102
Member Avatar for nurulshidanoni

How to do a selection sort? Which I want to sort in descending order this data 1 50 2 90 3 40

Member Avatar for Laiq Ahmed
0
90
Member Avatar for Cosa

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 …

Member Avatar for Cosa
0
113
Member Avatar for Taz 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

Member Avatar for javaAddict
0
255
Member Avatar for swapna7999

hi there in vb is there any possibility to get the ip of a system hope help thank u very much

Member Avatar for swapna7999
0
112
Member Avatar for seysmail

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

Member Avatar for seysmail
0
77
Member Avatar for Yogesh Sharma

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 …

Member Avatar for rayofhope
0
135
Member Avatar for Adrian99420

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 …

Member Avatar for Nick Evan
0
76
Member Avatar for kings

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

Member Avatar for queenc
0
95
Member Avatar for Carlo_g12

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!!

Member Avatar for rojiprajan
0
107
Member Avatar for zawpai

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

Member Avatar for zawpai
0
103
Member Avatar for wsn

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?

Member Avatar for wsn
0
104
Member Avatar for Icetigris

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 …

Member Avatar for Laiq Ahmed
0
106
Member Avatar for swapna7999
Member Avatar for swapna7999
0
58
Member Avatar for patrick91

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 …

Member Avatar for patrick91
0
224
Member Avatar for chunalt787

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 …

Member Avatar for chunalt787
0
82
Member Avatar for Sh13

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

Member Avatar for Sh13
0
153
Member Avatar for nurulshidanoni

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

Member Avatar for nurulshidanoni
0
104
Member Avatar for jimJohnson

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

Member Avatar for Ancient Dragon
0
228
Member Avatar for dpfaff

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 …

Member Avatar for Ancient Dragon
0
134
Member Avatar for Platinumempire

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

Member Avatar for Ancient Dragon
0
254
Member Avatar for marti3a3

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 …

Member Avatar for marti3a3
0
151
Member Avatar for ninjaimp

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

Member Avatar for Jx_Man
0
126
Member Avatar for Adrian99420

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 …

Member Avatar for Ancient Dragon
0
138
Member Avatar for Sh13

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

Member Avatar for Sh13
0
101
Member Avatar for VisActualyBasic

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 …

Member Avatar for VisActualyBasic
0
104
Member Avatar for wallaby34

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 …

Member Avatar for wallaby34
0
103
Member Avatar for gatsu

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&auml;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, …

Member Avatar for gatsu
0
103
Member Avatar for ebabes

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 …

Member Avatar for ebabes
0
94
Member Avatar for oldSoftDev

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 …

Member Avatar for jrcagle
0
100
Member Avatar for Designer_101

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

Member Avatar for Ancient Dragon
0
55
Member Avatar for roulette843

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.

Member Avatar for vegaseat
0
3K
Member Avatar for Designer_101

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 …

Member Avatar for Designer_101
0
116
Member Avatar for charitha_sharma

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 …

Member Avatar for ericstenson
0
86
Member Avatar for lbob

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 …

Member Avatar for ericstenson
0
103

The End.