199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hardcore

Hi all, I want to install Apache server 2.0.50, PHP 4.4.9, on Personal PC WinXP Pro but was unable to do that and was unable to find right instructional manual.Did a lot of reconfiguration in PHP.ini, httpd.conf files but Apache could not see PHP so test.php does not I need …

Member Avatar for hardcore
0
129
Member Avatar for Valaraukar

Hi, I've written a program that reads object information from an ASCII file (exported from 3dsmax) so that an object/objects can be reproduced in OpenGL. It works fine at the minute and can read multiple objects from a single file but what I want to be able to do is …

Member Avatar for Valaraukar
0
290
Member Avatar for lifted

Hello everyone, first little explanation about what i want my program to do: i use wget to download a webpage but instead of downloading it into a file i want the webpage sourcecode in a variable so that i can parse it and put it in a database later. Now …

Member Avatar for lifted
0
178
Member Avatar for drjay1627

I doing this server and client program. The sever has to output to the client. [code] strcpy ( outBuf, " " ); sprintf ( outBuf, "cylinder: %d Sector: %d\n", cylinders, sectors ); if ( write ( client_sockfd, outBuf, strlen ( outBuf ) + 1 ) < 0 ) { perror …

Member Avatar for drjay1627
0
102
Member Avatar for 136456

Hi every bod y I am new in programming and I like to start with pyqt but I can not find anything for learning in internet please help me how how can I write program with gt designer & when I make a form in qt how can it work(my …

Member Avatar for Ibn Saeed
0
269
Member Avatar for vaps

Hi! I'm making an inventory managment system, but i need User Authentication, to login users, and controle there Type, like admin, guest or normal users. I want to do it with .CSV files, because the rest of my program is witch CSV files. Does anyone have a sample code, for …

Member Avatar for tux4life
0
116
Member Avatar for Besherek

Hi folks, I need a little help working out a 2 tier navigation that is database driven as I'll need to use CMS to insert new categories and topics at a later date. The navigation is in unordered list format looking similar to below. Two category listed navigation with two …

Member Avatar for Besherek
0
118
Member Avatar for jaeSun

ok, I am needing to calculate powers in C++ (ie, 10^6, 10^9, 10^101, etc) the pow function uses double, and after 10^5, returns a number like (8e3245) ... but i need it for larger powers ... now, is there a function I can do that will break it down somehow? …

Member Avatar for tux4life
0
2K
Member Avatar for norcominc

Does anyone know how gmp works? It's supposedly installed but I don't know how to use the functions. I try following this site http://es-sun2.fernuni-hagen.de/cgi-bin/info2html?(gmp)Top but it doesn't compile when I try using the functions. What I'm trying to do is factor a large number. Is there an mpz function for …

Member Avatar for tux4life
0
214
Member Avatar for Egypt Pharaoh

I can publish in c# but I can't made it like any programme set up like photoshop

Member Avatar for luvuyomaq
0
118
Member Avatar for grumpty

I the program I wish to run is a search for a number in 4 threads. Its working out fine and here is the code. [CODE] import java.lang.Math; import java.lang.Thread; public class NumberFinder { public static void main(String args[]) { int target = (int) (Math.random()*1000); System.out.println("The number is " + …

Member Avatar for quuba
0
383
Member Avatar for veledrom

Hi, Let's say my root: [url]http://localhost/htaccess/index.php[/url] I have dbconnection.php, css files, js files, inc files, class files, functions.php and image files all stored in [inlinecode]http://localhost/htaccess/secured/[/inlinecode] directory. I don't want anyone access these files. How can i do it? I tried .htaccess but nothing worked apart from directory browsing (IgnoreIndex */*). …

Member Avatar for somedude3488
0
88
Member Avatar for BoneXXX

Hi, I dont know much about programming, however I have a c++ program(i didnt write it) that I need to use it to do some experiments. When I compile the program I get this errror. [code] dynn.cpp: In function ‘void make_near()’: dynn.cpp:374: error: name lookup of ‘j’ changed for new …

Member Avatar for BoneXXX
0
354
Member Avatar for da_tikboy

I have a FormView InsertItemTemplate which has a databound dropdownlist. The dropdownlist displays a list of names retrieved through a SQL Server stored proc. The user has an option to add a new name to the database by clicking a button next to the dropdownlist. Clicking the button fires a …

Member Avatar for greeny_1984
0
206
Member Avatar for nikolas8

Hi, I have a problem with my login control. I changed the code in order to use my own database (SQL Server 2005) and no matter what i do i get the message "Your login attempt was not successful. Please try again. "!!! in the web.config file i chose my …

Member Avatar for greeny_1984
0
650
Member Avatar for Aamit

Hi, I want to learn spring,strut,hibernate... where i get simple and good tutorial for beginners. which framework /tools/IDE to download. or books .. what other basic language needed to learn like to learn c++ background of c please give me all details?? Thank you

Member Avatar for peter_budo
0
131
Member Avatar for lefrancisco1

Hi All, I have two textboxes and Update Button Control, one gridview control.When i give some values inside these two texboxes.The values should display in gridview in button click even.Can u please help me on this.

Member Avatar for greeny_1984
0
95
Member Avatar for Cardboard Box
Member Avatar for nileshsarode06
0
99
Member Avatar for sandeep_more97

Hey Hii .... I am solving this problem from last 2 days.... but unable to find solution. What i am doing is ..... On click of submit button i want to send email and i am taking client to paypal page to do the payment..... i. e. i want to …

Member Avatar for essential
0
4K
Member Avatar for pspwxp fan

Hello, I recently bought "An Introduction to programming with C++ (4th edition )" by Diane Zak, and i really liked the way C++ was introduced to me with concept lessons and all. When I have finished this book, and hence made my mark with basic C++, i think i shall …

Member Avatar for jbennet
0
110
Member Avatar for claytonl

Hey, I'm not a programmer at all, but I'm hoping someone could help me solve a problem. I've looked all over Google, Ruby forums, and C/C++ forums but havn't found my answer. I'm trying to generate all possible permutations for 5 digits (1,2,3,4,5), up to and including 6 digits long, …

Member Avatar for nexocentric
0
162
Member Avatar for knrakesh

Hello Good afternoon Guys Iam KNR iam having a problem with javascript validation i want to check validation of all controls at a time means if i have a form with all fields blank then it has to show message and if any of the field is filled then it …

Member Avatar for essential
0
144
Member Avatar for marjan_m

Hi, Please view the following link: [URL="http://travel.yahoo.com/p-travelguide-191501619-beijing_vacations-i;_ylt=AiZdwxCyxFHHjdvlVEe4GeQyFWoL"]http://travel.yahoo.com/p-travelguide-191501619-beijing_vacations-i;_ylt=AiZdwxCyxFHHjdvlVEe4GeQyFWoL[/URL] Here can any one please guide me that how the pictures are changing in the vertical are at right side? Thanks

Member Avatar for marjan_m
0
159
Member Avatar for Warrior4017

Hi, I am currently writing a project that will allow the playing of a game of "british squares" in MIPS. Unfortunately it is giving me quite a bit of trouble. I was wondering if there is a way to set the $ra register to the current location (actually a bit …

Member Avatar for Amirlano
0
296
Member Avatar for AON07

First off thanks in advance, everyone here has been a great help in the past and know you will be this time.. What i'm trying to achomplish is to submit data from a form into multipule tables in the Mysql DB. However I want the user to select which table …

Member Avatar for AON07
0
1K
Member Avatar for threat

i'm trying to make this program which simulates a printing queue, a very basic level program that implements priority queues. i'm stuck in the last function, i.e. the simulate function, there's that while(temp!=NULL){...} loop in simulate function which works perfect the first time but turns into an infinite loop the …

Member Avatar for nexocentric
0
162
Member Avatar for Dannyo329

Hi, I have a question with ofstream, is there anyway to ask the user for a file name, then create the file, and write to it? Like: [CODE] string file; cout << "Enter filename:"; getline(cin, file); ofstream ofile; ofile.open(file); ofile << (stuff....); ofile.close; [/CODE] ...except that doesn't work properly.:S Thanks …

Member Avatar for Dannyo329
0
155
Member Avatar for scushkadee

this idea is in the beginning stages. I need a way to pull data from a table on a website, It also needs to be able to log me into to the website automatically to access the website. and.. hopefully.. send my cellphone a sms message.. or email.. when it …

Member Avatar for chrishea
0
168
Member Avatar for ashkash

I need to perform a sha-1 hash on a byte array. The byte array needs to be hashed with all combinations of a minimum of 4 bytes to a maximum of all 9 bytes of the following bytes: 00 01 02 03 04 05 06 07 08 So the following …

0
75
Member Avatar for subirs77

Hi, I am a beginer of PHP and i want to make link management sys for a link page of a site. i want to add,del,modify links with that system.but i dont know what i must do for that ,please any one tell me the steps. I want to display …

Member Avatar for cwarn23
0
111
Member Avatar for Dart82

Hello, Im currently writing code for a program that translates a line of text from English into German then back again. Its a big loop that needs to be executed the same number of times as words in the text. I'm almost there but there doesn't seem to be anything …

Member Avatar for Dart82
0
96
Member Avatar for nschessnerd

i have some code to kill a process [code=cplusplus] TerminateProcess((HANDLE)sinfo->process->Handle, 0); [/code] what happens is so the process freezes and starts eating up the processor... so i i try to terminate it, but it only goes white and that box pops up that says "bla bla bla" stopped working... is …

Member Avatar for nschessnerd
0
140
Member Avatar for abrars

the code seems to be fine dont know why its not working. when i execute the same sql directly in database it works fine. the error is get is oledbexception was unhandled syntax error in from clause. please help me thanks is advance. Private Sub Button2_Click(ByVal sender As System.Object, ByVal …

Member Avatar for abrars
0
152
Member Avatar for Lleoun

Hi all, I have the following php script: [CODE] <?php $doc = new DOMDocument(); $doc->load( 'events.xml' ); $events = $doc->getElementsByTagName( "event" ); foreach( $events as $event) { $hours = $event->getElementsByTagName( "hour" ); $hour = $hours->item(0)->nodeValue; $minutes = $event->getElementsByTagName( "minute" ); $minute = $minutes->item(0)->nodeValue; . . . ?> [/CODE] events.xml contains …

Member Avatar for essential
0
857
Member Avatar for floydus

I created a list of instances of a class, I don't know how to delete for exemple item at index 1 oPerson[1] ... Here is my code ViewerList[] oPerson = new ViewerList[2]; oPerson[0] = new ViewerList(); oPerson[0].DVRBrandID = "0"; oPerson[0].DVRModelID = "0"; oPerson[0].DVRViewerPath = ""; oPerson[1] = new ViewerList(); oPerson[1].DVRBrandID …

Member Avatar for JerryShaw
0
110
Member Avatar for orcsoul

I've gotten about 90% of this program done, but I can't seem to figure out how to do one last operation in it that is needed. What I'm having a hard time figuring out, is how to make a total for each person in the file? I'm sure it's deceptively …

Member Avatar for orcsoul
0
122
Member Avatar for mcdt2424

I am having a problem getting a value from my dictionary object. The TryGetValue Method returns true which indicates that it is finding the key in the dictionary but emps variable is not being populated with the value in the dictionary. What am I doing wrong? thanks for your help! …

Member Avatar for mcdt2424
0
104
Member Avatar for luutu_amir

1 write aprogram toread student's name examination number ,score for six subjects plus their average score using type one of c++ please i need this 30 minutes 2 using c++ write aprogram compute the number of students in a room (classes)

Member Avatar for skatamatic
0
138
Member Avatar for thebluestar

Hi all, I have to make a graphics project about drawing a circle like: 1/Draw the circle on the screen with yellow pen color and dark blue background. (Note: yellow color: 0xFFFF00, dark blue color: 0x191970). 2/ Rotate the circle counterclockwise around the center I with the speed 10 degree …

Member Avatar for skatamatic
0
155
Member Avatar for astonomer

I am creating a program to count the vowels and have run into a problem concerning my loop. }#include <iostream> #include <cmath> #include <iomanip> using namespace std; bool isVowel(int num); int main() { bool tof = false; //initializes tof bool to false int vowels = 0; char x; cout << …

Member Avatar for skatamatic
0
129
Member Avatar for hopzta

I am having a difficult time with this one line of code for my homework that is due Sun.: Modify the Inventory5 Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item …

Member Avatar for BestJewSinceJC
0
95
Member Avatar for drjay1627

[code]int c, s; sscanf ( inBuf, " %d %d", &c, &s ); [/code] I wanna check if c and s are actually int. suppose if you enter a letter rather than a number, how do i check? drjay

Member Avatar for drjay1627
0
75
Member Avatar for BruenorBH

I am new to Win32 API and am having trouble setting up the menu. Here is what I have at the moment (my new way of doing the main.cpp code is from another member) but I cannot understand where to put in the function call for the menu.. main.cpp [code] …

Member Avatar for nucleon
0
166
Member Avatar for bas_brain

ok, hi all, i have a problem, i want to check all values and keys from $_POST or $_GET files. My checkings criteria are: 1-) the key must be set; 2-) values must not be empty. Because $_POST and $_GET values is a array i have the following code: [CODE=php] …

Member Avatar for bas_brain
0
193
Member Avatar for slim2hott

ok so i wanted to make a number randomiser like so: [CODE]#include <iostream> #include <windows.h> using namespace std; int main() { srand((unsigned)time(0)); int random_integer; for(int index=0; index<20; index++){ random_integer = (rand()%60)+1; MessageBox(NULL, "Random Number: ", "Bingo",MB_OK | MB_ICONINFORMATION); Sleep(2000); } return 0; } I want to put the randon_integer result …

Member Avatar for slim2hott
0
158
Member Avatar for csharplearner

Hello all, I have this strange problem. 1. I have one file in a sub directory which has code for displaying images - images are stored in main directory . 2. Now the reference to that image is retrieved from MySQL database table row[image]. here is the code i am …

Member Avatar for csharplearner
0
129
Member Avatar for compscinerd69

The programming assignment is to implement a class Purse. A purse contains a collection of coins. Each coin object must contain its name. You should not put a limit on the number of coins that a purse can hold. This program should provide the user with the ability to display …

Member Avatar for BestJewSinceJC
0
1K
Member Avatar for dwatycha

relative php noob needs help, have tried 3 or 4 differnet ways to get an image along with other post data from an html form to save into a mysql db. other data saves fine, no luck at all with image. php and form code below. HELP. Thanks in advance. …

Member Avatar for Airshow
0
151
Member Avatar for Stefano Mtangoo

I have two files and I would like to call addition function from functions.cpp in main.cpp. But I get error: [COLOR="Red"]In function `int main()': error: `addition' has both `extern' and initializer error: initializer expression list treated as compound expression warning: left-hand operand of comma has no effect error: `addition' cannot …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for olabaz

I am trying to connect to a database but I have no clue how to do it or if it's even possible. The server address is: sql306.byethost5.com How would I connect to this server if the username is usn and password is pwd?

Member Avatar for olabaz
0
114

The End.