199,114 Archived Topics
Remove Filter ![]() | |
i am trying to connect to my database which i have set up and i keep getting the same message 'could not connect'. i have a php page which sets up the database, and i recall this page with the include db.php to connect to the server. i have tried … | |
can any one knows how to convert a number to word like this 192 to one hundred ninety two i can't get the logic of that who can suggest of that i can't solve that.. plz help me | |
Hi buddies, I m facing some difficulties while setting system date and time?..Can anyone help to set System date & time? Thanks | |
I'm trying to have a getData function transfer all the objects it is holding in its array to a new array so that the new array can be used in a friend function to print the objects' information. [CODE]void Set::getData(Set& tempSet) const { for (int i = 0; i < … | |
#include <iostream> using namespace std; int main(){ double w,x,y,z,avg; cout <<" PLEASE ENTER FOUR ENTRIES OF MARKS"<<endl; cin >> w >> x >> y >> z; avg=((w+x+y+z)/4); if(avg>60){ cout <<"YOU PASS"<<endl;} else{ cout<<"YOU FAIL"<<endl; } cout<<"YOUR AVERAGE MARK IS "<<avg<< endl; return 0; } | |
A machine with 32-bit integers can represent integers in the range of approximately 2 billion to +2 billion. This fixed-size restriction is rarely troublesome, but there are applications in which we would like to be able to use a much wider range of integers, such as factorial. This is what … | |
I am trying to write a C++ program that will prompt the user to enter an angle value and calculate its sine,cosine and tangent without using c math library.The angle value denoted x,should be in radian,otherwise the program will convert it into radian before it computes its sin,cos and tan.So … | |
Just wondering if i can re-read something i just read in? [code] if(in_stream.is_open()) while(i<50 && in_stream.getline(temp, 50) && temp>0) { if(isdigit(temp)) PX1>>temp; else length=strlen(temp); [COLOR="Red"]if(length>1) { string1[]=temp; in_stream.getline(temp, 50) if(isalpha(temp)) string2[]=temp; else } else PX2>>temp;[/COLOR] i++; } in_stream.close();[/code] Hope it doesn't come across as vague but if towards the end … | |
how i get computer name with vb 6? any help will be appreciated thanks :) | |
Hi I've just got a nice php form done and I now need my visitors to be able to upload pics and have them sent with the form data. Is that possible in a php form, if so, can anybody point me in the right direction. Many thanks. LEE | |
Hi Guys I am a beginner in ASP and Access and need some help. I have a database and an ASP page that I need to connect together. The only problem is that I get an error message saying- [B][U]Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] … | |
hi i am trying to do a simple access database, with quantities, and a query with a report I have create a table with one of the variables being a numeric value, but i need to have 2 decimal places. when i format with 2 decimals, what ever i type … | |
I did all the process as specified in [TEX]http://wiki.script.aculo.us/scriptaculous/show/Ajax.In+Place+Collection+Editor[/TEX] But when i select a value from the combo .... it hangs at "saving..." there is no return .. . i did tried with just putting echoing the value with validity checking even thought there is no return i m using … | |
import os import maya.cmds as cmds class mypars_ts: def __init__(self): print "Hello\n" def testing(*args): print "Call Came\n" def window_lod (self): if cmds.window('ExampleWindow', exists=True): cmds.deleteUI('ExampleWindow', window=True) cmds.window( 'ExampleWindow' ) cmds.columnLayout() cmds.text( label='Size and position the window before closing it.' ) cmds.button( label='Close', command='testing' ) cmds.showWindow( 'ExampleWindow' ) my_calls=mypars_ts() my_calls.window_lod() when ever … | |
I am working with a function declaration of: int func1(char *, unsigned int) to the best of my understanding, I am not allowed to modify this. Now my question is that when I actually write this program what is the name of argument 1 and 2 for example [code]int intToHexStr(char … | |
Apologies if this is a really basic question, but i am quite new to coldfusion. I have a database where i have some stored standard data in. i can search this database for the data I want, (eg 10 specific records of data), and output it to a form with … | |
Hi guys, i have built a site and having a little problem with safari's browser...i wanted to create an other Stylesheet to ammend the bugs in safari but dont know the javascript code to apply it to my site when the user has safari to use this certain stylesheet.css file … | |
hi, i want to deploy an asp.net 2005 application . i am not able to any of the options as we get in asp.net2003. please help me to slove this problem thank you | |
Hello, I am a novice user of VC ++ and I have built an interface using MFC. I have created a form and now I have to link the form components (buttons, etc..) to my source code. For example, I need to know what to do so that when i … | |
i am using scriptaculous.js and prototype.js my ajax is returning following tags (text) [CODE]<p id="tobeedited4">one</p> (should manually select "two")[/CODE] and while calling the ajax it has [CODE] new Ajax.Updater('contact_div_edit',"./doit.php", {asynchronous:true, parameters:poststr,onComplete: showResponse, evalScripts:true}); onComplete: showResponse[/CODE] my showResponse function goes like this [CODE] function showResponse() { new Ajax.InPlaceCollectionEditor( 'tobeedited4', '_ajax_inplaceeditor_result.html', { … | |
Greetings everyone. This is my first post on this board, and I would like to offer thanks for any and all help, guidance, advice, and/or bonks on the head in advance. I am an aspiring programmer currently learning Python as a way to introduce myself to the world of software … | |
hi, i am trying to display a random product from my database along with its description, price and image. but i am having a little trouble. i can display a random product and its info by directly inputting it into an array, but i can't call it from the database … | |
Good Evening (Morning to others) I would like to find how it would be possible to create a calculator with only one entry field, i have managed to make one with two entry fields resulting in a ([2LeftOperand] + [2RightOperand]) calculation...i have tried hiding the Right Text box, and even … | |
[COLOR="Red"][/COLOR]I'm having a problem to inserting date/time in my database.. In my database have ONE column that consists of DATE and TIME I want use separate dropdownlist for the [COLOR="Red"]HOUR[/COLOR], [COLOR="Red"]MINUTE[/COLOR], [COLOR="Red"]SECOND[/COLOR] and I want to bind it & insert it to a 1 column in database.. I need to … | |
Hi all, So I'm creating a program that will calculate the grade average of students in a class. I'm suppose to read a file into an array and I'm having problems with that. Here is part of my code. [CODE] //Output Func void StudentStat::Output() { for (int i = 0; … | |
Hey out there. Lerner had given me some great ideas for searching (scouring) a string. Only problem I'm having now is I can't get past the error for 'cannot convert const to a std' I also don't think I can use this function like I am within my prgm (at … | |
I am trying to resize a panel through a if-statement like this but am a bit unsure how the if-statement should look like. I am trying to put if size is (0, 694) for the panel1. [code] if ( panel1->Size() == System:: Drawing:: Size(0, 694) ) { this->panel1->Size = System:: … | |
I'm having problems with displaying the total payment amount in the invoice when I enter courses and with the first step of entering 6 courses that i need to put if i want to try again or not. here is what it's suppose to look like... Please if anyone can … | |
Hi, I am working in an application that uses Drag & Drop in VB6, and I need to determine which type of control is the user dragging. I have in the form several controls: PictureBox, TextBox and ListBox. I know that I can use TypeOf() in VB .Net, but, what … | |
The question is "Where am I going wrong?" See my embedded comments above code starting point. I can get this to compile, but I can't get this loop through the amort, before I beign building (finishing the loop) I need to see if I can display a single line with … | |
I just started using C++ and have a practice exercise, can anybody do this? It seems complicated. You have been requested by “Honest Dave’s Used Cars” to write a program to calculate the monthly car payment for their customers.. As much as possible you are to develop the code as … | |
Not sure what I'm doing wrong but this just won't work, I've tried a bunch of different methods but I just haven't been able to hit the nail on the head. The html page code looks like this: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> … | |
I have a little wondering what the third element "0" stands for in the accumulate function. [code] std::vector<double> vec(10); double sum = std::accumulate( vec.begin() + 1, vec.begin() + 5, 0); [/code] | |
Hi all, i need an assembly 8086 code that compare between numbers from 1 to 99 and write output messege contain > or < or = can any body help me | |
.model small .stack 64 .data error_alpha db "Invalid input. Expression contains letter/s. ",13,10,"$" error_range db "Invalid input. Operand/s may be out of range. ",13,10,"$" error_overflow db "An overflow has occurred. ",13,10,"$" error_invalidinput db "Invalid Input. ",13,10, "$" redo db "Please enter a valid one.",13,10,"$" newline db 13,10,"$" inputlen dw 2 … | |
Hi, I don't know if anyone can help but I'm trying to figure out this switch case problem for my read file function. This is just the read file portion. I'm reading in a text file (bottom), and at this point I'm trying to determine electoral votes based on who … | |
Hi, has anyone a clue where to get the statistic for PHPLD? Example: Categorys 27 Subcategorys 124 Links 177 Pending 0 Today 0 Online now: thanks | |
[CODE]In relation to another post, I did enroll in the Game Institute. [URL="http://www.gameinstitute.com/"]http://www.gameinstitute.com/[/URL] Thanx for the input Thanx for the help "lAmoebal". It actually is helping more then when I was following along with other tutorials I have tried. Maybe it 's the structure. I still find C++ difficult. for … | |
hi Im doing a website at the moment, basicly its like; bebo, myspace sort of style style (but franticly reduced in users). I would like to know how to hold the time in which users have signed on so i can include a "last active" box for other users to … | |
Hi, I got one, two dimensional array. MyArray[1000][2]. Both the array i.e. MyArray[0][0]........ MyArray[0][1]....... are filled with some values. Now I got he given values for both: e.g. value_0 = 4.056 and value_1 = -201.375. I have to search the arrayMyArray[0]...MyArray[999] and find the closest value row for the given … | |
Hi All, could you please help : i have a script to search the for PRIMARY INDEX and if found display the whole definition of create table: ISSUE NOW IS: we have to store the table name in a variable and search the file if any update,show table exists for … | |
Hello guys, can anybody explain to me whats a simple batch processing facility ? i googled it but i couldnt understand anything. thanks . | |
I want to create a web based rpg that will includ emany different charecters such as Master Cheif and Mario and many others. I am a total noob to web design/creation so I am looking fo some help/ideas/comments. Have have only used c++ but for a breif time(1/2 years). I … | |
[QUOTE]Problem: write a function named powfun() that raises an integer number passed to it to a positive integer power and displays the result. The positive integer should be the second value passed to the function. Declare the variable used to store the result as a long integer data type to … | |
If I am serching this substring within a string. Is there any function that can search this just if the letters are correct, not if it is uppercase or lowercase. So it wouldn´t matter if the string looked like ex: Number[ number[ numBer[ etc... [code] string stringToFind = "Number["; [/code] | |
ive ben asked to make a program where the user inputs a floating number eg.(2.5) and the program displays the 2 alone and the .5 alone ive ben trying for a while but gone nowhere | |
All I need to know is how to capitalize all of the characters of a string. What kinds of functions would I use? | |
can anyone help me convert my c program so it works on a linux system or mac? thank you. [CODE] #include<stdio.h> #include<math.h> #include<conio.h> #include<stdlib.h> int main() { int c; int a, b; char d; pov:system("cls"); printf("Enter the first number\n"); a=getch()-48; system("cls"); printf("Enter the function:\n"); d=getch(); system("cls"); printf("Enter the second number\n"); … | |
I have made a hospital management system ....its GUI is creating some problems .... I have a container at the top level with Borderlayout ... a combo box is on its north ... and a JPanel is on its center. Combo box contains two items ... Doctor and Patient. the … | |
Hi, I am given assignment to develop simple games on applet. I have problem understanding the function of some abstract class... any1 would like to explain to me? Thx in advance. [CODE] class snakeGame extends Applet implements Runnable { Thread runner; public void init(){} public void start(){} public void stop(){} … |
The End.