8,298 Topics

Member Avatar for
Member Avatar for Erslich

Hi all :) I'm having a few problems with this assignment I'm working on. Its a Java - C# conversion of a Mandelbrot program. What I'm trying to do, is draw the Mandelbrot to a Bitmap, and then print it onto the Windows form. So far I've been able to …

Member Avatar for Chrisakak9
0
622
Member Avatar for cortez716

If you are viewing my post, thank you for taking the time to hep me out. It is greatly appreciated. Here is what I'm trying to do: Write a function called Square2 that will take as arguments an integer and a double. With the use of references i want my …

Member Avatar for cortez716
0
167
Member Avatar for tKc

I need help in reading a text file and by using a switch statement the user can either press 1 to find the average of all the integers in the text file, and by pressing 2 they find only the averages of the real numbers (only positive integers) in said …

Member Avatar for Ancient Dragon
0
476
Member Avatar for RobBobSmith

Hello all, I would be grateful for some help with a function template problem. I cannot figure out how to pass a matrix as an argument in a template function. I keep getting the error "does not match any template declaration". Can anyone suggest what my problem is? Have I …

Member Avatar for Fbody
0
186
Member Avatar for Blitze

Hello, I am in Object Oriented Design for C++ at the moment... The test we are having has a question on it and the professor wants us to find and know the answer before we come in for the test. The question is this: The following code out puts what …

Member Avatar for Blitze
0
134
Member Avatar for judithSampathwa

I have a file uploader in a web page which allows to upload excel files only, hwat I want to do is in the code , to open the excel file and get the values in the excel file which Is in different cells to the mdf file in visual …

Member Avatar for judithSampathwa
0
249
Member Avatar for sachintha81

I am a bit (well, actually a lot) confused with how exactly I should use the Dispose() method on SqlConnection object in C#. First let me tell you what I have learned so far (I've been reading a LOT on the subject for the past 24 hours, and I'm still …

Member Avatar for Momerath
0
2K
Member Avatar for judithSampathwa

hi there, i have a question in LINQ in C#, i have a webpage and in that i have a button called clicl and theGridview . i have a LINQ to SQL class with the Employee and the USErLogin which the EID in the Employee calss is a foreign key …

Member Avatar for judithSampathwa
0
249
Member Avatar for kavisg1

I am new to the website and also to programming. I have an assignment I am working on which is included below. I am having a difficult time getting started with the code and not sure of what needs to be done. Any advice and help is appreciated. Thanks in …

Member Avatar for Momerath
0
176
Member Avatar for Christ1m

The book Im using. Pg 108 - 124 Objects Abstraction, Data Structures and Design using C++ Author: Elliot Koffman and Paul Wolfgang I have a problem with this code. All of these errors are occurring in the Phone_Directory.cpp. It is in, getline, << , out. .......functions... I tried getting these …

Member Avatar for Intrade
0
215
Member Avatar for itpipx

#include<iostream.h> class Exforsys(); { private: int a; public: Exforsys() {} Exforsys(int w) { a=w; } Exforsys(Exforsys& e) { a=e.a; cout<<"Example of Copy Constructor"; } void result() { cout<<a; } void main() { Exforsys e1(50); Exforsys e3(e1); cout<<"\ne3="; e3.result(); } }

Member Avatar for itpipx
-1
134
Member Avatar for arshadziard

Hi There, This is my code. I'm pretty sure that theres nothing wrong so far with this code. But gives me an unexpected error. The error says, Invalid column name 'Sep'. But, even through out the whole code, nor on the database theres any column or word called, 'Sep'. So …

Member Avatar for arshadziard
0
242
Member Avatar for abhishekrs
Member Avatar for a-hall

I have setup an array and i have calculated the sum of my array. Now i need to find standard deviation of the numbers entered in my array. here is my code [CODE]#include <iostream> using namespace std; int main() { int i=0, count, maxSize = 36; double arr[36]; double number; …

Member Avatar for Fbody
0
144
Member Avatar for glenak

Hi, So I've been having problems with my Eclipse C++ IDE. In other words, I haven't been able to run anything, not even a hello world program. I think the problem has to do with the fact that I don't have a c++ complier in my system. I use Windows …

Member Avatar for glenak
0
154
Member Avatar for Erslich

Hi All, I am working on a Mandelbrot. I can draw the Mandelbrot to a bitmap and then paste it on the form. What I WANT to be able to do is when the user drags their mouse over an area, it redraws the Mandelbrot with the x and y …

Member Avatar for Erslich
0
149
Member Avatar for Christ1m

Okay. This problem is from "Objects,Abstraction,Data Structures and Design using C++" by Elliot Koffman and Paul Wolf Gang pg127. #2 Implement an array- based program application that manages a collection of DVDs. The data for each DVD will consist of a title , a category, running time, year of release, …

Member Avatar for Unimportant
0
212
Member Avatar for Coemgen3

Hi there, I have only just began the proccess of learning C# Programming (this week)returning to education as a mature student, one of the assessments I have been given is to find out how to, and then write a program using 'nested for loops' to display the 1,2,3 and 4 …

Member Avatar for kplcjl
-1
133
Member Avatar for sahanaC

I have uploaded audio files (saved them) into the SQL Server 2005 database. I need to prepare a "play sound" button to allow users to click it and listen to the sound. I have the following code to retrieve the audio file from the database. protected void playsound_btn_Click(object sender, ImageClickEventArgs …

Member Avatar for MichaelWClark
0
800
Member Avatar for fallen_prisoner

hi i am new to programming and have had problems installing C++ on vista. Is it possible to get C++ working on vista or will I need to switch back to XP or ubuntu? Does Bloodshed work on vista?

Member Avatar for asmail2020
0
177
Member Avatar for ali_zdn

[code] List<object> ap = new List<object>(); [/code] my object classes are the classes that i have created. for example; [code] class istanbul { public istanbul(string a , int b) {this.a = a ; this.b = b ; } public string a ; public int b ; } ap.add(new istanbul("dsklfjsf", 12)) …

Member Avatar for Geekitygeek
0
172
Member Avatar for JayshrreeU

Pls help me. floodfill in not working in C#. every code is working but following code is not store the image with fillcolor. System.Drawing.Bitmap b0 = System.Drawing.Bitmap.FromHbitmap(hbm0);

Member Avatar for CloneXpert
0
49
Member Avatar for seb00007

hi I need a program in C++ that returns the number by only integers; for exmaple if you input a numbre X= 43756, the program will show: 6 5 7 3 4 and it will also show the number: 4 3 7 5 6. Please someone help me

Member Avatar for myk45
0
98
Member Avatar for chamnab
Member Avatar for alex55
0
153
Member Avatar for Davenavie

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; //first step add this namespace Project4 { class Program { static void Main(string[] args) { Random random = new Random(); { int m = 0, j = 0, k = 0; Console.WriteLine("Enter Statet(m or j or k)"); String state = …

Member Avatar for Davenavie
0
129
Member Avatar for Nicko_FaTe_

I am trying to make a text based game for a university assignment, this is an extension of a game i coded previously, with a fhew improvements, i originally had it where you choose two potions, you mix them together, and give it to the princess, i now have to …

Member Avatar for Schol-R-LEA
0
217
Member Avatar for tKc

I have to write a program that reads a text file that contains +/- values and characters and outputs any invalid characters (anything that is not an +/- integer) and also at the end i have to have it print out the total number of how many invalid characters there …

Member Avatar for tKc
0
85
Member Avatar for DanielWuVB

can somebody tell me which book for beginner in C++ .... I have some background in VB6 in old time ... Thanks !

Member Avatar for DanielWuVB
0
132
Member Avatar for shibin09

i created a program for network chat in C # with sql server 2005 database.Here.. i created two setup files.One for Administrator systm and another for client system. Admn sys contains sql database and all stored provcedures.And i installed sql servr in admn systm. Client systm is just accesing admin …

Member Avatar for Mitja Bonca
0
151
Member Avatar for thecreators

Hi all, I am new to threading. I am trying to send HTTP Web Request using multi threading, I am not able to acheive what I need. My requirement is to send request to thousands of same or different websites and parse the response i get it from httpwebrequest. In …

0
82
Member Avatar for RickSMO

I'm having a horrible issue with this exercise in this book. It sees no errors unless I try to run it or go into debug mode. in Debug mode it says " line 39 Input string was not in a correct format." If I run it without debugging, it crashes …

Member Avatar for RickSMO
0
137
Member Avatar for jay_el_em

Hi all I am a beginner programmer, and I think I might have bitten off more than I can chew.I've done some small projects, and then decided to do a simple banking app, just as a learning exercise. Problem is I don't know where to begin, and I've not created …

Member Avatar for Mitja Bonca
0
108
Member Avatar for Mittwaffen

I'm in a rough situation, i'm currently re-reading all of my textbooks to assist me with this work, however I am really in a rough spot being time limited I really want to get somewhere from what I have (and fix what I have). What I need to correct/add. -I …

Member Avatar for Schol-R-LEA
0
113
Member Avatar for cortez716

If you are reading this post thanks for your help, I really do appreciate your help... Now on to my question I am trying to write a program that reads and echoes integers until the difference between two successive integers is greater than, or equal to, 10. [I'll need the …

Member Avatar for StuXYZ
0
139
Member Avatar for tagazin

Hello I cannot figure out by myself these errors: error C2143: syntax error : missing ';' before 'using' error C4430: missing type specifier - int assumed. Note: C++ does not support default-int I surfed the web but I'm still stuck; I believe my problem it's with the Windows Headers. I …

Member Avatar for tagazin
0
178
Member Avatar for judithSampathwa

hi there, I have to list boxes and in one list box there is all the names of the employees, there is two buttons which represent the arrows to sending the selected item from list box to another, how can I get the values in on list box to a …

Member Avatar for judithSampathwa
0
263
Member Avatar for Dorababu743

Hi all, I designed an application in c# using winforms. I would like to have a serial key or a license such that the license must be valid for some amount of days(suppose a week or so). After that the application should not run on the machine where he installed …

Member Avatar for Dorababu743
0
60
Member Avatar for canadianpanda

Hello, I am new to C++ and I am trying to create a program but I am not sure where to start exactly. Program purpose : Person/Player is asked to enter a number between 1 and 100. The computer randomly guesses a number and the player says whether its (h)igher …

Member Avatar for gerard4143
0
97
Member Avatar for Dani

You might find this a bit silly, but could someone please explain to me how to do C++ templates? I know they're very simple ... I just never learned them nor ever had a teacher who taught them or even made mention of them.

Member Avatar for phfilly
0
456
Member Avatar for foluis
Member Avatar for Nemo_NIIT

HI Friends i want to do the connective in C# window application with sql server and in that even i want that if client put information in text box's and click on submit the information should go in sql server db and then again if he is putting same information …

Member Avatar for hassan12345
0
242
Member Avatar for stan lee

hi a set top box is connected with the tv testing the source signal resolution is 720x480i and the tv resolution is 1280x720p... the signal resolution is converted to tv resolution and proper output should be displayed.This was the process Here we have to change different resolution for tv and …

-1
129
Member Avatar for ibdatx

Hi all, I am attempting data binding in WPF. I have a class Recipe and another called RecipeService. There seems a problem with the RecipeService class in terms of compatibility with the Recipe class as when I add its type to the ObjectDataProvider in the XAML file, I get an …

Member Avatar for Antenka
0
490
Member Avatar for iloveall

Can you guys help me build conway's game of life? I don't need anyone to build it for me, but if you could help me work through it, I have no idea how to implement the rules correctly. Here is the basic board which I have set up so far.. …

Member Avatar for kes166
0
364
Member Avatar for Baby_girl

hello...i want to ask something about the GUI in c++.. how can i develop the program for stereo vision image using GUI in c++?? i don't have any idea to develop this program. Can u give me any idea to solve this problem

Member Avatar for Stefano Mtangoo
0
32
Member Avatar for 1bh

Hi guys, So my code is below. This is a simplified version of the shell... It does not continue for ever... I guess its actually rather a program to accept a command.. has the fork and the execve etc. Anyways when i compile it and run it in the terminal …

Member Avatar for abhimanipal
0
242
Member Avatar for mulevad

Hello, I am trying to send a text message to my phone in C#. I have added a Web Service Reference to my solution. It is described as: vijju311985 RPC SMS Services You Can Send Sms for free The WSDL is at: [url]http://www.aswinanand.com/sendsms.php?wsdl[/url] I created an account on xmethods.net and …

0
105
Member Avatar for AngelicOne

I have this code [CODE] protected void loginbutton_Click(object sender, EventArgs e) { Int32 d = checkuser(uid.Text, pwd.Text); if (d == -1) { prompt.Visible = true; prompt.Text = "Unregistered ID. Please make sure that you have a registered account and you have correctly typed in the user ID"; } else if …

Member Avatar for dnanetwork
0
114
Member Avatar for Man44ever

hey i want to change the textbox from the dropdownlist.....whatever item is selected from my dropdownlist i want to display in my textbox......i have used the below code but its not working. and i also want to autogenerate the code for employee code for eg. if employee first name Aaron …

Member Avatar for dnanetwork
0
86
Member Avatar for Man44ever

i want to update the row in gridview but it give me one error Object reference not set to an instance of an object. how to update the current row selected in grid view.......please help! [CODE] public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { …

Member Avatar for dnanetwork
0
131

The End.