199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Swift7625

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

Member Avatar for Salem
0
429
Member Avatar for Acidburn

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? …

Member Avatar for woooee
0
98
Member Avatar for Gerritt

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 …

Member Avatar for jephthah
0
113
Member Avatar for missileh

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....

Member Avatar for jephthah
0
143
Member Avatar for mgn2683

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 …

Member Avatar for nav33n
0
105
Member Avatar for nish88

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 …

Member Avatar for woooee
0
170
Member Avatar for johnnygaddar

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 …

Member Avatar for johnnygaddar
0
181
Member Avatar for scru

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 …

Member Avatar for woooee
0
156
Member Avatar for clueless101

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 …

Member Avatar for clueless101
0
69
Member Avatar for IU34

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 …

Member Avatar for IU34
0
162
Member Avatar for twelvetwelve

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 …

Member Avatar for nav33n
0
1K
Member Avatar for geofoxer

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 …

Member Avatar for geofoxer
0
68
Member Avatar for pendejo

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 …

Member Avatar for sDJh
0
110
Member Avatar for Fritzeh

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 …

Member Avatar for Fritzeh
0
140
Member Avatar for renabada

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 …

Member Avatar for Paul.Esson
0
371
Member Avatar for Mr Brownstone

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 …

Member Avatar for Mr Brownstone
0
107
Member Avatar for Hers2keep

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 …

Member Avatar for Hers2keep
0
1K
Member Avatar for hansF

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, …

Member Avatar for vl4kn0
0
142
Member Avatar for s1986

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?

Member Avatar for s1986
0
237
Member Avatar for Adrian99420

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. …

Member Avatar for mitrmkar
0
176
Member Avatar for nurulshidanoni

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 …

Member Avatar for nurulshidanoni
0
112
Member Avatar for bapak

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

Member Avatar for bapak
0
224
Member Avatar for tarnita

Hello Everybody!!i am confused to do the database design for diving reservation. Please helpp me!! Thank you.

Member Avatar for xasthur
0
72
Member Avatar for naser.ca

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 …

Member Avatar for debasisdas
0
226
Member Avatar for nurulshidanoni

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 …

Member Avatar for mitrmkar
0
612
Member Avatar for xRuP7uR3x

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 …

Member Avatar for dabear
0
78
Member Avatar for Kusno

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 …

Member Avatar for masijade
0
133
Member Avatar for clueless101

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 …

Member Avatar for Yogesh Sharma
0
121
Member Avatar for Kusno

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.

Member Avatar for Kusno
0
43
Member Avatar for msantosh18

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 …

Member Avatar for choudhuryshouvi
0
95
Member Avatar for vedmack

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 …

0
75
Member Avatar for Spartan552

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: …

Member Avatar for masijade
0
134
Member Avatar for quecoder

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 …

Member Avatar for quecoder
0
124
Member Avatar for mrnobody

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 …

Member Avatar for mrnobody
0
226
Member Avatar for h0neydip

[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 …

Member Avatar for dougy83
0
120
Member Avatar for R3B3L

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 …

Member Avatar for R3B3L
0
123
Member Avatar for dskumar_85

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 , …

Member Avatar for dskumar_85
0
77
Member Avatar for lizhiyuan

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. …

Member Avatar for lizhiyuan
0
89
Member Avatar for nelledawg

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 …

Member Avatar for jephthah
0
115
Member Avatar for Taffd

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 …

Member Avatar for somedude3488
0
87
Member Avatar for pralu
Member Avatar for jephthah
0
412
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
228
Member Avatar for 2bu

Does CF run any better or faster on Windows or Apache. Can you recommend some good shared hosting companies? Thanks

Member Avatar for peter_budo
0
81
Member Avatar for DJEEPER

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 …

Member Avatar for vmanes
0
215
Member Avatar for devesh9392

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) …

Member Avatar for KevinADC
0
162
Member Avatar for aran87

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 …

Member Avatar for aran87
0
96
Member Avatar for sonia sardana

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]

Member Avatar for ladyjade
0
82
Member Avatar for TheBeast32

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?

Member Avatar for bugmenot
0
71
Member Avatar for drjekil

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 …

Member Avatar for vl4kn0
0
139
Member Avatar for annajee

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 …

Member Avatar for jwenting
0
91

The End.