199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jaku78

Well, whenever I try to run a user verify script, that asks SQL if a username is not taken, I always get this response... [quote][B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]dir/userver.inc[/B] on line [B]11[/B] count unavailable[/quote] this is the code in general: [php]<?php //User …

Member Avatar for GliderPilot
0
125
Member Avatar for Barefootsanders

Hey everyone. Ive been trying to set up a link that will allow people to see their profiles but I cant get the link to work. I have a center column that on each click gets the variable $page and loads the correct page using an include("profile.php"); Now I need …

Member Avatar for digital-ether
0
220
Member Avatar for nemo

Hi, can some one please help me run this code. i have another class named Course, that complied without error. Now in this code i am trying to take user inputs to find resulting gpa in a course. the following code does not compile, please help. [code] import java.util.*; import …

Member Avatar for masijade
0
157
Member Avatar for amelie

Hi All,I'm using a C++ client and server of different language.Using sockets for communication.After 10 - 15 hours of successful exchange of information a problem has occurred.Client seemed to send messages to server, but server didn't respond.After few hours, the client was killed.Suddenly, the server started dumping the messages towards …

Member Avatar for amelie
0
198
Member Avatar for Lance Wassing

Hello Everyone, My question is pretty basic, i hope. Basically, what i have is an extremely large text file, which acts as a flat file database... in essence. Text file formatting looks like this: CLIENT CODE | CLIENT NAME| CLIENT ADDRESS 1 ... This pattern goes on for about 23 …

Member Avatar for WaltP
0
134
Member Avatar for jan1024188

Hello, I wanna know if there is any way to make a window transparent using Win32 API Thanks in advance, Jan

Member Avatar for jan1024188
0
142
Member Avatar for pavani2006

ehat is the differencde between error,checked exception and unchecked exception?when occurs at what time?compile time or runtime?which of them can be handled and what not handled?example?

Member Avatar for masijade
0
140
Member Avatar for manujpro
Member Avatar for vinod_javas
0
1K
Member Avatar for XxBigxBossxX

I'm trying to code the game of Simon(try to mimic the computers choice of four buttons) for a project. I'm kind of stuck because the computer generates a random choice, but I need to completely halt and wait for the user to enter his choice.(Done with the aswd keys; either …

Member Avatar for John A
0
77
Member Avatar for CRD

I'm using SAMS Book "Teach Yourself "C" in 21 Days" sixth edition. useing the Editor/Compiler that came with the Book. DEV C++ The saubject program that I'm trying to compile is Print_it.c it prints files w/line numbers and when the compiler gets to the first line with "STDPRN" it stops …

Member Avatar for CRD
0
242
Member Avatar for dav_yip

I have a problem is phasing the extended charactors in TK(). Any help would be apreciated. a='itself ‘a parody’.' >>> a "return" 'itself \x91a parody\x92.' >>> def display(data): root = Tk() scrollbar = Scrollbar(root) myTextWidget= Text(root,yscrollcommand=scrollbar.set) myTextWidget.insert(0.0, data) scrollbar.config(command=myTextWidget.yview) scrollbar.pack(side=RIGHT, fill=Y) myTextWidget.pack(side=LEFT, expand=0, fill=BOTH) >>> display(a) I ended up geting …

Member Avatar for katharnakh
0
153
Member Avatar for negbballer54

Hey, I'm writting a program in C that is supposed to be a simple connect four game. I ran into problems when I tried to assign my array connects to a set value. The compiler gave me the error, Invalid indirection. Heres a little bit of the code where the …

Member Avatar for negbballer54
0
103
Member Avatar for Prog.Learner

[COLOR=#0000ff]Hi folks,[/COLOR] [COLOR=#0000ff]I get this error message on this line when I try to count the amount of characters in a string. I wanted to count the characters so I can manipulate how the output is shown. It tells me no argument is made whereas I feel that the particular …

Member Avatar for John A
0
248
Member Avatar for jerryseinfeld

Hi I am a new c+ student. I can make only simple calculator or find some average number programmes.... But now I have though one for me :( I need a program to find word in nxm puzzle and print its location... words may have been located directions.. I mean …

Member Avatar for Lerner
0
192
Member Avatar for Sturm

I am using debian linux and I cannot seem to get sdl_ttf working. It compiles fine but the program quits due to error checking in the code. It returns false at the ttf_init() part. Do not know if this makes a difference but I got sdl and ttf via apt. …

Member Avatar for John A
0
2K
Member Avatar for grunge man

why isnt this program working? [CODE]#include <iostream> #define SIZE 10; using namespace std; main () { char Black,Brown,Red,Orange,Yellow,Green,Blue,Purple,Grey,White; int a; int Color[10]; { int i, array[size]; for (i = 0; i < size; i++) { array[i] = i; } } cout<<"enter the color of the stripe"<<endl; cin>>Color[i]; color[0]=Black; color[1]=Brown; color[2]=Red; …

Member Avatar for Salem
0
99
Member Avatar for Shaabangbang

hey guys, uhh ok remember the old addressbook problem? well i solved it :cheesy: ! but now my prof gave us the same assignment but we have to do it as linked lists.. and i dont know how to use linked lists quite well yet.. this is my original code …

Member Avatar for Clinton Portis
0
101
Member Avatar for maverick786

Can anyone help? here is my code: passing an array base list to a function and search for an item. [code=c] #include <iostream> #include <fstream> const int MAX_LENGTH = 10; using namespace std; class IntList { public: IntList(); void GetList(ifstream &data); void PrintList(); int LengthIs(); private: int length; int values[MAX_LENGTH]; …

Member Avatar for WaltP
0
110
Member Avatar for Praetorian

My prof. gave us this class project to do and we had to more or less fill in the blanks. So here is what i have for my code and it works up to the point where it asks you if you want to go first or not. So weather …

Member Avatar for Praetorian
0
387
Member Avatar for queeneve75

Can anyon recommend a good cheap web hosting that supports ASp.net 2 , Ajax and SQL dat base, with an average rate between US$ 120 to US$ 180 per year Thanks

Member Avatar for queeneve75
0
87
Member Avatar for ganbree

Ive been writing a DirectX application for some time and there has been a bug that I have been unable to fix, but this is to do wth the Windowsx API. I can run my DirectX application (Fullscreen) fine, but when I Minimise it then restore, fullscreen mode does not …

Member Avatar for ganbree
0
211
Member Avatar for debargha

hello, everybody.... i am new to java programming........so my question may be childish i want to ask that.....in java all methods and variables are public... by default(opposite to c++).so why we are writing public static void main(String args[]).main method can be accesed from anywhere even if i dont write public …

Member Avatar for debargha
0
134
Member Avatar for bhuvan83

hi i m making a website in which the user has to enter data on current or next days not of previous days. but if the user changes the date of their system,they r able to enter data of previous day also. is there any way in which i can …

Member Avatar for jwenting
0
77
Member Avatar for shishir

hi everyone i am new to java and currently working on a project in jsp and ejb. everytime i try to run the program i encounter an error that package javax.ejb does not exist. i have jdk1.3 and j2sdkee 1.3 installed and have added j2ee.jar present in lib of j2sdkee …

Member Avatar for jwenting
0
1K
Member Avatar for qwest21

i wrote a Chat program and my drop down menu doesnt appear in the front...i used toolkit and Flow layouts to drow the GUI.. need help badly thanks!!!!!!!

Member Avatar for qwest21
0
114
Member Avatar for fmlyman

Yes, this is homework. This is my first course in programming and I am having a problem translating what I know I need to do into code. I basically need to write a progam that reads a person's name in the following format: first name, then middle name or initial, …

Member Avatar for John A
0
127
Member Avatar for maxcell

Hello, I'm still new to linux, and im looking for some helpful ideas. What I'm trying to do is I need to write a script that will take a text file, which has paragraphs and create another text file which extracts every individual word from that orignal text file and …

Member Avatar for ghostdog74
0
86
Member Avatar for player123

hi there! i cant figure out how i could program a little function in assembly using the PCSPIM environment. the function i want to program with recursion is: func(n) = func(n-1) + (n-1) this is similiar to the fibonnaci function which is: fib(n) = fib(n-1) + fib(n-2) and the code …

Member Avatar for player123
0
85
Member Avatar for Slavis81

Hello, I am a newbie coder and I am trying to create a [URL="http://www.daniweb.com/techtalkforums/thread73193.html#"]php[/URL] mailing list. I would like the users to enter their email address into the text box and click submit and have the email addresses seperated by ;'s and imported into my list.txt file. Here is the …

Member Avatar for digital-ether
0
168
Member Avatar for scru

I have an event handler for the Leave event of a text box, that checks that the user has entered an invalid value. It displays a message and tells the user that the value entered is wrong. But here's the trouble: after if displays the message, it still allows the …

Member Avatar for scru
0
139
Member Avatar for Rich2701

Hi guys, i'm totally new to ASP.Net but here goes I have got a login from my Access DB working - thanks to paladine tutorial I would now like a forgotton password page where the user enters there username and their password is EMAILED to them via the existing DB. …

Member Avatar for Rich2701
0
85
Member Avatar for abhinav.sharma

[CODE]#include <iostream> using namespace std; int main() { int a; cout<<"Enter a number"; cin>>a; [B]if(a=5)[/B] { cout<<"Five"; } else { cout<<"Not Five"; } } [/CODE] When I use the assignment, the result is always "five". I understand that a is assiged 5, but there is no statement to check for …

Member Avatar for abhinav.sharma
0
108
Member Avatar for Vrb

I need a little help, i want to buy a book abou C#, so if anybody has some prepositions it would be very helpful for me. I saw C# bible, and some other books, wht do you think which one is best? I know a litle bit of programing in …

Member Avatar for pygmalion
0
343
Member Avatar for JBI_UK

Hey, I am currently working on a web browser called JBI Explorer (might of heard of it on here) and I am wanting to finally change the User Agent, I use VB 2005. Is there any way of doing this without moving to a different tool like C. If anyone …

Member Avatar for waynespangler
0
116
Member Avatar for jpmad4it

Hello everyone, I have built a DHTML & Javascript menu using the Deluxe Menu ([url]www.deluxe-menu.com[/url]) software package. The problem is that in IE7 the menu works fine, yet in Firefox it is displayed behind everything. If you look here using IE and Firefox you can see the difference when you …

Member Avatar for jpmad4it
0
356
Member Avatar for pezz18

Hi, i'm new to all this. I'm really stuck!! I'm running XP Prof and have recently installed SQL Server 2000 Personal edition. It seems to have loaded in ok,,BUT,,it won't connect to my localhost,,i don't know what the problem is i get the 1069 error message. Pleaaaaasssee can someone help …

Member Avatar for harshakaundinya
0
98
Member Avatar for anousha

hi guys im an IT student an i have a very important assignment to return in 2 days time and im stuck with it i dnt know what to do. the assignment is as follows. Write a complete class definition in java for the following.your answer must include at least …

Member Avatar for staneja
0
93
Member Avatar for RAGHAVENDRAS

Hi Friends, I am writing a script to compare two files put in two arrays and I expect the those elements which are found in array2 that are not in array1. here there are 2 files Perf.txt which contains some names, and Neu.txt contains some names which are common as …

Member Avatar for Sandi
0
81
Member Avatar for Andres

I need an example of a tree done in javascript and that can make things when you click the tree folders ... Any page or example in javascript please. Thanks...

Member Avatar for senthilmohan
0
130
Member Avatar for sandeep0708

Hi all, I have a simple problem but a major 1 for me now... i need to pass the selected value of radio button from 1 jsp to another jsp i.e when user selects a radio button option and then clicks on the submit button then the selected value should …

Member Avatar for Thendral
0
104
Member Avatar for kartik911

Hi i am a beginner in programming C++ language and am having a bug in the doubly linked list program. The problem is while printing the list in fwd direction the prgm prints the contents just fine. however while trying to print the list in reverse direction nothing gets printed. …

Member Avatar for kartik911
0
138
Member Avatar for RaCheer

Hello! I have written a program that lets the user enter numbers and they are then sorted into ascending order. The number of times each number occurs is also displayed. I previously wrote it using a selection sort but could not get the times each number occured to display correctly. …

Member Avatar for Lerner
0
107
Member Avatar for zaacze

hi! am supposed to make a program, where information are in a structure and should be able to store up to 100 records.. i was able to make the add and display feature.. but now, i am having a hard time with displaying a particular record given the kind.. well, …

Member Avatar for WaltP
0
113
Member Avatar for Barefootsanders

Hey everyone. I keep getting a parse error on this line when I try to access this page. Any suggestions? [CODE] <?php echo "Logged in as "$sesion->username""; ?> [/CODE] Thanks.

Member Avatar for Barefootsanders
0
90
Member Avatar for CRD

I am trying to print to my printer which is on LPT1 from a C program Am using dev c++ which came with Teach Yourself C in 21 Days here is the code that is supost to print th my printer which is a HP Photosmart 7350. [code=c] /* Demonstrates …

Member Avatar for CRD
0
315
Member Avatar for Jmosure

hello everyone I am trying to create an array that will prompt the user for 5 numbers in the array and simply display them. but I keep geting this error message saying i have too many arguments in my function... please help. here is my code: [code=c] #include <iostream> using …

Member Avatar for Jmosure
0
798
Member Avatar for SHWOO

Can anyone explain why I am not getting any output from this code [code] int _tmain() { String *sym[] = {S"BA", S"CA", S"MS"}; int shares __gc[] = {25, 100, 30}, price __gc[] = {25, 31, 37}; Random *randomCurVal = new Random(); int purVal, curVal; int totalPurVal = 0, totalCurVal = …

0
80
Member Avatar for Hellodear

Hi, I am a newb in C#. I want to make programming in C#. What is the pre requisites? Somebody told me that we need to download Microsoft framework SDK and install it on OS. Is it all for us in this case? Hope somebody would respond, Hellodear.

Member Avatar for Lardmeister
0
137
Member Avatar for rowly

Hello guyz i'm trying to write a stack program in C... Push one character onto the stack. Your function should have the prototype: void push(POINTER *Top,stackitem a); 2. Push a string of characters into a stack. Your function should have the prototype: void push_string(POINTER *Top,char *string); Your implementation should make …

Member Avatar for rowly
0
1K
Member Avatar for nnhamane

Hello there..I am trying to build program on sudoku in 'C'.Can anyone help me or want to take part in my project,If yes then plz send me mail on: [U][B][I]email removed by moderator[/I][/B][/U]. So anyone interested plz mail me.Thx..

Member Avatar for scru
0
581

The End.