199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hello, I wanna know if there is any way to make a window transparent using Win32 API Thanks in advance, Jan | |
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? | |
Hey Guys... Can anyone help me get a java code of OREGON TRAIL PLEASE!!!PLEASE | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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. … | |
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; … | |
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 … | |
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]; … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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!!!!!!! | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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... | |
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 … | |
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. … | |
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. … | |
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, … | |
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. | |
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 … | |
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 … | |
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 = … | |
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. | |
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 … | |
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.. |
The End.