199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Phil++

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

Member Avatar for pecet
0
59
Member Avatar for Mitja Bonca

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

Member Avatar for Mitja Bonca
0
2K
Member Avatar for Nareshdeven

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?

Member Avatar for venkat0904
0
117
Member Avatar for mshravs

i need to know how to bind data with the formview in asp.net using vb code.........................thanks

Member Avatar for catherinesea
0
76
Member Avatar for sciocosmist

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 …

Member Avatar for peter_budo
0
5K
Member Avatar for iamsmooth

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 …

Member Avatar for iamsmooth
0
134
Member Avatar for yateenjoshi

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 **); %} …

Member Avatar for yateenjoshi
0
403
Member Avatar for Stefano Mtangoo

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?

Member Avatar for Stefano Mtangoo
0
122
Member Avatar for free_eagle

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 …

Member Avatar for gira
0
342
Member Avatar for RayvenHawk

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 …

Member Avatar for dan63043
0
142
Member Avatar for spatel14

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!

Member Avatar for Chilton
0
133
Member Avatar for rohanvijay

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

Member Avatar for Chilton
0
175
Member Avatar for hawkontvn

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 …

Member Avatar for venkat0904
0
153
Member Avatar for gretty

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 …

Member Avatar for mrnutty
0
150
Member Avatar for Pankaj18
Member Avatar for kvprajapati
0
100
Member Avatar for Falzz

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

Member Avatar for kvprajapati
0
234
Member Avatar for PolarPear

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 …

Member Avatar for PolarPear
0
94
Member Avatar for samsons17

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

Member Avatar for restrictment
0
261
Member Avatar for sweetangel20

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

Member Avatar for Stefano Mtangoo
0
109
Member Avatar for _dragonwolf_

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 …

Member Avatar for _dragonwolf_
0
243
Member Avatar for kjavaapclass

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 …

Member Avatar for santiagozky
0
78
Member Avatar for AutoPython

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

Member Avatar for jlm699
0
175
Member Avatar for Bluesilver

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 …

Member Avatar for Bluesilver
0
144
Member Avatar for urbancalli

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

Member Avatar for NotNull
0
156
Member Avatar for RgCz

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 …

Member Avatar for RgCz
0
158
Member Avatar for Kloukip

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

Member Avatar for Diamonddrake
0
202
Member Avatar for VibhorG

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

Member Avatar for Diamonddrake
0
540
Member Avatar for trzypak

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 …

Member Avatar for trzypak
0
115
Member Avatar for Ponomous

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 …

Member Avatar for Ponomous
0
121
Member Avatar for jjf3rd77

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 …

Member Avatar for jjf3rd77
0
144
Member Avatar for group256

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 …

Member Avatar for gerard4143
0
314
Member Avatar for MajesticMoose

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.

Member Avatar for gerard4143
0
141
Member Avatar for PDB1982

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

Member Avatar for PDB1982
0
135
Member Avatar for simplyscottif

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

Member Avatar for jonsca
0
171
Member Avatar for codemaker

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 …

Member Avatar for codemaker
0
80
Member Avatar for gibson.nathan

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 …

Member Avatar for gibson.nathan
0
125
Member Avatar for bk_bhupendra

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

Member Avatar for Diamonddrake
0
3K
Member Avatar for bkafroboy69

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 …

Member Avatar for bkafroboy69
0
127
Member Avatar for hno

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 …

Member Avatar for Cronless
0
83
Member Avatar for yodito

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 …

Member Avatar for yodito
0
124
Member Avatar for nevets04

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

Member Avatar for vegaseat
0
112
Member Avatar for nonshatter

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

Member Avatar for Cronless
0
212
Member Avatar for shroomiin

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

Member Avatar for shroomiin
0
165
Member Avatar for tatyana84

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 …

Member Avatar for Airshow
0
286
Member Avatar for gangster88

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 …

Member Avatar for snippsat
0
142
Member Avatar for dmitriylm

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 …

Member Avatar for Kontained
0
179
Member Avatar for reese27

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 …

Member Avatar for VernonDozier
0
108
Member Avatar for jaison2

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 …

Member Avatar for jaison2
0
130
Member Avatar for the great

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 …

Member Avatar for jonsca
0
87
Member Avatar for Rahul002

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 …

Member Avatar for kplcjl
0
479

The End.