8,298 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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, … | |
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? | |
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 … | |
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# … | |
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!! | |
hai i need c#database connection code with variable declaration and also headerfile | |
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^ … | |
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; … | |
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 … | |
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 … | |
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 ... | |
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 … | |
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 … | |
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 … | |
Hi, I need to code for "Quick reply text box" and also its functionality written in C# lang. Thanks | |
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. | |
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". … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 << "«" << … | |
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 … | |
[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: // … | |
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] … | |
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. … | |
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 && … | |
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 | |
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(); … | |
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 … | |
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 … | |
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> … | |
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 | |
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 … | |
how can we acces properties (eg.employee id,name)defined within a dll to a windows form. someone can help me....... | |
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 … | |
[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 … | |
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 … | |
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 … | |
c++ program that convert integer in to hexadecimal |
The End.