199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kevin wood

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 …

0
75
Member Avatar for technogeek_42

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

Member Avatar for technogeek_42
0
723
Member Avatar for ramjeev

Hi buddies, I m facing some difficulties while setting system date and time?..Can anyone help to set System date & time? Thanks

Member Avatar for ramjeev
0
4K
Member Avatar for Serling1

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

Member Avatar for Necrolis
0
454
Member Avatar for monroe85

#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; }

Member Avatar for Necrolis
0
72
Member Avatar for harisshafiq

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 …

Member Avatar for ithelp
0
370
Member Avatar for tlox

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 …

Member Avatar for ithelp
0
198
Member Avatar for GPXtC02

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 …

Member Avatar for GPXtC02
0
804
Member Avatar for Naruse
Member Avatar for Jx_Man
0
194
Member Avatar for leroytrolley

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

Member Avatar for mike4
0
311
Member Avatar for Goitse

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

Member Avatar for zanzo
0
112
Member Avatar for dragon@dragon64

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 …

Member Avatar for HI2Japan
0
154
Member Avatar for naju

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 …

Member Avatar for naju
0
105
Member Avatar for Achayan

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 …

Member Avatar for Achayan
0
129
Member Avatar for paradox814

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 …

Member Avatar for paradox814
0
129
Member Avatar for onetwothree

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 …

Member Avatar for onetwothree
0
196
Member Avatar for artashh

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 …

Member Avatar for Inny
0
115
Member Avatar for rashmigs84

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

Member Avatar for sbv
0
132
Member Avatar for sauron84

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 …

Member Avatar for sauron84
0
156
Member Avatar for naju

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

Member Avatar for naju
0
109
Member Avatar for xRuP7uR3x

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 …

Member Avatar for jrcagle
0
544
Member Avatar for mikki2

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 …

Member Avatar for mikki2
0
209
Member Avatar for cVz

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 …

Member Avatar for david.crawford
0
97
Member Avatar for hwa

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

Member Avatar for hwa
0
111
Member Avatar for d0ugg

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

Member Avatar for Lerner
0
150
Member Avatar for guitarrick

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 …

Member Avatar for guitarrick
0
131
Member Avatar for Jennifer84

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

Member Avatar for Jennifer84
0
105
Member Avatar for yarita

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 …

Member Avatar for Lerner
0
162
Member Avatar for dmf1978

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 …

Member Avatar for dmf1978
0
137
Member Avatar for agenic

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 …

Member Avatar for agenic
0
166
Member Avatar for Cpp123

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 …

Member Avatar for Cpp123
0
228
Member Avatar for Straconis

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

Member Avatar for Straconis
0
131
Member Avatar for Jennifer84

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]

Member Avatar for Jennifer84
0
193
Member Avatar for sara_84

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

Member Avatar for anomalice
0
137
Member Avatar for 3xy

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

Member Avatar for anomalice
0
262
Member Avatar for noob.cpp

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 …

Member Avatar for mr.cool
0
205
Member Avatar for frenchi1966

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

Member Avatar for dvduval
0
83
Member Avatar for jeffige

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

Member Avatar for Ancient Dragon
0
120
Member Avatar for Designer_101

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 …

Member Avatar for Designer_101
0
82
Member Avatar for prayami

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 …

Member Avatar for prayami
0
178
Member Avatar for a.suryakumar

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 …

Member Avatar for jephthah
0
83
Member Avatar for peaceful_soul

Hello guys, can anybody explain to me whats a simple batch processing facility ? i googled it but i couldnt understand anything. thanks .

Member Avatar for alexander()
0
162
Member Avatar for coldfirezz

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 …

Member Avatar for CzechRock3
0
109
Member Avatar for arlene1

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

Member Avatar for Ancient Dragon
0
174
Member Avatar for Jennifer84

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]

Member Avatar for Ancient Dragon
0
189
Member Avatar for biggz

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

Member Avatar for vegaseat
0
87
Member Avatar for Gerritt

All I need to know is how to capitalize all of the characters of a string. What kinds of functions would I use?

Member Avatar for jephthah
0
92
Member Avatar for wollacott

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

Member Avatar for jephthah
0
94
Member Avatar for nanosani

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 …

Member Avatar for jwenting
0
175
Member Avatar for Derice

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(){} …

Member Avatar for jwenting
0
116

The End.