8,298 Topics

Member Avatar for
Member Avatar for hkBattousai

This sample code is from [URL="http://msdn.microsoft.com/en-us/library/aa287786%28VS.71%29.aspx"]MSDN[/URL]. [CODE]private string name; public string Name { get { return name; } set { name = value; } }[/CODE] I looked several examples, and they are the same. Why do we keep two different properties to store the name, namely "name" and "Name". I …

Member Avatar for hkBattousai
0
426
Member Avatar for thriek

Hello. Just asking any fellow nerds out there who program games with c++ or know about it..... about libraries. I know c++ and a few non standard libraries. What I want to know, is what non standard libraries or extras i could use with my compiler to make professional standard …

Member Avatar for baune
0
166
Member Avatar for lewashby

I'M reading the book "Beginning C# Game Programming by Ron Penton". The book is instucting me to create a small framework for a game, the problem is, the book was written for VS 2002 and I'M using VCs 2008 express. I'M instructed to add references to the project, two of …

Member Avatar for Gospp
0
318
Member Avatar for firesock

HI guys, I'm having a rough time trying to solve a problem left by my old colleague, he developed a dll that removes all the controls like combo's, dropdown, hyperlink's and buttons from a page before print or export to excel, but every time i have combo's or checkboxes it …

0
67
Member Avatar for Marine4God

Hello, I'm trying to write a function that uses a C++ string object as its argument, and returns the character that appears most frequently in the string. How would I write this? Is a for loop necessary? Thanks for the help.

Member Avatar for vmanes
0
110
Member Avatar for nirveshverma

hi to all i have a lot of interest in c# but i don't how to and where to start since my mathematical portion is very weak but i want to overcome this and i want to learn c# perfectly please tell me best resource please don't mention about MSDN …

Member Avatar for apegram
1
135
Member Avatar for aldm

Hi to all, I'm solving some numerical analiyse problems in C#. Is there any C# implemented function similar to eval() in Matlab? So, user type the function that he wants to evaluate in text box, and eval(String s, double x) evaluate value of that function with argument x. For example, …

Member Avatar for aldm
0
629
Member Avatar for ansar_el_sonna

Dears I need your advice to make a c# application which execute UNIX commands The application procedure - connect to UNIX box - execute a UNIX script (such as <touch file_name>) from a C# GUI Any suggestions?

Member Avatar for ansar_el_sonna
0
49
Member Avatar for Geodude0487

Hi I'm not sure if the answer is anywhere else in the forums but I have yet to find it. I'm working on a school project where we basically have to write a TicketMaster esque program. We have a main form, with a log-in form, and a register form. We …

Member Avatar for Geodude0487
0
181
Member Avatar for johnroach1985

Hi there. In a day I have to connect to a lot of networks and each network has its own setting. Each time I have to re-configure my Windows Vista Home Edition IP confiugrations which is both slow and quite annoying. Thus I decided to write a program in C# …

Member Avatar for johnroach1985
-1
292
Member Avatar for RobertQQ

Hi all!! I am new to c# and am looking for a site I can go to that has problems for beginners in c#. I tried googling it but was unable to find anything. Does any one know of a site like this? Thanks for the help!!

Member Avatar for kvprajapati
0
253
Member Avatar for hariharang
Member Avatar for KozZZak

Hello, I have a problem, I needed a change from C++ to C#. help anyone? I made it from this: ( This is script in C++ [CODE]using namespace System; using namespace System::Text; using namespace System::Net; using namespace System::Net::Sockets; String^ chr(String^ str) { Char^ c = Convert::ToChar(Convert::ToInt32(str)); return Convert::ToString(c); } Int64^ …

Member Avatar for KozZZak
0
278
Member Avatar for doolsta111

Hi Guys, Im having issue with the following code. I am getting the following error? could someone please assist? [code]#include <iostream> #include <iomanip> #include <string> #include <vector> #include <fstream> #include <stdlib.h> using namespace std; class employee { /* Employee class to contain employee data */ private: string surname; double hourlyRate; …

Member Avatar for Ancient Dragon
0
126
Member Avatar for aarushik

hii frndz i m making a project on hospital management in c# with the help of ado.net in that i have made form of 'daily patient record' in which i take values room charges,test charges,dr. visit charges now i want when i insert value in roomcharges of a patient it …

Member Avatar for kvprajapati
0
97
Member Avatar for c#n00b

Hey, I'm in the process of writing an email header analyzer in C# and i'm stuck on something. Before i go into the problem i think i should write an intro on what i'm looking to achieve. I basically want a program that can read through headers and copy some …

Member Avatar for kvprajapati
0
234
Member Avatar for rohitmanhas_12

Need to delete the selected item from the dropdown from the database with the button click.Also when user clicks the delete button i need to show the alert or confirm dialog box for confirmatiuon that user realy want to delete that item....plz help me ...

Member Avatar for Freon22
0
1K
Member Avatar for Drunk.scientist

I am getting an Error stating canot convert string to Char type code is as follows [code] /* Jonathan Thomas ITSE 2421 intro to object C++ begin sudo code: function takes in string variable called "verb" function uses string function verb.length to determine length of string assigns value to size …

Member Avatar for jonsca
0
208
Member Avatar for smitysmit

at the moment i have 2 answers to queations and the answers are 1,2,3 or 4 but i ow have to make it so the user has to put a work in like "Brazil" but i try to do the same as if the user puts "A" in and it …

Member Avatar for Robert1995
0
148
Member Avatar for arunkumars

Hi all, Want ur help to kick start one of my projects, where in I have to read and write data from USB port. If some1 here could help me out about how can i start and go about it would be a good favor, Also some links which contains …

Member Avatar for Marc Reed
0
168
Member Avatar for codingman

Hi, I need to code for "Quick reply text box" and also its functionality written in C# lang. Thanks

Member Avatar for codingman
-2
116
Member Avatar for prakakat

Hi everyone, I am a newbie in C programming. I need to make an implementation of gets() function from stdio.h, but I am not sure where to start. Please advice, any help is welcome. Thank you, Brian.

Member Avatar for Ancient Dragon
0
87
Member Avatar for bill_

Hi, in this code i am trying to call the function "issueTicket" from class "ticket", in the the function "reserveCabin" in another class called "cruise". Also, i think it is the same problem, i am trying to call function "calTicket" from class "booking", in the function "issueTicket" from class "ticket". …

Member Avatar for tieuyeunu
0
13K
Member Avatar for srikanth754

I have an object like this. List<TSQLBeginTransactionBlock_Ext> beginTranList =new List<TSQLBeginTransactionBlock_Ext>(); Now i want to make some changes to this object but i want the original object as well. I tried created a temporary object like this List<TSQLBeginTransactionBlock_Ext> tempBeginTranList =new List<TSQLBeginTransactionBlock_Ext>(); tempBeginTranList = beginTranList; then I've made changes to this temp …

Member Avatar for Diamonddrake
0
794
Member Avatar for rickymak

Hi, I don't understand the portions I put in bold in this function for converting Fahrenheit to Celsius. The texts are "FtoC." I am guessing "FtoC" is a variable; I really am confused about why "to" is in there. What does the paranthesis (float f) indicate? [CODE]#include <stdio.h> float [B]FtoC[/B](float …

Member Avatar for Narue
0
108
Member Avatar for Buddhika75

I want to raise an event in C# when any one user make an insert or an update to a certain table in SQL server via my C# program. As there are multiple users using the execution file in various locations, I can not do it using the C# cord …

Member Avatar for kvprajapati
0
171
Member Avatar for dmr215

I am kind of new to c++, i usually code in java and php. This is a program that is supposed to read in an input file with very strict syntax that will either create a new stack/queue (implemented subclasses of simpleList), or push a value onto one of those …

Member Avatar for tintin.iitk
0
165
Member Avatar for stryker4526

Alright I'm having a heck of a time figuring out what's wrong with this code. It throws an error of [quote]Error 1 'System.Collections.Generic.Dictionary<Assignment7.Station,int>' does not contain a definition for 'ElementAt' and the best extension method overload 'System.Linq.Enumerable.ElementAt<TSource>(System.Collections.Generic.IEnumerable<TSource>, int)' has some invalid arguments7[/quote] However, when I was writing the code I …

Member Avatar for stryker4526
0
678
Member Avatar for Toysh

I am a beginner trying to write a program for my intro C class. I am trying to write a program that calculates the combination of numbers given a specific output by the user. The number has to be between 1-10 to be valid. I am not allowed to use …

Member Avatar for peter_budo
0
498
Member Avatar for sjgman420

I dont even know where to start with this program. I have been really busy and he tells us what to do. If anyone could help with this it would be great. here is what it says to do ASSIGNMENT DESCRIPTION This program will simulate the card game WAR!. The …

Member Avatar for Freaky_Chris
0
885
Member Avatar for class11a

Hi, I’m trying to use the following code in C++ on Mac OS X Snow Leopard to get the output of an external program through a pipe. [code=c++] FILE * al = popen("program program.cfg", "r"); string data; char buffer[100]; while (fgets(buffer, 100, al) != NULL) data.append(buffer); cout << "«" << …

Member Avatar for class11a
0
202
Member Avatar for calina.stoica

I have to use speech.synthesis in order to convert a text message to voice , and then to inject this voice message in the call when it is answered. Can somebody help me with this? I have already converterd text to voice and now I don't know how to inject …

0
21
Member Avatar for techstu

[QUOTE]hi...I had to read a xml file in c#...i Had written the following code but the desired output is not coming..[/QUOTE] [CODE]using System; using System.Xml; namespace ReadXMLfromFile { class Class1 { static void Main(string[] args) { XmlTextReader reader = new XmlTextReader("my.xml"); while (reader.Read()) { switch (reader.NodeType) { case XmlNodeType.Element: // …

Member Avatar for techstu
0
183
Member Avatar for Bugz

I'm a long time C programmer, but I'm only starting to learn C#, so forgive me if this is question that should be intuitively obvious. In C, I dislike 'magic numbers' in code, such as this: [CODE] var_name = 1234; /* what is the significance of this value??? */ [/CODE] …

Member Avatar for Bugz
0
215
Member Avatar for adam2009

Hi, I have got some questions. I hope someone could help me out. 1. I have wrote two methods in c# that manages local users in WinServer2008: adding local user and removing local user. Adding a local user work just fine. I have encountered some problems removing that user afterwards. …

0
87
Member Avatar for Robert1995

Hello , I have tried several ideas , times and ways to do this but all fail on the site's test , could any1 give me an idea or something [URL="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=98&page=show_problem&problem=1415"]Problem[/URL] [CODE] #include <iostream> using namespace std; long int q,n,i,point,casenr; long int marbles[10000]; int main (){ while(1==1){ cin>>n>>q;casenr++; if(n==0 && …

Member Avatar for Robert1995
0
129
Member Avatar for makdu

Hi, i have created a batch file for uninstall a c# application. [code] @echo off @msiexec /qr /x {********}[/code]But when the user click the uninstall option, a command window is poping up. I searched in net for a solution, but didnt get any solution. Please help

Member Avatar for kvprajapati
0
78
Member Avatar for johndoe444

In the following code: [CODE]#include <iostream.h> class Base { public: Base(){ cout<<"Constructor: Base"<<endl;} ~Base(){ cout<<"Destructor : Base"<<endl;} }; class Derived: public Base { //Doing a lot of jobs by extending the functionality public: Derived(){ cout<<"Constructor: Derived"<<endl;} ~Derived(){ cout<<"Destructor : Derived"<<endl;} > }; void main() { Base *Var = new Derived(); …

Member Avatar for Narue
0
167
Member Avatar for simbomatic

Hello, I'm curious to know whether it is possible to expose the functions of a C# application so that they could be used by another C# application in runtime. The thing I am referring too is quite similiar([I]might even be the same[/I]) as using an API. I have searched on …

Member Avatar for simbomatic
0
988
Member Avatar for Ginkan

Hi all, Im new to this forum and also very new to C++, Im tring to write something with DirectX, but once I use DirectDrawCreateEX(), VC++ give me: --> error C3861: 'DirectDrawCreateEX': identifier not found My environment is Windows 7, VC++ 2008 Express Edition, Installed DirectX SDK FEB 2010, Any …

Member Avatar for kenji
0
84
Member Avatar for allaboutdrew

I am recently new to C++ and I wondered if someone could show me how to modify my program below. I want the program to test if there is more than 1 day that has the highest rainfall and susequently to output those corresponding days. Than you :) [CODE]#include <iostream> …

Member Avatar for gnarlyskim
0
125
Member Avatar for Dhammakirty

i have to create a windows application that split up into BO & UI 1. dll 2.class containing all properties (eg.employee id,name(table-employee)) 3.strongly typed data table to hold employee skill(table -employeeskill id,language,skill) 4.fetch & save code to BO 5.integrate BO & UI

0
64
Member Avatar for theblastedfool

Hey guys, ive been working on this code for the past couple of hours and I am trying to do the following problem. Write a program that reads the le generated by randGen.cpp (in Problem 1) and stores the numbers in an array of type int. You can assume that …

Member Avatar for mattjbond
0
215
Member Avatar for Dhammakirty

how can we acces properties (eg.employee id,name)defined within a dll to a windows form. someone can help me.......

Member Avatar for Sals
1
142
Member Avatar for GAME

I have just translated my delphi project to C#. I need a little help fixing some of the code I couldn't fix. One code I couldn't fix was xplode. Here is my source: [code]using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Threading; using System.IO; using System.Text; using …

0
68
Member Avatar for wale89

[QUOTE]Hello..can anyone help me in order to solve this problem regarding the collision that happend.. I use the modulo-division hash function and intended to use the chaining solution method to resolve this collision but i got stuck.. because i dont really have the full knowledge in link list..Can someone that …

Member Avatar for craig_ka
0
634
Member Avatar for datapham

when i choose a row of dataGridView with the event Selectionchanged , how to display the record in textboxes ? Thanks.

Member Avatar for datapham
-1
135
Member Avatar for bsdbum

Hello. This is my first posting so I will try to be as detailed and clear as possible. I am running into a problem with a method returning an incorrect value and I can't quite seem to figure out why. I'm building a Rolodex which is really just an object …

Member Avatar for bsdbum
0
448
Member Avatar for prushik

Hello everyone I am trying to learn about the compilation process. I am working on a pretty simple SDL game, but I know that making games isn't very practical, so I am using the project to learn about other programming aspects as well. One of the things I am trying …

Member Avatar for Banfa
0
202
Member Avatar for Arslan Khan

The End.