199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gava11

Hello, I know nothing about PHP and this error has come up and I've been researching for days and have tried just about everything. Hopefully, I've given you enough information, but can you tell me why this line: $row2 = mysql_fetch_assoc($res); is the one called up in the following error? …

Member Avatar for diafol
0
56
Member Avatar for ravi035

how to create stored procedure for altering multiple coulmns , how to create stored for creating dynamic table and add multiple columns to created table

Member Avatar for prit005
0
71
Member Avatar for rohoni
Member Avatar for Narue
0
1K
Member Avatar for catalin4

I'm a newbie in C.For a month or so i have started learning and a friend is giving me tips and homework.My newest homework is something like this: I have a garaje with 3 floors,each with 10 parking spaces.Each hour cost 5$.Only the cars who have left pay. The problem …

Member Avatar for Adak
0
198
Member Avatar for chiiqui

So basically I am done with my project, I've passed to our instructor already, and I've achieved an above average grade, but one thing though I am still not satisfied, can someone check this code out for me? give me few tips? ? or tricks about this? here's my code …

Member Avatar for JamesCherrill
0
188
Member Avatar for anand01

Hi all I need to send form data to email .. Can any one share some sample code .. Thanks in advance

Member Avatar for anand01
0
80
Member Avatar for wenbnet

I m getting this three warning when i m opening my website. [B]Can any one explain me what is this errors and how it comes[/B] any help will be very much appreciated. Warning: require(Non-permanent posts) [function.require]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\kcd.co.in\httpdocs\index.php on line 17 …

Member Avatar for wenbnet
0
146
Member Avatar for Shermanofcby

My professor in his grading robot decided to put a unicode character in a ciphering program and my code really doesnt like it at all. Can anyone help me without using loops? [CODE]// //Caesars Cipher //program encrypts a file using caesars cipher //Due 9/9/11 //created 9/9/11 //last modified 9/9/11 #include …

Member Avatar for raptr_dflo
0
126
Member Avatar for aero31aero

I want to create a program in which the output currently on screen is stored in the file and when required, can be read and printed on the screen as it is. I want to use it to create a program in turbo c++.

Member Avatar for raptr_dflo
0
400
Member Avatar for owenransen

I get a warning about recursion when I compile the code below. I think the warning is wrong. Here is the background. I have two functions which "add a layer" to a DXF file. They have the same names but different parameters. One of them takes a CString and one …

Member Avatar for owenransen
0
288
Member Avatar for kiswah03

Hi, I have created an applet in which it is possible to select a shape from the combo box and the the shape moves with the mouse.Everything works just fine except a few problems. 1. The combo box is only displayed when mouse is moved over it. 2. The triangle …

Member Avatar for JamesCherrill
0
143
Member Avatar for huzaifah

Write a program that helps the user to consider a range of interest rates for a mortgage over 20, 25, and 30 years. Prompt the user to enter the amount of the loan and a minimum and maximum interest rate (in whole percentages). Then write a text file containing a …

Member Avatar for Adak
0
102
Member Avatar for owenransen

As far as normal ascii is concerned can I compare a wchar_t with a char type to see if they are equal? I think, but do not know, that the most common ASCII chars have the same integer value in char and wchar_t. Is that true? Do I need to …

Member Avatar for owenransen
0
3K
Member Avatar for Vusumuzi

void FUNCTIONS WITH DIFFERENT TYPES AND NUMBERS OF PARAMETERS Ms Smart, a lecturer at a famous university, wants to compare the results of male and female students. She decides to calculate four averages, namely the average year mark for male students, the average year mark for female students, the average …

Member Avatar for raptr_dflo
0
268
Member Avatar for Vusumuzi

The code runs but the problem is that the the discount value is not calculated wrong. Which part did I miss here. Here is the question: You now have to add a function discFee that has three value parameters - two of type int representing the number of sport and …

Member Avatar for raptr_dflo
0
126
Member Avatar for chiiqui

is there anyway to generate numbers from 0.0 to 999 999 without repetition? I am thinking of making an array that you can put 27 integer datas in it like this [CODE]double amounts[] = { 0, 0.01, 1000000, 25, 250000, 75, 50, 1000, 200, 100, 400000, 750, 5000, 750000, 500, …

Member Avatar for JamesCherrill
0
924
Member Avatar for pinkygirl

I want to upload images that will be saved in a folder. That folder is inside my website folder. eg: mywebsite(website folder). myimage(image folder). And the path of image should be saved in mysql. I tried the following but it is giving error "path not found." This is my path:- …

Member Avatar for pinkygirl
0
122
Member Avatar for Vusumuzi

I'm trying to get this to execute my main function but for the life of me, I can't seem to let is do that. there are no errors when running the code. What it is suppose to do is to prompt a user for gender between m for male and …

Member Avatar for Vusumuzi
0
321
Member Avatar for Vusumuzi

I decided to give this a go again today. The pupils of the Annandale High School have to pay a fee for each extramural activity that they want to partake in. These activities include sport, and other activities such as chess, ballet, etc. The fee for sport activities is R120 …

Member Avatar for raptr_dflo
0
139
Member Avatar for thebigbroski

So today I learned you can't modify an arraylist while you are iterating through it. In this case, I must be able to add elements though, while staying inside my loop. Any ideas? I tried using the Iterator class based off some examples online. Excuse my in-elegant code, it was …

Member Avatar for JamesCherrill
0
123
Member Avatar for Duki

Hey everyone, I've searched around Google a bit but most places suggest just using "\n" over and over. This gets messy though, for the code and the interface. Is there a built in method for Java that can clear the console?

Member Avatar for ~s.o.s~
0
431
Member Avatar for yapkm01

Hi, I am having problem understanding the below: 1) List a = new ArrayList(); 2) List <?> b = a; 3) List <? extends Object> c = a; // with warning of course Why there is an unchecked warning at clause 3) while no unchecked warning at 2) ? I …

Member Avatar for ~s.o.s~
0
183
Member Avatar for TrustyTony

Very trivial program which could be thought as conclusion from the Quiz posts (thanks Gribouillis for inspiration for format)

Member Avatar for TrustyTony
0
195
Member Avatar for kaizokupuffball

Hi! I got this messaging system on my website up and running now. But there is something i need to do when the user click the message they got. All the new messages are flagged as New! when they get the message. When they click on it, i got this …

Member Avatar for karthik_ppts
0
491
Member Avatar for eduard77

I have this function and when I load the page in the browser I keep on receiving an error that the last'}' shouldn't be there and I don't know why because everything seems right to me. Anyone could tell me where could be the problem? [CODE] function PageCompTopRated($w,$h) { global …

Member Avatar for karthik_ppts
0
75
Member Avatar for NexG

Hello, I'm just starting to learn Java, and for a summation program that we started in class, I've been stuck on the question as to why this brings up an error message when I try to build it. Please advise me. [CODE]import java.util.Scanner; public class summation{ public static void main(String[] …

Member Avatar for Rameshwar Soni
0
216
Member Avatar for Vusumuzi

How do I nest a while loop inside a do..loop without using if statement?

Member Avatar for Vusumuzi
0
112
Member Avatar for cjoyce

guys can you please help me in displaying columns from my ms access table to a listview in vb.net.. i use oledb in connecting to ms access..

Member Avatar for Phasma
0
382
Member Avatar for Sudo Bash

Hi, I was wanting to write a (ba)sh script to allow me to wait for the detection of a new USB device, and when that device is detected, execute some commands. The scripts are intending to be working on the principle that whenever I plug in a usb device a …

Member Avatar for Sudo Bash
0
259
Member Avatar for gilgil2

Hi I have around 2500 pages that I need to link to various pages on my site. Each of these 2500 pages contains stock and share information, and I want to link them to pages according the the first letter of the company's name. So BP would be under B, …

Member Avatar for hankmeyer
0
146
Member Avatar for khsoccer

I have a program assignment in my C and Unix class that allows the user to enter two numbers in binary seperated by (*,+,-,or /). It then has to produce an answer and loop back to the beginning. It also has to have an option to exit. Can anyone help?

Member Avatar for Schol-R-LEA
0
443
Member Avatar for dimasalang

hello.. just want to ask if it's possible to save html form field values in an xml file without using any server side script like ajax or php. i just want to use javascript and i want to do it offline witthout using any server like tomcat. is it possible? …

Member Avatar for dimasalang
0
2K
Member Avatar for pradark

Hello, I am trying to do a simple word count of a text file and output it to a text file. For eg my array looks like this: word_freq = [('test', 1), ('of', 1), ('function', 1), ('first', 1), ('the', 2)] I was able to output to a text file in …

Member Avatar for snippsat
0
192
Member Avatar for mrjillberth

[CODE]import java.io.*; public class Prime{ public static void main(String[] args) throws IOException { BufferedReader jill = new BufferedReader (new InputStreamReader (System.in)); boolean isPrime = true; System.out.print("Enter number: "); int input = Integer.parseInt(jill.readLine()); if(input < 2){ isPrime = false; } if (input == 2) { isPrime = true; } if (isPrime) …

Member Avatar for mrjillberth
0
168
Member Avatar for C_Hickman

im making a C++ web browser, i have the basic design all i want now is it to be an anonymous browser, similar to a proxy site. is there a code you can give my to do this. im doing this for a friend who likes to play games in …

Member Avatar for pseudorandom21
0
301
Member Avatar for Mouche

Hello. I'm using ncurses with a side project I'm working on, and I'm using colored characters. To use colors, you have to wrap each mvprintw() function with some code to set the color. I thought I'd write a function that wraps mvprintw() so I could just specify the color whenever …

Member Avatar for Mouche
0
184
Member Avatar for oscargrower11

I'm working my way through Accelerated C++ and I've come across this exercise. The read_hw function works fine if it's void as long as I comment out the "return in" line. The author didn't bother to explain why he's returning a reference to the cin that was passed in the …

Member Avatar for oscargrower11
0
210
Member Avatar for littlegrynder

I have the following code. My program loads 20 pictures in one panel and each pictures has for the moment like 500 Kb, but in the future they shall have like 2~6 Mb. When I use this part of code, my program that uses only 6 Mb of memory, but …

Member Avatar for littlegrynder
0
1K
Member Avatar for Digitalwolf

I attempted to make a shell script to launch a java program packaged into a .jar file. It should have been pretty simple. [CODE] #!/bin/sh java -jar Test.jar [/CODE] but for some reason this script never runs. i've manually executed the command and it works perfectly, i've checked the path …

Member Avatar for Digitalwolf
0
210
Member Avatar for Celcion

Hello again. I have another conundrum on my hands. At the moment I am trying to program a simple flowchart of an ordering system of sorts. At one part, the program will ask the user for his/her name, then continue on. Later on, the user will place an order, and …

Member Avatar for Greywolf333
0
116
Member Avatar for kartik14

Hi, Is there any way to "clear" work space in Lua similar to the [ICODE]clear [/ICODE]command in Matlab ? Thanks !!

Member Avatar for kartik14
0
181
Member Avatar for drpn

C:\Program Files\Java\jdk1.6.0_18\bin>javac -d ../bin rmidir\Chatserver.java rmidir\Chatserver.java:6: cannot find symbol symbol : class Chatclient location: interface rmidir.Chatserver public String[] login(Chatclient cc) throws RemoteException; ^ 1 error

Member Avatar for NormR1
0
61
Member Avatar for bobbywe

hello I am asking if someone can be kind and make who is next live scipit for me please I will be greatfully with any ideas or tips a friend of my owner of a radio station called liverbird radio

Member Avatar for Ezzaral
0
120
Member Avatar for sensei punk

ok i got a assignment to do for college, i gotta create a form, a simple form with just 2 textboxes for input of title & password, this is simple & i know how to do this, the next part of my assignment is to create a page with the …

Member Avatar for sensei punk
0
92
Member Avatar for kheijhei

hi there! guys can you help me how the form will automatically close in 5 or 10 seconds and so on? like a countdown timer, when the time runs out then it will close automatically? give me some specific codes. tnx! :|

Member Avatar for SpiritualMadMan
0
1K
Member Avatar for cgull

Hello, Does anyone know about a good tutorial for a user login system? I searched the net for a day and a half now, downloaded few scripts, tutorials and classes, but each one had a problem in it. I need a simple and secure user login script. Any help? Thanks

Member Avatar for cgull
0
136
Member Avatar for Galbatorix

hi guys, am pretty new to socket programming in vb.net . i am used to the winsock control in vb6 but it seems that vb.net has a difft approach as i could not find the control. Could someone please explain to me about sockets

Member Avatar for thatscrap12543
0
186
Member Avatar for dini.kumar

DATA TYPE MISMATCH ERROR CRITERIA [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text <> " " And TextBox2.Text <> " " And TextBox3.Text <> " " And TextBox4.Text <> " " And TextBox5.Text <> " " And TextBox6.Text <> " " And TextBox7.Text <> …

Member Avatar for BitBlt
0
154
Member Avatar for fradiavolo

Why is it saying "Notice: Undefined variable: cnt in C:\Wamp\www\librarie\cos.php on line 24". Here is the code: [CODE]<?php session_start(); include("conectare.php"); include("page_top.php"); include("meniu.php"); if (isset($_GET['actiune']) && ($_GET['actiune'] == "adauga")) { if (!isset($_SESSION['cnt']) || !$_SESSION['cnt']) $_SESSION['cnt'] = '0'; $cnt = $_SESSION['cnt']; $cnt++; $_SESSION['cnt'] = $cnt; $_SESSION['nr_buc'][] = 1; $_SESSION['pret'][] = $_POST['pret']; $_SESSION['titlu'][] …

Member Avatar for fradiavolo
0
192
Member Avatar for thejokerguy

hello Everyone! I want to implement fast transpose of a sparse matrix. It's really hard for me to understand the algorithm explained in book. Can anyone please explain in simple manner? Thank you ! :)

Member Avatar for avnish.singh5
0
7K

The End.