199,114 Archived Topics
Remove Filter ![]() | |
i m opening rthe project in visual interdev when at the time server mode it shows message that which server u want to connect i m writning p4 my computer and also localhost it does not correct so i cannot work in interdev what shouled i do if i want … | |
Hi All, I am currently writing a perl program for linux which needs to run another perl script with a commandline option half way through, 'myscript.pl -h'. If it didn't have the '-h' I would use require. I could use backticks to shell out, but this is slow. Is there … | |
dll problem,help me:) i create dll project ,the dll is Use MFC in a Static Library i hope exe call ListCtrl class from dll ==================DLL==================== <<<<<<<<<<ListCtrl.h>>>>>>>>>>>>>>> [code=c] #pragma once class AFX_EXT_CLASS ListCtrl :public CListCtrl { public: __declspec(dllexport) ListCtrl(); __declspec(dllexport) ~ListCtrl(); public: DECLARE_MESSAGE_MAP(); public: afx_msg void OnNMClick(NMHDR *pNMHDR, LRESULT *pResult); }; … | |
The problem is that when I enter the choice, nothing happens and the answer remains 0. Please help I'm new at this and I tried everything!! Thanks [code=c] #include <stdio.h> #include <conio.h> main () { int a,b; float answer; char choice; clrscr(); printf ("\nEnter a number: "); scanf ("%d",&a); printf … | |
There's probably a simple solution to this, I simply don't know what it is. I'm working on a php-driven web form, information to be submitted to a database. A number of the fields on the form correspond to [B]not null[/B] areas in the db, so I need to figure out … ![]() | |
can i embed shockwave file in asp page?? How do i do it??? i am getting error message from macrmedia 8... [COLOR="Red"] error message "The tag name: "embed" Not found in currently active version.[XHTML 1.0 frameset]"[/COLOR] | |
In the following code, how do I change the line under [code] cout << "\nThe value of bogus in num1 is " << num1.bogus;[/code] to get it to compile correctly. I know its calling for theValue which is private. Not sure what to change to make it work: [code] #include … | |
Hi, i have a script that aims to do search of data. I select some data , define range of prices (for min price and max price) and then i get the following error : [B]Microsoft JET Database Engine error '80040e14' Syntax error (missing operator) in query expression 'city= '1' … | |
i want to get token from string using string class. i know that using cstring, i can use strtok.can i use it? [CODE] #include <iostream> #include <string> using namespace std; void echo(string message) { cout << message << endl; } int main() { cout << "Enter your word: "; string … | |
In response to Hike34's thread to add a \ character to a CString, I think the \ character has a meaning in such strings and to use it in a string it should itself be preceded by a \ character CString word="hello world"; word+="\"; // or "''" doesn't work... Instead … | |
Hello, I am new to perl, and am using perl on windows 98, i have tried writting a program, but the problem i experiencing is how to run the program. 1 i am using active perl 5 which came with an installer 2.i use note pad for the program and … | |
UPDATE: MY COMMENTS POST BUT NOTHING ELSE? I have a form that collects firstname, lastname, email, attachment(file), and comments. I can query from my database, but when i submit data the fields are BLANK? What is going on? Below is sql on export. Table structure for table `clientlist` -- CREATE … | |
I created a file that some vice presidents are looking at. They are very inexperienced with excel and I am trying to think of every possible error that could happen. However I know of an error but do not know how to fix it. They open the file, and it … | |
hi..im new here and to java...im supposed to align the prices of a receipt in a system.out.println..and i dont kno how. i am supposed to align the prices on the right hand side, considering the length of the item name and length of price. Again, i dont use things such … | |
[code=c] #include<stdio.h> #include<math.h> # define I 0.0765 //Interest Rate char fname[20]; char lname[20]; float loan = 0.0; int years; double PB; //Prototypes double Mortgage_Calc(void); void Financial_Report(void); int main() { printf(" *******************Caribbean Mortgage Company*************\n\n\n\n\n"); printf("Enter the Customer's Name (First Name and Surname)\n"); scanf("%s%s",fname,lname); printf("Enter Requested Loan Amount\n"); scanf("%f",loan); printf("Enter Number of … | |
This sounds awful but I've never ever done programming before in my life and I'm being forced to design 2 games (or applications maybe..) One is supposed to evaluate a maths expression (using composite design method whatever that is...) and the second is a simple Connect 4 game using either … | |
Hi i hav executed the following c code..the inner printfs executes first and prints some garbage value...why dont the outer printf prints anything... i got only one garbage value y dont two garbage values....wt s the order of precedence in printf function and in nested printfs.... the c code is … | |
Hi all, I need help turning this: W = 35.74 + 0.6215t - 35.75 (v0.16) + 0.4275t(v0.16) into code. I guess the real problem is the how to turn v to the .16th power using this function: double pow(double [I]x[/I], double [I]y[/I]) I know how to open a file with … | |
This sounds awful but I've never ever done programming before in my life and I'm being forced to design 2 games (or applications maybe..) One is supposed to evaluate a maths expression (using composite design method whatever that is...) and the second is a simple Connect 4 game using either … | |
Hello I'm kinda new to vb programming and am trying to set it up on my computer. I keep recieving this message C:/WINDOWS/SYSTEM32/AUTOEXEC.NT. the system file is not suitable for running ms-dos and microsoft windows applications. Do you know what this means and how to fix it? Any help you … | |
[B]Is their a way of using windows98/Me to make a chart?Or lines goes up or sqares?Or how can i make a chart?[/B] | |
Hello, This may not be the right forum for this but here goes...I am a student and am taking programming classes( JAVA ). It seems that I can compile my programs but cannot run them. My professor said my path was incorrect and gave me the correct path settings. I … | |
hi all. i am going through the hibernate tutorials from http://www.hibernate.org but i cant build my project with the ant as specified, i have used ant befor now .there is no problem with ant. the error given is as follow ; compile: [javac] Compiling 2 source files to C:\Documents and … | |
hi guys, I need to create an image with a plain background and a color.and in that ,i need to bind a text and an logo. The text and the logo(a jpg file) are dynamic. How can i do this in javascript? Hope I am clear with the question..... Plz … | |
I am using Dev c++ IDE for c and c++. When i run an aplication the running window disappears quickly. What should i do? | |
Hi to all :cheesy: The Problem::-| ======== I was wondering if someone could perhaps help me with a problem i have for a while now. I want to use two dropdowns and a submit button. Sounds pretty easy, but when php and mysql comes in, then it gets a bit … | |
Hello can anyone help me with the following The below will actually display the Name found part, even though no name actually exists and its just blank, how do i get round this, the string name will contain blanks, but i need to check if blank, then treat as blank. … | |
In a particular system there are two threads T1 and T2. T1 is the master thread that periodically sends messages to the worker thread T2. The system is time-critical and hence T2 must react to every message that T1 sends. None of the messages must be lost.T2 performs time consuming … | |
Hi, Once I had a similar problem when I tried to read a binary file on a pc and I failed, but I was able to read it in Linux (there were actually different versions of the file), so I figured it's a corrupted file, thou the hex dump looked … | |
Hi Folks, In trying to build a class that consists of several controls placed on a panel, I've encountered two problems. With the exception of a RadioGroup, I've been able to succesfully create the object and surface properties from the various controls. However, the radio buttons for the RadioGroup are … ![]() | |
I am totally stuck on this problem and would love it if anyone knew how to help me fix it! Thanks for any input!!! Here are directions: Write a program that asks the user for a positive integer value. The program should use a loop to get the sum of … | |
Is there any way to insert an animated .gif image into a Delphi form? The image component only seems to accept jpeg, bitmap, and icon files, plus a couple I've never seen before, but it's my understanding that none of those can be animated, and what I'd like to do … ![]() | |
How do I stop a thread immediately, in perl? Should I use the SIG interrupt or someone show me hints. thanks. | |
hey guys heres a program thats suppose to assign a letter grade to a given percentage on an exam and i just keep gettin the same three erros at the bottom saying i have undeclatred indentifiers but i dont see how so any help would be very much appreciated [code] … | |
I'm working on learning how to use regular expressions, and have found a conversion that has me stuck. Given the statements: [quote] 1. pi=3.14 and pie 2. pie and pi=3.14 [/quote] How do I match pi and turn it in to 3.14 without also catching pie? This is user input, … | |
i have to make a minesweeper game for class, 3d none the less using microsoft visual c++. i have created my dynamic class. there needs to be a node class and a grid class. i have no clue how to do it. if you can help please help me, its … | |
Hi/ Bit new to PHP. I am adding a PHP send file to my FTP but I don't seem to be able to get it to work. Can anyone help? In dreamweaver I am indicating method of POST with action of sendmail.php and application/x-www-form-urlencoded. I getting line 91 problems. $headersep … | |
All of a sudden my internet explorer 6 will not display any css attributes. Neither on the web nor locally. Any info on this would be greatly appriciated. | |
All I'm trying to do is write a very simple loop program in C to enter the ages of four sprogs between 5 and 7. To display their total and average age using do, while and if statements. I also need to display an error message if an invalid number … | |
I have a basic question with a for loop statement where I have a function thats creating input nodes inside my animation program. The name thats assigned to the input that the function creates is "InputNum" . How do I tack on the value of i to the end of … | |
can somone tell me what this means and how to fix it please [xML] Invalid at the top level of the document. Error processing resource 'http://freeaddsgalore.me.uk/sitemap.xml'. Line 1, Pos... [COLOR=blue]<?xml version="1.0" encoding="ISO-8859-1"?>[COLOR=blue][/COLOR][/xml][/COLOR] | |
this is a progarm i have created to calculate srudent grades given the three grades. the computer then works out te average and assigns a grade depending if average is more than 50. the program stops after giving the average of the three grades and doesnt output whether pass of … | |
Hi. I recently started learning VB.net in school, and now as a project, im making a simple sliding shooter. (You know, a ship that you control up or down, and you shoot at enemies that fly towards you) Thing is, I just cant figure out a good way to make … | |
Hi All, I wonder if any Javascript experts can help me. I have the following code on my site which create a rotating graphic in the header every time the page loads. This works great. However what I want to do is to change the way it works slightly so … | |
Alright, so far, what I think the problem begins with is not having a full understanding of syntax, and tabs versus spaces. I have my tab set to four spaces. When I run the following code, the Python GUI (the black ms-dos looking thing, right?) flashes for only a few … | |
i have a form that has several checkboxes. I want a label to display the total amount of all the checkboxes clicked. for example: cbo1 = 100 cbo 2 = 75 if the user clicks both then the label will display 175 also, if the user unclick a box it … | |
I am doing my homework and I have to create a payroll program that will loop until the user enters "stop" as the the employee's name. I also have to make the program say that only positive numbers are accepted in the event of the user entering a negative number. … | |
I need help with using the cin command\function. Any time I try to use it outside of the main function it does not work what am I doing wrong? | |
Hello you all. I am an MA student in Creative Music Technology and currently trying to write a little game based on voice recognition. I downloaded the speech SDK 5.1 from Microsoft and had a look at the example code. Evertime I hit "run" I am prompted with: "Runtime Error … | |
Hi, A simple question I think. I want to create a function that updates variables if a certain condition is met. For example def main(): c=d=e=0 if c[1] == 0: c=c+1 d=d+1 e=e+1 I want to create a function that adds the 1 to c,d,e automatically. def BB(c,d,e) Add 1 … |
The End.