199,114 Archived Topics
Remove Filter ![]() | |
Hi there. I'm new to Python. I started learning it 3 days ago. I've figured out everything by myself so far, but this is stumping me: Whenever I load a file such as a html document or a text file, it loads fine. But when I load this gif or … | |
Hi there, I recently bought a subscription to a "turnkey php scripts" built2go.com in order to make a car market project... With great disappointment, i discover lately than I CANNOT REMOVE THE ANNOYING COPYRIGHT TAG at the end of each page. I search everywhere: The files, the host, even the … | |
Is there a way to overlay graphics in Python? I'm looking for functionality similar to X-fire. That is, I want to be able to press a set of keys in a game and a GUI screen with some options (possibly a shell script) that doesn't cover up the game should … | |
Hi, I have a readFile() function that reads a csv file into a vector. The first two lines of the csv are collum headings. After reading and displaying the file on screen, replacing ","'s with spaces, it asks if the user wants to append new entries. If yes, it calls … | |
i want to be able to create dynamic buttons. so ive used the code : [CODE]TButton* Btn = new TButton(this);[/CODE] my first question is: how do i assign a function to the dynamic button?! my second question is how can i put the code into a loop as to be … | |
I have heard about the: char myline[100]; cin.getline(myline,100); but when my coding is long it doesnt work i gues as long as i would like it to? here is my code for example: [code] #include <iostream> using namespace std; int main() { int length; int width; cout << "Enter the … | |
Well, The main problem for any popular [ wide ] Images Hosting website .. is the bandwith ! and this problem can be solved with Multi-Server programming .. with PHP I have some ideas in my brain .. it's like : - administrator provides me with 2 - 3 servers … | |
hi all i am using VC++ editor. Can anyone tell me how to insert sleep in my program? i have tried sleep(). but it is giving an warning 'sleep' undefined; assuming extern returning int. Thanks in advance | |
This is a contact form php script which i got from some site. But when i uploaded to site, it shows " parse syntax error" . Its somewhere between line 30 to 35. Please review it and find ou the error. <?php $EmailFrom = "contact@test.com"; $EmailTo = "root@localhost"; $Subject = … | |
i am working on an application where some test results are received from a serial port and getting stored line by line in a text box.now i have to compare each line with an existing data base( that is with a field of each record )and display interpretation of each … | |
Hi !!! I have so strange problem... i dont know what i have to do.. Quote from[B] form1.h :[/B] [code] #pragma once #include "Center.h" #include <time.h> #include <windows.h> namespace RCK { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// … | |
Hi, I wonder if anyone could help me, I am just starting out in the world of VB.net and I have a couple of tasks that I am having a bit of trouble with. This will probably be very simple to all of you experienced users: see below: 1. Using … | |
Help - the static_cast< double > is not calculating the value of term and I cannot see what is wrong. [code] void eConstant::compute() { cout << "Enter the desired level of accuracy to calculate the mathematical constant e, \nmeaning the number of terms in the summation: "; cin >> accuracy; … | |
Hi, i am trying to come up with a schema for a databaes. It's been a while since I have done normalization on a schema, so I could use some help. Situation: There are boats. A boat is build in a shipyard. A shipyard has an owner. A boat is … | |
Hi! all Please help me. I have an ASP website, and I want to incoporate a search facility on it but I dont know how. can you please give me a starting point your help will be apprecieted Thanks SC Sibiya <EMAIL snipped> | |
Hello Everyone, I just joined here hoping to increase my knowledge at python. I have been beginning to learn this language as of yesterday. I have decided that if I really want to increase my knowledge I should start on a project. Well here is my first project, a simple … | |
Hi Guys, I am quite experienced in programming with Java. I have though come accross a small problem, I don't know how to implement the MVC pattern. I understand the concepts of the MVC pattern and I was hoping that someone on this forum could help. I have a model … | |
what it is, i have saved data on a previous form into the database as words, but then i convert the words into its own unique ID. thus i want to load the data in another form, but i want to load the name of the item, not the ID. … | |
Hi... I want to create windows service for my abc.exe through programaticaly in c or c++ how to do this??? | |
Hello, I've written a short app that (in theory) connects to a remote box on port 23, and simply reads what is returned. The ultimate goal is to log on to the box automatically in order to automate some of my less interesting tasks. I get the socket set up, … | |
I have a bunch of params: InputParam1, InputParam2, InputParam3, etc... I would like to loop through them instead of writing out code for each one, but am having some issues getting it to work correctly. Here is what I have so far: [code=vb] Dim iCount As Integer Dim objTemp As … | |
echo removes white spaces from the text and stored text shows up w/o line breaks .. How can i correct this ? When i view my db tables and contents in it using phpmyadmin, the text stored in them look normal .. the way i typed it .. but when … | |
I'm trying to skip part of my loops by using continue; however, I am unsure where how much code each continue statement skips. My suspicion is that, in the below code, the continue statements effectively do nothing and put my code right before the return false statements. I have marked … | |
3.6 * vector_a; why can I not implement this binary operator as a member operator of a class Vector? [code] class cycle { cycle(); ~cycle; pedal(); }; class bicycle { bicycle(); ~cycle; pedal(); }; bicycle *bikeptr = new bicycle; cycle cycleptr=dynamic_cast <cycle>bikeptr; cycleptr->pedal(); [/code] Okay, here are the questions I … | |
I've got a pretty simple question. I'm trying to ask the player for to choose a difficulty. I want the case to be to not affect his choice, so I am using the toupper() function. Unfortunately, when I try to return the value of the difficulty, no matter what difficulty … | |
hi to all, i m doing my thesis in database. its related to data mining. i have to implement it. but i dnt knw how to start it. can anyone plz help me. i hav written the algo psedocode. | |
Hi, I am a bit confused and wish to share this with you for help. We are designing a billing application to bill telephone calls. It currently handles a single rate plan. So what it does is that it looks up the RATES table and matches the called number area … | |
Hi, I want to use a function from a different file in the main method of another file. Both the files are in the same visual studio project. I used the extern "C" keyword in the foreward declaration of this external function in the file containing the main method but … | |
[CODE=C] /** calculate the value of 'a' raised to 'b'.**/ #include <stdio.h> int main (){ int a,b,calc,calculation; printf("Enter value of a and b\n"); scanf("%d %d",&a,&b); calculation=1; for(calc=1;calc<=b;calc++) { calculation=calculation*a; } printf("%d raised to %d is %d",a,b,calculation); return 0; } [/CODE] My problem is I don't understand how this part " … | |
I'm creating a program that connects to an IP address on a specific port, then uses the recv() function to return the data from the address. I don't know how to go about creating the buffer the data will save to. At first I was just going to create a … | |
I have two questsions. The first being is it possible in VB to have a user input information during the file setup and have that information be used in the source code, then compiled, and then used after the setup is complete? Say I want to have the user input … | |
... what i am trying to do use thr GridChessBoard clas to paint/drae an empty board then return to the program which adds the men/pieces to the board. ... i can get the empty board but it doesn't add the meb/pieces. i don't know why. i suppose i bit off … | |
Hello everyone As you can see, this is my first post. We're trying to write a cards game and it uses 12 cards. Someone taught me to put the buttons in an array, which i think is a really good idea. I'm encountering one problem, how do i create an … | |
Hey all, I need a bit of help starting on a homework assignment. I'm not asking for you to do it for me, I just need a little help getting started on it. Here is the site with information about the assignment: [URL="http://scidiv.bcc.ctc.edu/fl/cs210/Program4-S08.html"]http://scidiv.bcc.ctc.edu/fl/cs210/Program4-S08.html[/URL] I really need just a little bit … | |
I'm trying to make a Connect 4 game and I'm getting it to work, but I think I'm doing it in a very long and hard way. I think that array were created to simplify code like this, but I'm not sure how to use an array for this occasion. … | |
<HTML> <BODY> <APPLET CODE= MyHangman.class WIDTH=1000 HEIGHT=1000> </APPLET> </HTML> I need to know what to do next below is my java file and I am confused with how to check the words i have in the array and the letters guessed in the word....anything would be useful thanks......and do you … | |
Hi i am new. i hope someone could please help me. i was having trouble with my java so i removed it from my computer and went to the net to try and reinstall it. no luck. all i get is (nsis error) file corrupt, 1335 error, internal error. i … | |
Hi, was wondering if anyone could help me. I'm creating my own little simple tree structure, consisting of several JTextFields. Each TextField is added to a JPanel, which is finally added to a JScrollPane, which is then added to a JFrame. Everything is fine, apart from the position of the … | |
How do I reverse the numbers in my program to produce the orginal numbers and the numbers in reverse? int magic_box (int N) { int digit1, digit2, digit3; digit1 = N / 100; digit2 = N % 100 /10; digit3 = N % 10; return digit1 + digit2 * 10 … | |
What am I suppose to add here to buffer the weird sequence of numbers and letters? [code] /*------------------------------------------------------------------ * Assignment 4: Breaking the Code. Nested loops, command-line arguments.. *Worth: 50 points. 60 points if you write a "general purpose" program which can process ANY of the "document??.cry" files from the … | |
Ever since I have heard that you can generate classes during runtime (from say, a URL I suppose) and can use java.lang.Reflect to fire methods based on String input, I was wondering how the process is done? | |
In a dataGridView1, you can Edit for example 5 Columns but before the First Column there is one column that has a star(*) in fron of the first row. What I wonder here is if it is possible to take this column away. It is possible to 'drag' the column … | |
I wonder if it is possible to change the color on the headers on a dataGridView1. I have searched in the members and properties but are not sure if I can find anything. By default it seems that the headercolor is "Control". Ex: is it possible to change the color … | |
i'm having problems reading with scanf... i'm trying to input some coordinates enclosed in brackets but it kinda skips the input that way... is it forbidden to say scanf( "(%d,%d) (%d,%d) (%d,%d) (%d,%d)", x1, yo, x2, y2, x3, y3, x4, y4 );? i'm using yo instead of y1 cause cmath … | |
I currently have a program that writes Sudoku boards to files; however, I would like the program to be able to read the board already in the file, copy it and then add another board to the file. It follows, then, that if there were two boards in the file, … | |
dear all and my frnds, i wanna read data from a notepad and view after readin in output should be like in attached .prn.Plz revert as soona s possible. with regards suneel | |
Hi everyone. Hope everybody is having a fantastic day. I have a simple question and need your advice to guide me towards a solution. My question is, rather, I need help with. I'm doing the game hangman and I currently have a string that contains the secret word that is … | |
I've hit a new road block on my VIN decoder page. I want to echo something only if two variables are true. Here's what I want to do: if (($Series == "D") && ($ModelYear == "2")){ echo "Skylark"; } else { echo "This is not a valid Series"; } When … | |
I am trying to use ajax to display an rss feed. It works fine in IE, but does not work in firefox. Researching, I have heard that firefox has an error that occurs on an asynchronous ajax call. Does anyone know a work around for firefox. Any help much appreciated. … | |
OK guys, I've hit a wall & can't find any info on what I'm wanting to do. Maybe someone can help me out here or point me in the right direction please? I have a shelve object- book. If I do book.keys(), naturally I get a list of the keys- … |
The End.