199,114 Archived Topics
Remove Filter ![]() | |
Hello All, I have been trying to convert a long long to a char buff and having problems. I have tried spintf, and some casting but still can not get the conversion right. Any help would be great! Steve | |
Hey there, I've got a script in another language and I've set a writer from the script to python. Now I'm trying to send data back the other way... ie python -> to my script. However I've got nothing to reference in python, and i'm clueless. Can anyone provide assistance? … | |
The code is working as I want it to. I am supposed to use pointer syntax, and this seems to me working. I just wanted to run it past some of the people who know what they're doing first. [code] /*===============================================================*/ void add() { int vala, valb, valc, count=0, bog … | |
Hi..., I just wanted to ask what are the posible scenarios where we could use function pointers in C... If anyone out there has any example then please do tell me.... | |
Right now the site I am working on has a restrict access set up for two levels, but the way they set up their registration, once someone registers, they can login to the member side without first being activated in the database. I'd like to be able to adjust the … | |
hi everyone...... am designing an interface for security purposes where a user is allowed to enter a password to gain access... i want when password is entered its ********** that appear on the text box instead of password secret itself so that if someone is looking at the screen he … | |
Hi, I need to do this problem for an assignment. We have not focused very much on this topc and that would be great if someone could help me get started. I am not asking for a complete solution or anything, just to head me in the right direction. The … | |
Is there a way to detect the internet browsers "registered" on the system my script is running on, and if possible get the location of the browser's executable? I don't mind if it requires branching the code by platform. And frankly, I don't mind if you give me a response … | |
I need to [U]create [/U]a data file called students.dat and [U]insert [/U]a few records into it. I need (3) fields: 1) student id no. 2) last name 3) first name I thought it would be pretty straight forward, but I get a compile error: Invalid Outside Procedure and "students.dat" is … | |
yeah, I'm just keeping this thread open because I have another wrinkle. In my code [code=python]def prompt_house(): global gold prompt_hou = raw_input('>') if prompt_hou == 'examine table': print '''There are a lot of car magazines here. You flip through them and find 5 gold.''' gold = gold+5 prompt_house() [/code] (or … | |
Hi Iām new to PHP and MySQL and Iām trying to return a MySQL query using a PHP variable that has been passed to it. I currently get this error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\moodle\logicquiz\quiz.php on line 57 Error performing query: You … | |
Hello all, I am wanting to know if it is possible to program a log-in page with php that will limit the amount of attempted logins, and then after a specific amount of wrong tries (say 10 for example) that person will be blocked for several hours. I am no … | |
i m trying to find out which method would be the best to create a: web-form. that the client can build and add field as wanted. with submit button. (for me to recieve) with convert to downloadable pdf,txt,doc. (for them to backup) it's for the client to build his Q&A … | |
Hey people, I'm not sure what is wrong with this code and any help would be greatly appreciated: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer = DGVShops.CurrentRow.Index Dim c As Integer = DGVShops.Item(0, i).Value ' gets value from selected rows first … | |
1. (a) A positive whole number n > 2 is prime if no number between 2 and (inclusive) evenly divides n. Write a program that accepts a value of n as input and determines if the value is prime. If n is not prime, your program should quit as soon … | |
Hey everyone, I am currently making a Media player project and so far it is going really well. It is pretty much a combination of WMP, Itunes and Winamp and everything is working so far apart from one thing I want to include in the program. I tried looking for … | |
I am very new to php programming, but not new to web programming. I am setting up an osCommerce store on a W2k03/IIS server and have run into the error below. This happens on the final submit order button. I've done some searching on the web and the general concensus … | |
Can somebody explain why the following works... [code] <?php system("ls /home/hans/"); ?> [/code] and this not..... [code] <?php system("cp /home/hans/data.txt /home/hans/data.tx2"); ?> [/code] For the life of me, I can't figure it out. I simply want to copy a file, so why won't php let me do this? Please help, … | |
in the database i have certain date as 01/01/1900.now while displaying this in the data grid along with the other columns i would like to display all the dates having value 01/01/1900 as blank.is it possible to do so?if yes then how? | |
Hi, I am using visual C++ 2005 express edition. I created a window form application with several combobox. The combobox contain few default items (pictures for example). Now I wish to create a file browser which allow user to choose picture from others directory and added it into the combobox. … | |
I have this data..but something error..my data is like this... Exam TExam 1 25 2 20 3 46 4 56 5 12 but it only appear like this 1: -853617 [code=C++] #include <iostream> // std::cout #include <fstream> #include <iomanip> #include <string> // std::string #include <vector> // std::vector<> #include <algorithm> //std::for … | |
i did save image to mysql by creating a field type longblob and saving it by converting the image into byte(). my problem is the image cannot be to big else it fails. can anybody help me in this. i can send the sample code if requieres. thanks | |
Hello Everybody!!i am confused to do the database design for diving reservation. Please helpp me!! Thank you. | |
Hi, I am using oracle 9i. I've got hard time rying to rename columns or constraint definition. I use the following for renaming a column: [code] ALTER TABLE table_name RENAME COLUMN old_col_name TO new_col_name; [/code] but I get this error [inlinecode]ORA-14155: missing PARTITION or SUBPARTITION keyword [/inlinecode]. The same thing … | |
If I want to sort in descending order for exams.at (i).total.at(j) like this.. the output 1 34 2 56 3 21 and I want to cout the output 2 56 1 34 3 21 Is it must to use bubble sort or radix sort? [code=c++] #include <iostream> // std::cout #include … | |
Hello again. Before I begin I would like to offer my heartfelt gratitude to the DaniWeb community; this website truly is a wonderful resource for a new programmer such as myself, and the help and advice that I have received have been incredibly useful. I am currently working on a … | |
Dear all, I'm newbie in Java language. I get assingment from my teacher to create small project for my final test. Now, I create a Budget Controlling project using Netbeans. I have created main class, Login form, menu and MasterBudgetingGroup (addGroupAnggaran). In menu, I have menuItem. But when I click … | |
I am to create a form with 2 text boxes to receive numbers as input and 1 command button that displays a message box containing the larger of the two numbers. To do so, I need to write code in the Click event of the command to call a user-defined … | |
Dear all, Do you know what properties should I set to hide Min & Max button in JFrame. I use Netbeans editor to create login form. Thanks, Kusno. | |
can any one help me in the following problem i have created a exe file in visual basic. in my application if i click a command box a excel file will open. the excel file is accessible in my system. but if the exe file is executed in any other … | |
Hi i got a jsp page which uses an external .js file and also some internal javascript too... the problem is that none of the functions that inside the external .js file are recognized inside the jsp. But... if i copy the source code of the jsp into an html … | |
Hi I want to be able to find out the int (or float) value of a variable whoose name is in another string variable [QUOTE]int x = 10; String var = "x"; System.out.println(Integer.valueOf(var).intValue());[/QUOTE] I want 10 to be printed but all I get is : [QUOTE]Exception in thread "main" java.lang.NumberFormatException: … | |
Hi , I'm new to programming, I wanted to know if knowledge of C++ is enough to build a program that makes modifications in the system , like [URL="http://www.tune-up.com/"]Tuneup Utilites[/URL] program that repair registry errors, or check for hard disk failures , format it and check the mbr ...or it … | |
Lets say I have a text file which contains a long list of 8bits data and i want to create a .wav or .au file from it. Forexample, my text file contains 8000 bytes for 1 second of audio with the sample rate of 8kHz. How do I create a … | |
[code] #include <iostream> using namespace std; const int queue_size = 1000; class queue { private: // array containing queue elements char data [queue_size]; char *front, // index of the front of the queue // indexes 1 before actual front element *rear; // index of the rear element in the queue … | |
I need to make a method that receives the matrix values as a string as [code=c#]"[ 1/4 1/3 1/2 ; 2/3 1/5 2/5 ; 1/6 1/5 7/8 ] "[/code] and initializes the matrix ( ex. ā[ 1/4 1/3 1/2 ; 2/3 1/5 2/5 ; 1/6 1/5 7/8 ] ā) I … | |
hai friend's .... now i have developing one website , how to design the website most effectivly , because in VS2005 the button and some other control's r have only one design , if i have give back color and border color mean then button r not seen effectivly , … | |
dear all friends i am a newcomer, i have a basic questions, i already read one book of openGL, couldn't understand well. my question is how to create a cube and map a texture to it, anyone give me some explanation of work principle to handle this? thanks a lot. … | |
Hi guys, Ok so I need to use pointer syntax for the functions init-costs(), show-costs() and toUpper() in the following code. I'm still working on the first two, but I'm curious as to what needs to be done to the toUpper() function. I'm pretty sure I've already done the pointer … | |
Hi All, I have a table 'names' with a column 'name'. Using a SELECT statement I've got 10,000 randomized names. I'd like to put them into groups of 3 and have the 1 remaining name available to do something with later. Can anybody help with the code for sorting these … | |
[B]can any one tell me what is socket descriptor in socket programming in c.[/B] | |
I wonder, I have a CheckedListBox and on the properties you can choose "MultiColumn" and set this to True or False. What I wonder is if it is true that CheckedListBox can have for example 5 columns because when I set this to true you canĀ“t see that any columns … | |
Does CF run any better or faster on Windows or Apache. Can you recommend some good shared hosting companies? Thanks | |
well, my assignment is to create a program that will compute a square root of a number without using the sqrt() function in the cmath lib. here is the direct assignment guideline. [url]http://community.tncc.edu/faculty/lewis/csc201/pdf/lab4b.pdf[/url] and my program is about 95% written out (minus the comments)... but it keeps getting stuck in … | |
Hi guys, i need help extracting e-mail id from the text file can anybody please tell me how can i extract e-mail id and store it in a vaiable using perl regex. (e-mail id is not always bound to end with .com) here is my text file: ****************************************** IQXpert 27(ID) … | |
Hello i want to select a row from this search and paste it to the next page do i need anymore code in each row, cus all it shows is a textbox next to each row. Ive got all connections, the search all works and its in a form i … | |
Can somebody send me the basic book of Visual Basic if they have??? & if its possible to send on net...Send me on the below given Id-> [email]sonia.sardana@yahoo.co.in[/email] | |
Hi, i need to make a [B]very[/B] large char array (char array[10000000]). How would I do this without getting a stack overflow error? | |
I am totally new in biopython and its my first program.so may be i am asking stupid question. I am working with a text file.Every line in that file represents one amino acid,which has some value.But i need to separate those lines which has a value between 10 to 22.how … | |
The question means this: One bank is providing mobile services via GSM modem only for online banking registered customers.Here the customer can register for mobile services provided by Bank through his online bankig account.When he registered for these services successfully (i.e. he successfully enterd all the fields of the reg … |
The End.