199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SwiftlyMental

I am currently working on a program for Gaussian elimination in Matlab for my numerical analysis class at FAMU. I am having problems understanding my errors in my code. My teacher told me to use a built in gauss elim function that I can not seem to find anywhere. Can …

Member Avatar for SwiftlyMental
0
120
Member Avatar for Ellisande

While working on my CS project, I coded the following line: [code] if(...*stuff* || *morestuff* || *evenMOREstuff* || (strcmp(argv[5], "yes") && strcmp(argv[5], "no"){ cout << "Improper arguments." exit(1); } else{ do more stuff} [/code] Where argv[5] is a program argument supplied by the user. Either a yes or a no …

Member Avatar for Narue
0
97
Member Avatar for totalnoob

Hi! As you can see by my name I'm new to programming. I have a program that only works partially. It consists of two functions. One function creates a text file and reads it and the other one creates a binary file and reads it. The text file part works …

Member Avatar for totalnoob
0
80
Member Avatar for Guskayak

I built my website using no Java so I'm quite ignorant. I'd like to use the "send to mobile" button from another site on my own website but I don't know if it's possible to do. Can anyone tell me the code I need to paste into my website to …

Member Avatar for Guskayak
0
107
Member Avatar for n8thatsme

Ok, so I have an array of objects that have 3 get functions. Get last name, get first name (both strings) and get salary. What I'm trying to do is get a user to enter First name and Last name and it search the array for the persons first and …

Member Avatar for n8thatsme
0
203
Member Avatar for skatamatic

I'm not too sure why I'm getting memory leaks...hopefully someone here is wiser than me, and can help me find it :P . [code=cplusplus] #include "Canvas.h" CDrawer CCanvas::gCanvas(RGB(0,0,0), 1); int const GREEN(20000),BLUE(50), RED(200), THICK(3); CCanvas::CCanvas(void): _iSize(0), _cptPoints(0) { } CCanvas::CCanvas(CCanvas const & tmpCanvas): _iSize(tmpCanvas._iSize) { if (_iSize > 0) { …

Member Avatar for ivailosp
0
319
Member Avatar for soniarani
Member Avatar for bulawa2002

Hi guys, I've developed a web app which is to be hosted. Its all about stock trading. A customer can log on and checks his/her account, place sale or purchse order for stocks etc. But I equally want customers to be able to use their cell phones to achieve most …

Member Avatar for bulawa2002
0
157
Member Avatar for Necron_99

We just started to learn decisions, and I'm confused. Wonder if someone could help me figure this out. In this assignment, you are going to calculate how much a BahnCard costs to buy, using the following rules. * BahnCard25. The card costs 110 euros for a first class card and …

Member Avatar for scorio
0
91
Member Avatar for En-Motion

I have to write a program where a user trys to pick a number. The code i've written below always exits after 2 guesses abd says the guess was correct even if it's wrong. Can anyone see what i'm doing wrong? Thanks [code]# include <stdio.h> # define NUMBER 50 int …

Member Avatar for En-Motion
0
104
Member Avatar for hapiscrap

[code=cplusplus] #include <iostream> #include <fstream> using namespace std; int main() { int numberofemployees; int employeeid, hoursworked; float hourlyrate, grosspay, taxamount, netpay; const float TAXRATE=0.10; ifstream fin("C:\Dev-CPP\employee.txt"); while (!fin.eof() )} fin >> employeeid >> hoursworked >> hourlyrate; cout<<"EMPLOYEE ID IS: "<<employeeid<<endl; cout<<"THE HOURS WORKED ARE: "<<hoursworked<<endl; cout<<"THE HOURLY RATE IS: "<<hourlyrate<<endl; …

Member Avatar for Sky Diploma
0
217
Member Avatar for chanda gul

Hi, I am trying to list all the files in a drive. when i use "*" instead of "C:\*" in findfirstfile() function then it works fine and lists all the files in the current directory but it does not work when i use "C:\*" and does not list files. can …

Member Avatar for chanda gul
0
151
Member Avatar for sleepytoast

first time here so I'm sorry if I didn't do something correctly. I need to find the total number of floors, rooms on each floor, how many empty rooms there are, occupied rooms on each floor, find occupancy rate, and the "Heartbreak Floor". Which has to display the floor with …

Member Avatar for sleepytoast
0
102
Member Avatar for TheBeast32

Hi, I'm taking a programming class at my school. My teacher gave us a pdf that said "..You will be writing a program that can read a bitmap and insert a secret message into the bytes of the picture in a retrievable way using the picture as a cipher and …

Member Avatar for TheBeast32
0
128
Member Avatar for maydhyam

Hello Everyone, [U]Scenario: [/U] I have an application where users are required to register to gain access. I want to set an 'automatic timer' on their access so that after 1 month, their access level is set to NULL (which would not allow them to log into the application). [U]Question: …

Member Avatar for maydhyam
0
97
Member Avatar for chris5126

HI guys, I need to create a windows service that runs a constant ping request to a list of servers and puts the data back into a text file for each server. It will read in from a text file with ip addresses in. It will also need to do …

Member Avatar for LizR
0
2K
Member Avatar for nati123

Hello, I have a problem with displaying special slovenian letters. 1) I set up in MySQL database charset to utf8, and collate to ut8_general_ci. 2) In my php files which communicate to database, I put next code: mysql_query('SET CHARACTER SET utf8', $db); mysql_query('SET NAMES utf8', $db); mysql_connect is stored in …

Member Avatar for scru
0
73
Member Avatar for aanya

Iam new to perl. This is my problem. I have calculated the distance using the formula my $distance = sqrt(($x2 - $x1)**2 + ($y2 - $y1)**2 + ($z2 - $z1)**2); and the value of $distance looks like this: 3.72851967944384 5.83210433720111 7.12922562414741 10.2322964186931 11.2073015931579 11.882666956538 14.4465118281196 16.0581479006765 17.2278339903773 Now I have …

Member Avatar for aanya
0
134
Member Avatar for mrrko

Hi guys! Well they gave me this work, that says as follows: Write a program to score the paper-rock-scissor game. Each of two users types either P, R, or S. The prgram then announces the winner as well as the basis for determining the winner: Paper covers rock, Rock break …

Member Avatar for mrrko
0
2K
Member Avatar for Baradaran

Hello to everyone, I have a database with several representatives in different cities, sometimes there are many representatives in one city. The search is like: [code] sql_representatives.source = ("Select ID, CITY from REPRESENTATIVES Where PROVINCE_ID = " & LST_PROVINCE.ItemData(LST_PROVINCE.ListIndex) & ";" [/code] The above sql return all cities in the …

Member Avatar for Baradaran
0
123
Member Avatar for kevin wood

as iframes are now depreciated as of xhtml 1.0 Strict is there away to replace these using Ajax. this is something i have heard off but have never come across and would like to know if this is possible. I have used iframes in the past to display content from …

Member Avatar for fsav
0
150
Member Avatar for kudusan

i have a problem creating games with C++, if anyone has a source code in C++, please share with me, i need help, simple game is okay e.g: snake, arkanoid i just need a source code for a simple game, without open GL or something like that (because i can't …

Member Avatar for Salem
0
307
Member Avatar for siddhant3s

Hi, and here i am throwing a "not the exact version" of my problem, but if this is been solved, my problem is done. Lets suppose i am building a application in c++ that will simply display the content of a text file. I absolutely can make the app take …

Member Avatar for siddhant3s
0
115
Member Avatar for Traicey

Can anyon help me with the code to delete from file using the delete method or function void delete() { } Thanks in advance

Member Avatar for unbeatable0
0
120
Member Avatar for anithajoe

Hi I wasn't sure as to where I need to post XSL related questions..Is there anyone in this group who has expertise with XSL? If anyone can help me out with an XSL related question, that would be great. Ani

Member Avatar for anithajoe
0
116
Member Avatar for sunveer

How can i print the lower and upper triangles of matrix Please guide me in writing the code. i don't know even how to start writing the code. Please help.

Member Avatar for n1337
0
119
Member Avatar for maydhyam

Hello, I am trying to do an export from a table within a mysql database into a csv file where my parameters are a start date and end date...but I am experiencing a few problems... [U]Background:[/U] I have 2 files; testGCR.php and gcrFunction.php. testGCR.php has my form where the user …

Member Avatar for R0bb0b
0
1K
Member Avatar for nehansh

I would like to work with the MFC classes. As far as I Know these are not included with the Visual C++ express edition but only with the standard edition . can i get these classes for free elsewhere or do I have anyother option? please help.

Member Avatar for jencas
0
94
Member Avatar for stockton

I have some C code that, when compiled under Linux, works perfectly as a CGI. This same source compiles perfectly with Visual C++ producing an exe. My question is how do I use this as a CGI in a Windows, Apache environment. Can I just place the exe in the …

Member Avatar for stockton
0
121
Member Avatar for maydhyam

Hi Everyone, Is it possible for a table in MySQL to be updated on a regular basis from an Oracle database?

Member Avatar for maydhyam
0
87
Member Avatar for maydhyam

Hi, Could anyone help me with this problem, the following code contains the GUI for a chargeback application which was handed on to me. I want to be able to test the components DC1 and DC2 to make sure information was entered when the btnGenChargeReport button is clicked... :?: I …

Member Avatar for maydhyam
0
759
Member Avatar for maydhyam

Hi, I have a web application where the users have to create an account to be able to access the entry form. I have 2 types of users, 1. Admin and 2. User. I have a Java application that is called via a link on the page, but I only …

Member Avatar for maydhyam
0
101
Member Avatar for spinnaret

Hello, Does anyone know how to pass a prameter to vb.net program that will run behind an exist vb 6 program. I have been given an instruction to write the new functionality in vb.net and integrate it with vb 6. Many Thanks S

Member Avatar for Teme64
0
120
Member Avatar for jeevsmyd

Hiii I just made a small [B]Memory game[/B] with the help of many of the members of [I]daniweb[/I].... Now I have a screen clearing problem... The program is simple...The compiler shows random numbers,then the user inputs the number within a time limit... there is a scoring key.... but I want …

Member Avatar for Ancient Dragon
0
124
Member Avatar for brimzi

hi,am a final year student thinking of making an application able to track people from a live camera.the idea is for the application to automatically identify certain actions eg person attempting to enter certain doors etc.in other words the application should be able to know the location of a person …

Member Avatar for brimzi
0
111
Member Avatar for smile4evr

i hv a vb6 form connected to the ms acess... it has multiple tabs so if a user wants to make any one of the two then a unique key should be followed... preferably the key should be followed by the system year as this could be used for many …

Member Avatar for Teme64
0
264
Member Avatar for anton-shirikov

Hello all! I am just starting Ajax... is there anything i need to install on PC? i already have WampServer 2.0c Thou Ajax doesn't seem to work on it.. thanks!

Member Avatar for anton-shirikov
0
97
Member Avatar for Geard2

I was wondering if anyone happens to know any good c++ books to learn linked list (single, double, and/or circular)? Something that has explains with code to show how to do it and explanations to the code if possible.

Member Avatar for Sky Diploma
0
90
Member Avatar for LiquidCobra

The assignment problem below ask me to calculate the number of months it will take to pay off the loan and the total amount of interest paid over the life of the loan. I'm having trouble trying to find the right algorithm for the monthly payments. Could you please take …

Member Avatar for stultuske
0
144
Member Avatar for vskumar19

Hey can there be any reasons for the program that is written to play audio clips is not givin any response!!!! i wrote program correctly but i cant hear any sound from the audio device.. Anyone give solution plzzz!!!

Member Avatar for stultuske
0
86
Member Avatar for NRaf

It might be an issue with my laptop's IE6 although I haven't ascertained this. Anyway, I'm having a really weird issue. When I open my website in IE6 and click on a link inside that page, the page doesn't load for some reason. I just get the background color and …

Member Avatar for NRaf
0
214
Member Avatar for mikeregas

I need this to been done recursively, it works but I was told that it is not recursive does anyone have any ideas or suggestions [code=language]#include <stdio.h> #include <string.h> #define TRUE 1 #define FALSE 0 main () { char decision; char str[30]; int isPalindrome = TRUE; int choice = TRUE; …

Member Avatar for ArkM
0
143
Member Avatar for gopi17

hello guys, can anybody help me with smart devices....i need a good website to learn abt this with tutorial and example...can anyone supply me with links??? thanks Gopinath..

Member Avatar for isaackhazi
0
188
Member Avatar for red_evolve

Greetings. I encountered a problem in accessing the controls I placed inside the TemplatedWizardStep tag. Here's the code snippet:- [code] <asp:Wizard ID="wizCreateBulk" runat="server" DisplaySideBar="false"> <WizardSteps> <asp:templatedWizardStep ID="Step1" runat="server" Title="Select Recipient Method" StepType="start"> <ContentTemplate> <div> <span>Enter Name: </span> <span><asp:TextBox ID="txtName" runat="server" /> </div> </ContentTemplate> </asp:TemplatedWizardStep> </WizardSteps> </asp:Wizard> [/code] Then, in the …

Member Avatar for binusworld
0
395
Member Avatar for Jihad

I have an wsdl file, I puted the wsdl file in the app_code folder ("I am using visual studio 2008"), as it is supposed to be it generated the proxy for me. But the proxy file containes object type parameter for all functions even for the functions that are not …

Member Avatar for Jihad
0
200
Member Avatar for ChroNoS

I have written a program that reads a text file and then saves it as an image file.Although the program is reading the file but its having errors saving it as an image file. Please Help! [ICODE]Option Explicit Private Const SRCCOPY = &HCC0020 Private Const MERGEPAINT = &HBB0226 Private Const …

Member Avatar for ChroNoS
0
154
Member Avatar for l_03

hello guyz,,do you know any best sites that could help me making codes in "shopping cart"??hope you can help me.thank you ahead...

Member Avatar for sbhavan
0
240
Member Avatar for Shanti C

Hello Every Body I Am Using PHP AND JAVASCRIPT i am using two images on my page at run time 1. first i drag one image on another 2. after that i write some text using a prompt box which is written on the dragged image at run time 3. …

Member Avatar for Shanti C
0
102
Member Avatar for adityakiran.m

:) hai can any body help me in how to convert the Vb.net Code into C#.net code

Member Avatar for adityakiran.m
0
76
Member Avatar for mikeregas

my question here is two fold I am new to recursion and I am not going to lie. I dont get it at all, well at least the code part. is this considered recursive? and the second question is how do I make a loop that would let the user …

Member Avatar for stilllearning
0
74

The End.