199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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(); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
I want use this option do I must know how to add DLL files ? Thanks Sergey:idea: | |
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 … | |
declare a hugo integer by array or string. Please help me! | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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). … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
hi guys, how to find the next primarykey value from a table b4 inserting? | |
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. | |
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; … | |
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' … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … |
The End.