199,114 Archived Topics
Remove Filter ![]() | |
Hey, I've created this class, it compiles OK but when I go to use the class it fails. It comes up with a pop-up saying something like 'Unexpected Error' 'Class' [code] class Person { public: Person(); Person(char theName[], float thePay, int theHours, bool Isworker); char* getName(); float getPay(); int getDepartment(); … | |
1. How to retrieve stored file our of the database? have stored (for example) a pdf file into database, as a data type of varbinary(MAX) - binary data. How can I get this file back, like it was before? Important things I have stored for the particular file are: - … | |
I need to send sms to my customers. I developed my website using PHP. I need Own SMS gateway to send and receive message. How to create own SMS gateway? | |
i need to know how to bind data with the formview in asp.net using vb code.........................thanks | |
Greetings, I was wondering if someone could teach me how to run an executable in java. I have written a Java program that fills out some information, but I need to run a file that is normally run from a command prompt that is an executable. If someone could tell … | |
So my binary search tree doesn't seem to be traversing through all the nodes. each node has references to other nodes. So I'm traversing through right or left (depending on value) until I hit null, which means I can insert. After insertion, I reset root to first so it can … | |
Hello, I would like to know hot to pass address reference to ācā function through python. I am using swig for ācā anf python interfacing Interface file : stud.i *************************************************** %module stud %header%{ #include "stud.h" %} %include "stud.h" %array_functions(char *,charp ); %inline %{ extern int parse1(char *,char *,char **); %} … | |
Hi all, I'm just starting Java and have read some tutorials and reading also thinking in Java and I see it is a good language. I have a question though, what are MINIMUM requirement of ANY Java program for it to run? | |
Dear forum members, Could you please let me know from your experience the best avaibable textbooks to learn C# effectively with examples? I am planning to start to learn C# programming but I have no idea from where to start and which book to read. I have Deitel's books Programming … | |
To be upfront and all, this is indeed a homework assignment. But I'm not looking for anyone to write the code I need just help me with a few functions I'm needing to use (the book is VERY vague on how to use these instructions). Assignment is open an encrypted … | |
How do I generate random numbers in C? The user doesn't enter anything, I'm just looking for a way to generate random numbers every time I run the program. Thanks guys! | |
1. Write a C program to convert a given infix expression to postfix form using stacks 2. Write a C program to evaluate the postfix expression using stacks | |
Hey! I'm quite new to this whole thing, so please don't fire me with shait on this one =D I'm trying to learn PHP and MySQL, and atm I am trying to make a website which corresponds with a database - a database with customers. 1. I want the page … | |
Hello HELP :( Ok I have an assignment due in 5 days. I have done [B]everything[/B] except for one function. This function finds the smallests factors of a positive int & it multiplicities, Have I lost you yet, dont worry because I've been lost for a week now with this … | |
Can some provide with helpful link in designing a Tab control with sub menu. | |
Hi All! Im having a problem regarding PostBack issues. Ive got a user control (WebUserControl1.ascx) which dynamically creates labels according to the value it is set from the Default.aspx page. Code In Default.aspx.cs [CODE] public partial class _Default : System.Web.UI.Page { WebUserControl1 _control = new WebUserControl1(); protected void Page_Init(object sender, … | |
![]() | Hello, I've checked google now intermidintly for two days, and I could not find a solution for my problem, so I decided I would post my own thread on here. The program I'm designing is supposed to ask the user for a file name, open that file, then take the … ![]() |
how do i display something like this using [I]for loop[/I]? 0 2 4 6 8 10 12 14 18 24 26 28 30 32 thank you for helping... | |
i have problem i need to learn evrything about how to creat website from scratch as my garduation is sooo soon ps i am just a beginer | |
This project is similar to, but not exactly like, my phonetic project. I am having to construct a GUI and have done so. I have been able to get everything except one part. What I need it to do is: 1) User inputs a string (this part works) 2) When … | |
I am making a tic-tac-toe game and I am scanning in the players name and piece in the viewer. How am I able to access that in the component class? I am not able to put a method in my viewer, so I can't say getPlayer of getPiece, but there … | |
Okay, the encryption algorithm idea was stupid. But I still made an encryption program. I got the absolute most possible frustrating situation. The program doesn't work in the console window. It spits out a giant error (probably recursion judging how many errors it got), but it DOES work in IDLE. … | |
I am trying to write a method that accepts two integer parameters and returns their average as a float, but for some reason it is only returning a double. I am quite sure that there needs to be "f" after the resulting value, but it's not showing up. Can someone … | |
[CODE] MOV AH,DAY DIV DIVISOR CMP Al,'0' JE WEEK_ JMP NOT_WEEK_ [/CODE] that is my code that tries to find out if the "DAY" is divisible by "7", which is the DIVISOR.. i initialized them as.. [CODE] DAY DB 1 DIVISOR DB 7 [/CODE] when the "day" is divisible by … | |
In Visual Basic 2008 Express edition: Create a new string replacing the order of the words, from last one to the first one and show it in a text box Example: Input: āThis is an exampleā Output: āexample an is Thisā I know theres a function to reverse the letters … | |
Hi! I was wondering how to access the name (location,...) of a file I doubleclick on and that opens in my application through the Windows extension association. Thanks -Klo | |
Hi all, Can anyone tell me how can we play the video(.wmv) in C# window application .................? Let i have some links on window form, As the user click on that link, related video should start playing..... And i am using VS2008....... Kindly help me regarding this............ | |
my program reads om tje number of liters of gasoline per 2 cars and the number of miles traveled by a car and then its supose to output the number of miles per gallon the car delivered. I used .264179 as my conversion of liters to gallons. Everything seems fine … | |
Hey so my code below works. It finds the roots for values that are in the quadratic equation from a file. What i want to do is write a function that will count the number of positive roots. What would be the easiest way to do this? I was thinking … | |
I have to print a triangle in C++ where the length is double the height and base of the triangle it is to be isosceles this is my Isosceles code. how do I change the length base and width so that the length is double. We are only allowed to … | |
Hey everyone, For my project, I need to write an assembly/C code to detect multiprocessors. I really have no idea how as I have barely done assembly coding and I have no good reference or even idea how to start. Again, what I am going to do is, I'm trying … | |
I need a function that returns the name of a key directly from the keyboard, eg, the input of '32' would return 'Space'. I know there is a function that does this, but I can't figure out which one. | |
I am trying to figure out why my function isn't working when I compile the program....can anyone suggest anything? [code] #include <iostream> #include <cmath> using namespace std; double distance(); void main() { double center1, center2, point1, point2; cout << "Please Enter X-Value of Center: "; cin >> center1; cout << … | |
[CODE] #endif class BankAccount { public: double enterAccountData(); double computeInterest(); void displayAccount(); private: int accountNumber; double accountBalance; static const double RATE; } #include "stdafx.h" #include <stdlib.h> #include <conio.h> #include <stdio.h> #include <dos.h> #include <ctype.h> #include<iostream>// holds the cin and cout commands #include<conio.h>// holds the getche() instruction using namespace std; //#include … | |
Hi guys, I'm trying to use the mail php function to send my subscribers emails like news, information, offers,etc. The problem is when I test it on my system (Fedora 11 box and sendmail is up and running without changing any settings) I usually receive the mails after 4 or … | |
what i am trying to do is take alot of information and use it to calculate a persons carbon footprint based on a list of things that are in the second class of my program. im trying to make everything very easy to read program wise. im doing this assignment … | |
how can i control the close button in a form.... (the three bottons minimize,maxi,close for all windows form) i hav attached a fig... jst check it... n pls reply | |
public boolean addEvent(int year, int month, int day, int hour, int minute, int duration, String what); This will return true if the event was added and false otherwise. Only valid events will be added to the list. i kind of understand what im suppose to do but i just cant … | |
HI my host doen't support cron job (I can't see any thing that related to cron function in my control panel of my host. I want to execute a page daily and the server automatically run the page daily.What shloul i do?How can I do that? My host is byethost … | |
Hello, I'm a newbie on C# and I have a question in two parts. Say I have a class Team that defines name and location. I need to write a method that returns an array of Teams. My first question is... by best pracitce, should I define this method within … | |
[code] #Credits: #Nevets04 #Fallen #Uber1337 #Farout import os List = [] z = int(raw_input("How many words in your list?: ")) os.system("clear") for x in xrange(z): List.append(raw_input("")) List.sort(),os.system("clear") print "\n".join(List) [/code] | |
Can anyone shed some light on these errors? [CODE] public void FaultHandler () { int faultCount = 0; while ( faultCount < 4 ) { DatagramPacket request = new DatagramPacket(requestArray, requestArray.length, aHost, proxyPort); aSocket.send(request); try { aSocket.setSoTimeout(4000); aSocket.receive(reply); } catch ( SocketTimeoutException e ) { faultCount++; continue; } catch ( … | |
Hello everyone. I am required to write a simple code that reads 10 numbers and displays the largest and last number entered. I thought i would be able to do this easily but for some reason the numbers wont get assigned to the variables like i thought. [code] import java.util.Scanner; … | |
Hi! of cause, you already know, i'm gonna say im new to javascript and blahblahblah.... anyway, its a simple changing images animation starting by clicking on button. However, i stuck on stopping animation by clicking "stop" button.... here is my code, please if somebody can take time to look at … | |
I want to be able to output the area of the circle and the cirumference of the circle to the user. so the output is to be "the area of the circle is... and the circumference of the circle is..." and it has to be to 2dp. the question says … | |
Hey guys, I'm having a bit of trouble with an assignment that has been racking my brain. I'm taking a number from the user, using a function to print its reverse order, checking to see if it is a palindrome in the main program and also removing any leading zero's … | |
i need help with removing "s" and "tion" properly if i want to input "composition" it should leave me with "composi" but it leaves me with "compo" and if i were to enter a word that starts with an s and doesnt end with an s the word would not … | |
hi, i want to be able to draw two eyes with are exactly the same in radius and colour etc next to eachother. So when i open the window the pair of eyes are there in the centre. I have managed to get one eye but i dnt have a … | |
Hello I have given a program in which i have to declare structure to store account ID, amount, user name and address. It inputs the number of account holders from the user and creat a dynamic array of structures to store the records of accounts. The program should declare two … | |
Hello, I want to create database on SQL Server using Javascript and HTML. User will input following data. Server Name, Database name, File Sizes. When I will click "Submit" button database should be created on Selected server with entered name. I am using Client side HTML and Javascript. we need … |
The End.