8,298 Topics

Member Avatar for
Member Avatar for nathan08

hallo everyone, its good to be a part of such a huge group of tech and programming gurus. am a new to programming in c# and was hoping that there is someone out there who can help me in a small project that i have. i've attached it below,(2 files). …

Member Avatar for LizR
0
78
Member Avatar for tomtetlaw

I'm learning c++ at the moment, and i just learnt about classes, so i decided to make a text game with a badguy and player class, and i was wondering how to refer to other classes variables(like this.health) from other classes. and wether you have to create an instance of …

Member Avatar for sid78669
0
184
Member Avatar for babi

I need to use an array of chars to input chars from the console but I don't know how many chars will be actually inputed. How can I have an array of chars whithout knowing its size in advance? I could put the array with a very high size but …

Member Avatar for Freaky_Chris
0
590
Member Avatar for tomtetlaw

Hi all, I am making a text game in c++ and i am trying to get the player's attack to ba a random number between 1 and 7, but when i try to compile it, it gives me this error: 49 C:\Documents and Settings\Games\Desktop\C++ Tutorial\Combat\main.cpp void value not ignored as …

Member Avatar for Narue
0
323
Member Avatar for rawmode

hello our pro asked us to do some application using C# , he said it is simple , but im not pretty good at C# , so i wrote most of the program but after all i came to a dead end , when building/running the project i get 4 …

Member Avatar for LizR
0
154
Member Avatar for akmed

I am doing C++ assignment, it invols designing a program where the user can put binary numbers and gets a word in result. I have done the first part of the program but i am strugling to do the the last to tasks. Here is what i have done so …

Member Avatar for AHUazhu
0
127
Member Avatar for knowledgelover

Hi there, I am developing a page (using a button) to upload a file from a server , and I need the file instead of being viewed on the page it self, to be showed as a link only and this link is saved in a data base , then …

Member Avatar for binoj_daniel
0
88
Member Avatar for micky692002

Hi guys, I have to make a program for my programming class and I have no idea of how to do it. Can someone help me? Here's the program that I have to make in C++. A common memory matching game played by children is to start with a deck …

Member Avatar for Murtan
0
3K
Member Avatar for antonis233

hi im try to do a program to put binary number like this 1 0 0 0 and after display in this way 0001

Member Avatar for Freaky_Chris
0
49
Member Avatar for Undermine

[B]header[/B] [ICODE] class DeckOfCards { public: DeckOfCards(); void Shuffle(); void deal(); void hand(); private: int deck[4][13]; int numcard; int row; int col; }; [/ICODE] [B]main[/B] [ICODE] #include "dc.h" using namespace std; int main() { DeckOfCards DeckCards; DeckCards.Shuffle(); DeckCards.deal(); DeckCards.hand(); return 0; } [/ICODE] [ICODE]#include <iostream> using std::cout; using std::cin; using …

Member Avatar for mrboolf
0
110
Member Avatar for jainendra.shah
Member Avatar for LizR
0
71
Member Avatar for sid78669

I sometimes wish they would have kept some features from c++ in C#. Anyways, I was trying to try an old c/c++ trick: [CODE]#define SUM 1[/CODE] but it does not work in c#. Anybody know how to declare symbols in c#?

Member Avatar for sid78669
0
106
Member Avatar for sid78669

In c++, when we create an array using dynamic memory allocation, we are able to destroy it later on using: [CODE]delete [] array;[/CODE] is the same thing possible in c#? If i create an array in C#, then how do i delete it when i don't need it?

Member Avatar for sid78669
0
5K
Member Avatar for shankhs

I have just started learning C#.... But I am not getting any good place or book to learn I know C/C++. I would also like to learn .NET(I have no idea what it is). Can you suggest some book or place from where I can start with?

Member Avatar for Ved_TheOne
0
144
Member Avatar for Nina 4 Ever

Hello every body. i'm new here , and i didn't have the chance to introduce myself.i will,later...but for now:...i need help designing a mini C# compiler...i tried to find something practical to implement the symbol table using a hash table, but i found nothing really useful on the net...any ideas??? …

Member Avatar for Nina 4 Ever
0
360
Member Avatar for karthi_selva

hi, i am doing a project in C#, i have not much knowledge in c#. the task is display the icon inside the form. i searched in google. still i am not getting information. if anybody know please send ur details. Thanks & Regards, Karthikeyan S

Member Avatar for karthi_selva
0
175
Member Avatar for serkan sendur
Member Avatar for jbennet
0
62
Member Avatar for sierrasoft

I want to convert a VB6 Application with many Forms to C# .Net 2.0. How can i do it. Is there a tool available?

Member Avatar for mjuras
0
505
Member Avatar for nikola.rosic

Well i have one main form which i run like an application.On that main form i have 3 buttons which are opening another 3 forms(instances of Form2 class) which are of the same class Form2. So i have : Form2 form1=new Form2(); Form2 form2=new Form2(); Form2 form3=new Form2(); all of …

Member Avatar for LizR
0
257
Member Avatar for bhavna_816

I am creating a folder watcher application. If a new powerpoint file gets added in the folder it should get started automatically. So if I put .pps file into the folder then and I say [code]System.Diagnostics.Process.Start(fullPath);[/code] it works fine. This is not the case with .ppt files Only the powerpoint …

Member Avatar for LizR
0
623
Member Avatar for cbreeze

I have to build a card game war in a C++ card game. The program must randomize a set of cards for both the user and a computer player. the cards are 2-14 for one array then a parrallel array for suit 0-3. then organize each hand in descending order …

Member Avatar for Freaky_Chris
0
2K
Member Avatar for psathish2

hi ... i want send email in the my application server to other email address.. below the code i used but not working plz help me....... Code header file: [code=asp.net]using System.Web.Mail; //if i click the button send mail to other email address..i used below the code........ MailMessage mail = new …

Member Avatar for greeny_1984
0
136
Member Avatar for spool

Hay guys, I was looking at a few examples of how a Radix sort works, and writing up a document explaining it. I based my findings on one particular example I found, link follows. [URL="http://www.cubic.org/docs/radix.htm"]http://www.cubic.org/docs/radix.htm[/URL] Well the bit shifting here is giving my head a bit of a spin, and …

Member Avatar for rezzy1
0
811
Member Avatar for redrum237

hi. i am looking to run the following queries from the project zipped with this message: 1. List all lecturers in alphabetic order by surname within a selected department. 2. List all lecturers within a selected faculty. 3. List all modules taught by a selected lecturer. i am having trouble …

Member Avatar for redrum237
0
63
Member Avatar for insideout

Hi all... I'll try my best to keep this query as compact as possible... I'm currently working on a project that involves generating alarms/notifications for the Automated Distributed Control System at the company. Well, for this, the team has created Notification Client and Notification Server Applications. There is also another …

0
40
Member Avatar for emilio

hi i'm using a datagrid view control which get's his datasource from a dataset control. my code is: [CODE=c#]dataGrid = new DataGridView(); dataGrid.DataSource = dataSet.Tables["Vertexes"]; this.Controls.Add(dataGrid);[/CODE] the datagridview in shown fine. the problem is that when i try to cahnge cells color like this: [CODE=c#]for (int x = 0; x …

Member Avatar for reena12
0
1K
Member Avatar for CPPNOOB

Hey i need help with the final assignment of my Microsoft Visual C++ class and its a hard one its an online address book where it keeps a bunch of information such as name id birthday and etc. i know it looks messy but if you copy paste into the …

0
57
Member Avatar for shobhatai
Member Avatar for Yilon

First, let me introduce myself. I was a pretty good C programmer, back when [and very modest as well.] I got into other lines of work and have been out of programming for several years. The other lines of work have ... you have read the headlines, right? I need …

Member Avatar for Ancient Dragon
0
170
Member Avatar for Agrawal_rakesh

Hi. I am developing a windows application in C#. I want the source code of Image Editor in C# windows application whose work like MS Paint. on which we can write text on image dynamically through mouse drag and drop. also we can drag other controls like arrow or box. …

Member Avatar for serkan sendur
-1
83
Member Avatar for Agrawal_rakesh

Hi. i am developing a windows application in C#. i want the source code for write text on image dynamically through drag and drop control in C# or Source Code for Insert usercontrol like textbox or line/circle on image thanks in advance

0
54
Member Avatar for sept567

Hello, I am working on a Tic-Tac-Toe program in C++ which I want to have AI that will either win or draw every time, but will never lose. I think that this is within my grasp, though I am not at all an expert programmer. I would really appreciate if …

Member Avatar for sept567
0
174
Member Avatar for sumitk538

can anyone give me the program in turbo C++ for the conversion of decimal numbers to hexadecimal numbers, octal numbers to decimal numbers. it will be so kind of you. thanx.

Member Avatar for Freaky_Chris
0
75
Member Avatar for emilio

i'm trying to open an existing excel worksheet. my code is: [CODE=c#]Microsoft.Office.Interop.Excel.Application excelApp; Microsoft.Office.Interop.Excel.Workbook excelWorkbook; Microsoft.Office.Interop.Excel.Worksheet ExlWrkSheet; private object Opt = Type.Missing excelApp = new ApplicationClass(); excelWorkbook = excelApp.Workbooks.Open("..//..//Data.xls", Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt);[/CODE] on the last line i get an …

Member Avatar for LizR
0
226
Member Avatar for Vallnerik25

I have a few questions about c strings, string literals, c++ string objects and how pointers and constantness all come together. I am wondering why a c string can be set like this but can't be changed dynamically with an assignment operator like this. [CODE] char str [] = "string1"; …

Member Avatar for Vallnerik25
0
189
Member Avatar for Rocket452

Hi, I am using a C# application that interacts with a TSQL stored procedure. The problem is that my SqlDataReader property .RecordsAffected always returns -1 regardless of whatever kind of select, update, or delete query I run. Here is my relevant code: [code] SqlDataReader myReader = null; SqlCommand command = …

Member Avatar for LizR
0
166
Member Avatar for Bleek

hey... im in a c++ class at school but i also program at home. my teacher refuses to teach me graphics and i wanted to know if there was an easy way to just basically cout a graphic. if this is noobish and i need to learn a lot more …

Member Avatar for Manutebecker
0
395
Member Avatar for qaizaar

how do i read an input in LC-3 where it checks for yes or no as an answer to a prompt and returns 1 if yes and no if 0. thanks

Member Avatar for c0dex
0
137
Member Avatar for rajeshswain

Hello, I have a main page to which i have added a toolstrip along with menustrip. While running my application login page appears. I need, these two i.e. menustrip and toolstrip to remain disabled until successful login. However, i managed to disable the menustrip, but I am unable to disable …

0
92
Member Avatar for serkan sendur

hi, i need to create a c shared library on unix platform using korn shell. can you provide me with some sample codes please. thanks

Member Avatar for serkan sendur
0
131
Member Avatar for IT_Techno

hi, ihave this code in c# for crating cookies : if (saveInCokies_CheckBox.Checked) { HttpCookie myCookie = new HttpCookie("AtterehWebCookies"); myCookie["userName"] = userName_TextBox.Text.Trim(); myCookie["password"] = password_TextBox.Text.Trim(); if(employee_RadioButton.Checked) myCookie["loginType"] = "employee"; else if(lawyer_RadioButton.Checked) myCookie["loginType"] = "lawyer"; else if(customer_RadioButton.Checked) myCookie["loginType"] = "customer"; Response.Cookies.Clear(); Response.Cookies.Add(myCookie); Response.Cookies["AtterehWebCookies"].Expires = DateTime.Now.AddDays(30); } after that i want to read …

Member Avatar for LizR
0
124
Member Avatar for faizurrahman

I want to add checkbox for each record in datagrid on windows form with c# vs 2003. Please any help can solve my problem. Howdo do this.

Member Avatar for LizR
0
75
Member Avatar for yingfo

Hi I was wondering if anyone could help I'm receiving a segmentation fault whenever I go to run my main.cpp on my program. I've never encountered this before and was wondering if anyone knew how it can be fixed. The program consist of equiv.h, equiv.cpp, graph.h, graph.cpp, and main.cpp here …

Member Avatar for yingfo
1
260
Member Avatar for carobee
Member Avatar for complete

After someone creates a DLL in C# using the Microsoft Visual development environment, how would another programmer take that code, make a new project that includes the DLL's source and make a GUI that uses the DLL'S API?

Member Avatar for dickersonka
0
136
Member Avatar for anazahra

Hi there... I want open 3 image at one time using C# but i dont know how....:( I'm at beginner level in C#. Please help me in this problem... :'( Thanks a lot....

Member Avatar for dickersonka
0
92
Member Avatar for syphon_hawk

I need help with errors I am getting with my program that is suppose to take in lines of text and out put the number of letters to the user. I have a lot these errors [QUOTE]expected primary-expression before ' ' token[/QUOTE]

Member Avatar for syphon_hawk
0
184
Member Avatar for chchiu
Member Avatar for mrboolf
0
128
Member Avatar for IT_Techno

hi every one i have c# project every time i need to install my project at any computer i need to install crystal report and dotnet framework 2.0 at that computer before . that cost alot of effort and time is thier any way to include the dotnet framework inside …

Member Avatar for LizR
0
119
Member Avatar for karthi_selva

Hi, i created run time treeview. i do't know how to collects the datas from that treeview. please send the syntax to me. i am searched in google but i m not get any relevant information. Regards, Karthikeyan S

Member Avatar for LizR
0
96

The End.