199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for BrettH

Hi, So, I'm working on some PHP scripts, and I never noticed this happening before, but on all of my PHP scripts, any POST variables automatically become regular variables. For example: If I have a post variable $_POST['firstName'] passed through a web form, and then I look at the variable …

Member Avatar for BrettH
0
86
Member Avatar for luke77

Hi guys, I'm working my way through the Project Euler problems to help teach myself programming, so I'm looking to write a function that will return all possible permutations of a n digit number so that I can test for a condition on each permutation. So, for example, if the …

Member Avatar for luke77
0
124
Member Avatar for nitric0

hey guys, i'm really stuck on this program. It's basically a survey and I have to ask people what drinks they like. 1-4, coffee tea oj and lemonade. i'm having trouble counting the TOTAL NUMBER OF PEOPLE and counting how many people pick coffee tea oj or lemonade. i have …

Member Avatar for Alex Edwards
0
123
Member Avatar for Jacky1

I need some help with code after a Single step through lines 1-5 using uVision2. Will the entire code segment be executed with the current values in P0? Why? Alter the value of P0 within the debugger to enable the program to continue execution. Single step through lines 6 and …

Member Avatar for Colin Mac
0
119
Member Avatar for BestJewSinceJC

All I can think is that there's something fundamentally wrong with how I programmed my GUIs. I have a program that initially displays a GUI which has 6 buttons. Each of these buttons, when clicked, displays a GUI. One of these GUIs in particular is a JTable of "Teams". Each …

Member Avatar for BestJewSinceJC
0
776
Member Avatar for graphpaper

Request for help from Python beginner: I don't want you to do the work for me, just some help to know where my mistakes are and how to correct them. I am trying to code a program to convert any decimal number into binary. In the case of an infinitely …

Member Avatar for graphpaper
0
122
Member Avatar for rapture

ok, I'm asking another question now.... Previously I had code to add the requester and asignee emails, if the are both empty then I need to build the list. Here is my code: [code] private string BuildUserList(int p_intSendToRoleID) { DataSet dstUsers = new DataSet(); …

Member Avatar for rapture
0
128
Member Avatar for mathrules

I am writing a program that reads words from a file and uses a binary search to determine how many compares the program does while searching for a word that the user inputs. I got everything worked out except an issue I am having with me if statment in my …

Member Avatar for mathrules
0
121
Member Avatar for onidarksheik

Like a lot of people here I'm fairly new at using Java and I'm having difficulties using equals (==) statements. I need need to use the if statement to say "Do you have any data to enter?", if (input == "yes") then continue with the loop. obviously this doesn't work …

Member Avatar for onidarksheik
0
125
Member Avatar for MDGM

Hi all, Iv looked at quite a lot of forums and cannot get the code to work properly for searching multiple search terms. I have tried exploding the search string and then doing a search similar to this: WHERE fullname LIKE '%$1%' OR fullname LIKE '%$2%' but it has not …

Member Avatar for MDGM
0
178
Member Avatar for begyu

Hi all, I have a .cpp code which reads a matrix from a .dat file and compute their eigenvalues. But I would like to read more matrices from the file not only one, and get the eigenvalues in the similar way. Please help to solve this, I stuck at this …

Member Avatar for Lerner
0
276
Member Avatar for dimension

Hi, straight to the point, i'm working on my digital clock project using Flite 68k microprocessor. About a week now thinking what is wrong with my coding. The problem is as i run the coding it will state *** ADDRESS ERROR - ACCESS = 00400587 . Im a newbie,so did …

Member Avatar for Colin Mac
0
149
Member Avatar for DemonGal711

Dumb question really but still wanted to know. In Microsoft Word, they give you some symbols like the arrows (← ↑ → ↓) and black space(█)which are not in ASCII. Is it possible to some how tell the compiler to use these symbols even if they aren't in ASCII? If …

Member Avatar for DemonGal711
0
88
Member Avatar for Stefano Mtangoo

I was playing with wxpython Demo and wanted to go on playing with Rich Text. I found this: [CODE=python] self.MakeMenuBar() self.MakeToolBar() [/CODE] when I tried to make my own editor and call those two methods I get error. Can some one help me to explain out those two methods and …

Member Avatar for Stefano Mtangoo
0
88
Member Avatar for rapture

I'm having problem in my conversion of a case statement from VB.Net to C# and need some help. I'm not reading the right material or I'm missing something somewhere . . . Here is what I have: [code] switch (true) { //Case strRequesterEmail <> "" And strAssigneeEmail <> "" case …

Member Avatar for rapture
0
100
Member Avatar for arunkr6

I am new in VC++. As to modify a software,I have to read contents of an .xml file. From this data I have to manipulate further, While I tried it by copying to a CString, it reads by word by word(cuts at spaces). But I need at least a line …

Member Avatar for Ancient Dragon
0
90
Member Avatar for Liszt

I am working with the backgroundworker and the datagridview. I have noticed a difference. I have put a loop that puts a value to one cell in the datagrid first in a buttonevent. After this loop is finished wich creates a timer textfile that tells how long the process did …

Member Avatar for Liszt
0
294
Member Avatar for polo_coins

I want use this option do I must know how to add DLL files ? Thanks Sergey:idea:

Member Avatar for polo_coins
0
65
Member Avatar for ahfan_85

Hi,dear all... Im new to C and to this discussion forum. i hv a problem here,which is an array passing problem. int calAge(]) doesnt work well. i tried to look from the internet for reference but get nothing. can u all help me to check it out?coz im not familiar …

Member Avatar for ahamed101
0
109
Member Avatar for concavang
Member Avatar for gbengazzee

Hi, House, I'm new to this house, i am computer science student in Nigeria. Please i want any one in the house to recommend a textbooks or any materials that will get me started on the following courses: FORTRAN BASIC ALGORITHM I appreciate ur responses. Thanks.

Member Avatar for Salem
0
68
Member Avatar for lllllIllIlllI

Hi I have been mucking around with VPython for a bit now and i can use it for basic 3D Python but i have not yet worked out how to do things that arent the usual, add square, add arrow, add sphere. So i was wondering if it was even …

Member Avatar for ZZucker
0
527
Member Avatar for AON07

Okay i'm getting the basics of php but I have no idea where to even start to code this idea... I have a database "DB_Name" and a table "images" This table has the following columns (id, category, image name, image path, caption) Keep in mind all my images are stored …

Member Avatar for AON07
0
1K
Member Avatar for jcafaro10

Does anyone have a good beginner resource guide to regular expressions in Python? I'm used to them in java. For example, in java I have some regular expressions that look like this: [CODE] PUNC_MATCH = "[\\d\\p{Punct}]+" PUNC_PREFIX = "^" + PUNC_MATCH PUNC_SUFFIX = PUNC_MATCH + "$" [/CODE] Basically its supposed …

Member Avatar for ZZucker
0
124
Member Avatar for Ninad16

Hi all, Just started learning C.I have some basic queries.They may sound silly to you.But please bear with me. -What is the difference between Linking,Runtime and Compilation Error? -What does getchar() actually do? -How do turbo C++ and Visual C++ compilers differ from each other?I mean...in what aspects?Do C functions …

Member Avatar for Narue
0
394
Member Avatar for Traicey

Guys I need to read from a text file and display to a listview I have tried google but nothing like what I am looking for, can anyone help me, Im using windows application Thanx in advance

Member Avatar for Liszt
0
102
Member Avatar for jared_masc

just having a bit of an issue on a simple problem, m meant to read in a string and return the characters using the fgets method, this is what i have come up with, i get wierd outputs, ex commas, etc, cn sum1 help me plz [CODE] #include <stdio.h> #include …

Member Avatar for HiHe
0
156
Member Avatar for staufa

I'm getting an unexpected error for my piece of code. It seems like a new line character is added into the string once is it called. Well the purpose of my lil code is to read characters from the keyboard using the fgets function and then convert it into pig …

Member Avatar for HiHe
0
190
Member Avatar for Traicey

I wana bind datagrid with data from multiple tables, for example, I need a student name from student table, Student's Account number, Credit Available, Balance, etc from Account Table, name of the Cashier who processed the payment from Cashier Table, so I wana show those details in one datagrid any …

Member Avatar for Traicey
0
85
Member Avatar for mybluehair2

I have a console game (DOS game) I created a wile ago to learn C++. But now I want to expand this game. So I started reading windows API tutorials. But I still need some help. I have no idea how to create buttons, and how to make something happen …

Member Avatar for marco93
0
119
Member Avatar for bharatshivram

hi i am using visual studio 2008 express edition. i have created a database in sql ( add new item > sql database). the db has 2 fields uname and upwd. have also created a web page in asp.net that has 2 text boxes (textbox1,textbox2) and a command button (cmdbutton1). …

Member Avatar for bharatshivram
0
115
Member Avatar for efr100

Hi all I am new here and I am currently enrolled in a programming course at my local community college. (Programming Logic and Technique) Now for some reason, every time I take a computer related course, I always get a foreign teacher who has a strong accent making it very …

Member Avatar for sidatra79
0
79
Member Avatar for dinilkarun

Hi All, I have developed an application in Python and the UI is developed in BOA constructor. I have placed a gauge(Progress Bar) on the frame to let user know much of processing is done. With my observation, I have noticed that the application takes about 50 seconds to complete …

Member Avatar for dinilkarun
0
146
Member Avatar for dimitrios67

Hi friends, I m trying to write a program in Java to manipulate my personal collection of books. Below is the code I have writen till now. If you have some ideas? [code] package Books; import java.util.*; class Book{ private int isbn; private String title; private static int count=0; public …

Member Avatar for stultuske
0
601
Member Avatar for teddies

Hey guys, quick question. I have a movie table which records information about certain movies. See below for the table structure. id Title Length ------------------------------------------- 1 American Pie 160 2 Van Wilder 115 3 Not Another Teen Movie 115 4, Road Trip 130 5 Shawshank Redemption 130 6 Scarey Movie …

Member Avatar for teddies
0
139
Member Avatar for Balinor

hi, ive been learning C++ from a book at home, am past the console and pretty much all the form part of the book but have a few unanswered questions. Beware this might be quite a large post, as i have no access to the net at home so am …

Member Avatar for Balinor
0
119
Member Avatar for Liszt

I will try to catch a few idéas of how to check changes in a large number of files. I dont know what oppurtunities there is to do that. I will have a folder that contains perheps thousands of files wich will be written to randomly. How is it possible …

Member Avatar for Liszt
0
85
Member Avatar for regalla

Dear friends, i want to pass data from one form to another form which is having back end ms access table1 for form1, table2 for form2 connected to forms with databound controls data1. my problem is while entering data in text1 of forms1, it should go to text1 of form2 …

Member Avatar for jireh
0
156
Member Avatar for wsee

Hi, I have a aspx page which has no problem to show multiple records from a db table as selected items in list box control ASP.net 2.0. After user change their selection in list box, how can I effectively and correctly post the user selections back to db table? Is …

Member Avatar for reach_yousuf
0
140
Member Avatar for trojanworm

hi i have been trying to get this working out i got a login url with two urls actually one to log you in and a java script button. lets say this is the URL's [url]http://login.mywebsite/login.nhn?m=login&memberid=[/url] (HERE Account) middle part of url : &password= (password) The last part i would …

Member Avatar for jbennet
0
193
Member Avatar for artonlinehome

Can any body help on mock test for java jsp struts servlet etc.. where can i attend mock test on java jsp struts servlet etc

Member Avatar for peter_budo
0
129
Member Avatar for Robins Antony
Member Avatar for Robins Antony
0
87
Member Avatar for vrga

I am having trouble deleting a string from a list. My program has to read strings from a file, then I have to delete the ones that are equal. I am a little bit lost. Any suggestions would be appreciated.

Member Avatar for JustinJose12002
0
154
Member Avatar for Clawsy

Hello, Recently I needed to assign keyboard control to my program; so and I searched the Internet, I found many examples but it seems all have one little problem(or it's my mistake?): I use this test code: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; …

Member Avatar for LizR
0
165
Member Avatar for FlashCreations

Hello, I have a question about PHP. I realized that you can use the POST variable to get data from a form submitted with the type post, but does the order of the fields matter. Example: index.html: [code=HTML]<HTML> <HEAD> <TITLE>Form</TITLE> </HEAD> <BODY> <FORM name='test' action='submit.php' method='post'> Name: <INPUT type='text' name='name' …

Member Avatar for mangel.murti
0
266
Member Avatar for polo_coins

I built two different classes and I want that one class get inherit from another , but when I build Constructions Compiler throw me an Error. I get to conclusion that i must use [B]base[/B] function so I build Constructor like this one : [B]public name_class:base()[/B] my question what do …

Member Avatar for polo_coins
0
211
Member Avatar for darkagn

Hi all, I wanted to ask if it is a good idea to install PHP on a windows XP machine running IIS? A lot of the documentation I have read talks about Windows 2000 Server with IIS, but not XP. At work I run PHP on a Linux-like platform (FreeBSD …

Member Avatar for darkagn
0
204
Member Avatar for Devlan

The comments are running willy-nilly, but at least in the pre-view mode it helps to click "Toggle Plain Text". [ICODE]if wish == 1: #Menu option word = input("Enter word: ") description = input("Enter description: ") print print tuplelist.append((word,description)) #tuplelist is originally defined as simply [] main_dictuples(tuplelist) #Returns the function for …

Member Avatar for Devlan
0
142
Member Avatar for MylesDBaker

Hello everyone, I am trying to get a head start on this week's program, as it seems to be a long, albeit relatively easy, program. I wanted to double check with the experts here to make sure the flow of control for this program is correct. The assignment is as …

Member Avatar for Denniz
0
247
Member Avatar for mo16

im currently completing my second year of studies at ryerson university. Ever since I got online about 8 years ago, I have been fascinated with computers and initially I got into web design and started scripting websites, i grew profecient with photoshop dreamweaver, and slowly moved into PHP later on, …

Member Avatar for Denniz
0
140

The End.