8,298 Topics

Member Avatar for
Member Avatar for Jay22

I need help fixing this one error with my code. Below Im going to upload a piece of the code which im having problems with and the output error . [CODE]int main() { int vals[100]; fstream file; string line = "----------------------------------------------------\n"; string msg2 = " Please select an option from …

Member Avatar for Jay22
0
217
Member Avatar for dresdor

Taking the advice of one of my relatives, I'm learning c#. Now, I've come to understand that I learn best by tinkering and playing around with things, and if I have a problem in front of me, I will learn quickly. I understand programming basics well enough, but most of …

Member Avatar for darkelflemurian
0
235
Member Avatar for johnnyzats

So this program is supposed to take in a sentence and output it with correct spacing and capitalization. -For example if I entered: heY, How are You doing? -the output should be: Hey, how are you doing? The program runs fine, I just cannot get it to output. [CODE]#include <iostream> …

Member Avatar for WaltP
0
760
Member Avatar for greatbuttar

hi everybody! :) I have 4 tables in my mysql database as user car_description techniqual_description saled_serial_numbers In user table user_name is the primary key. In car_description there is car_id as primary key and serial_number as foreign key which is primary key in table saled_serial number and user_name as foreign key …

Member Avatar for jbennet
0
126
Member Avatar for aravind_aravind

This gives me error..how to solve this... class nameex { public object call() { dynamic expando = new ExpandoObject(); var p = expando as IDictionary<String, object>; p["Demo"] = "New val 1"; } } } class de { dynamic n = new nameex(); x.call(); n.Demo = "Welcome"; Console.WriteLine(n.Demo); }

Member Avatar for skatamatic
0
160
Member Avatar for sandeepparekh9

Ever Thought if it was possible to not WebBrower control and use the Firefox Browser in your c# window Application...?? Yes ,, It is possible using GeckoFx wrapper class for C#.net and vb also. You will need the Followings: 1. [URL="http://code.google.com/p/geckofx/downloads/list"]GeckoFx Wrapper[/URL] 2. [URL="http://mirrors.directorymix.com/mozilla/xulrunner/releases/1.9.1.2/runtimes/"]Xul Runner[/URL] (Download the zip file from …

Member Avatar for newlonator
0
936
Member Avatar for phorce

Hello I'm working on a project, and I have the following classes: [LIST] [*]Loader - This loads the contents of the text file [*]Matrix - This processes the data that has been loaded [/LIST] Now I'm using association, Loader -> Matrix In my matrix class I have a method that …

Member Avatar for histrungalot
0
164
Member Avatar for wildplace

let say, i have a House object; House* someHouses = new House[100]; -----fucntion call... may or may not add stuff to someHouses ------ now, i want to get to the last position that haven't used yet. i tried to check NULL, and 0, both doesn't work. how can i check …

Member Avatar for mrnutty
0
5K
Member Avatar for JohnSoftware

I'm creating a game, the game is designed on 2d array of 12x12 The game is a remake of the 1984 pengi. I'm having trouble creating the array making the array fit the screen size. in the attachment in the Game1.cs I have initialized the 2d array of blocks randomly …

0
57
Member Avatar for mrmodest34

Greetings, this is my first post here but I will try to do it correctly. I know this specific question is a common one, but I am not looking for someone to do it for me, I just need someone to help me out a little. I understand the basics …

Member Avatar for mrmodest34
0
235
Member Avatar for ChaseRLewis

Well been working on a project that has a bit of sandbox approach to building things. It works pretty well, but I want users to be able to implement C# script for the objects or to keep track of them and perform analytics. I have got it somewhat working as …

0
63
Member Avatar for kamilacbe

Hi.... I want to write a little application to get the NetBIOS names of a remote machine...exactly like the command nbtstat -a [IP], but in a programmatic way. I googled around quite a bit but without success. Could someone plz guide me how to go abt doing this. Thanks

Member Avatar for BobS0327
0
89
Member Avatar for mayankshri

Hi i am open a word file 2007(.doc file) in a rich text box through open dialog box. It works fine but images and bullets are not shown in a rich text box. i want to open open word file with images and bullets in a rich text box. I …

Member Avatar for thines01
0
420
Member Avatar for abhijeet P

Hello all, I have a code to encrypt data in C# and I want it to b decrypted in Java... following is the C# code [CODE]string Encrypt(string textToEncrypt, string key) { RijndaelManaged rijndaelCipher = new RijndaelManaged(); rijndaelCipher.Mode = CipherMode.CBC; rijndaelCipher.Padding = PaddingMode.PKCS7; rijndaelCipher.KeySize = 0x80; rijndaelCipher.BlockSize = 0x80; byte[] pwdBytes …

0
78
Member Avatar for triumphost

Is there any C++ .Net IDE's around? I mean visual studio is ok.. it just isn't as good as SharpDevelop which only does C#, VB and a few others. It doesn't do C++ that's why I'm looking for a C++ version of SharpDevelop. Any Ideas? SharpDevelop [url]http://www.icsharpcode.net/opensource/sd/[/url]

Member Avatar for thines01
0
449
Member Avatar for aniperiye

hi, i want to lock a folder, contains an decrypted video file. Along with this i want to play this file using windows application. But no one can copy or cut this file while playing. Is there any method to develop this? Here actual scenario is need to play a …

Member Avatar for skatamatic
0
3K
Member Avatar for LisaMcOsker

Customers of 65 years and over are entitled to discount of 20% on all purchases from an online shopping site. Write compile and test a program which will read in a customer’s age, and inform them whether or not they are entitled to discount on purchases. I have this so …

Member Avatar for deceptikon
0
92
Member Avatar for arubajam

Write a statement that declares and stores the elements of the following array into a vector object: char vowels[5]={'a', 'e', 'i', 'o', 'u'}; I think this is what I need, but I want to verify this. [CODE]char vowels[5]={'a', 'e', 'i', 'o', 'u'}; vector<vowels> vowelsList (vowelsArray, vowelsArray +5);[/CODE]

Member Avatar for subith86
0
181
Member Avatar for Moirke

[code]#include <iostream> #include <vector> using namespace std; char img[30][15]; char x = 'X'; int dotLoc[24][2]; int dotNum = 0; int ret[4]; int curDie = 0; int dieNum = 0; int der = 0; vector<int>* readDice(vector<string>&); int dieDots(int, int); void findDots(); bool adjX(int,int); bool traverse(int,int,int,int); vector<int>* readDice(vector<string>& anImage) { // TODO: …

Member Avatar for Ancient Dragon
0
283
Member Avatar for rekedmc

Hi, I need help with my assignment. Basically I have to make a html page and have the output display in a .cgi file. I am able to change the font and colors in the html page but the output of my cgi file comes out in black font. I …

Member Avatar for WaltP
0
348
Member Avatar for srijan1990

c and c++ both being high level language?what's difference is found between this and what is object oriented programming in c++?

Member Avatar for mike_2000_17
-1
120
Member Avatar for VasquezPL

Hi guys, I need your help. I tried to find out sth via google, no luck. I need to create an appointment "on behalf of" I know how to make an appointment in my personal calendar. But how to do that in other calendar (where I have access rights)? Thx …

0
81
Member Avatar for alastair1008

I'm just starting out in C++ and want to use TextOut to print a character that is generated at runtime based on keyboard input but am having trouble converting TCHAR to LPCWSTR so that it can be used in the TextOut method. my code is [CODE] LRESULT CALLBACK WndProc(HWND hWnd, …

Member Avatar for Ancient Dragon
0
272
Member Avatar for bennetk2

I can't figure out what this error is saying. Error: C:\Users\Kyle\School\CS 372\Statistician\Statistician.cpp||In function 'bool operator==(const statistic&, const statistic&)':| C:\Users\Kyle\School\CS 372\Statistician\Statistician.cpp|225|error: passing 'const statistic' as 'this' argument of 'float statistic::sum()' discards qualifiers| C:\Users\Kyle\School\CS 372\Statistician\Statistician.cpp|225|error: passing 'const statistic' as 'this' argument of 'float statistic::sum()' discards qualifiers| C:\Users\Kyle\School\CS 372\Statistician\Statistician.cpp|226|error: passing 'const statistic' as …

Member Avatar for gusano79
0
337
Member Avatar for suneye

Hello, I need someone to give me ideas about a project to start developing it. I am an intermediate programmer and I want to develop my skills .thanks in advance guys

Member Avatar for suneye
0
80
Member Avatar for rajnagthi123

Hi, The key suppress event is working fine for english character for a string (blocked string). But for korean characters, if i tried to edit the blocked character, the character is not blocking it is simply typing. i tried by key supress event and handled event it is not working. …

0
39
Member Avatar for juss2022

Hello everybody. I've a question. I tried to change font size of textBox named "textBox1" Here is the function of the NumericUpDown: [CODE]private: System::Void numericUpDown2_ValueChanged(System::Object^ sender, System::EventArgs^ e) { String^ Num2 = this->numericUpDown2->Text; this->textBox1->Font->Size = Num2; };[/CODE] Errors that occur: [CODE] error C2039: 'set' : is not a member of …

Member Avatar for Ancient Dragon
0
457
Member Avatar for tontano

Hi Team; I am new to programming and C#. I am creating a calculator form, and need to ensure the user enters a numeric only value (no empty values are valid). I have 2 text boxes Value 1 & Value 2..The user must enter a numeric value only, and if …

Member Avatar for ddanbe
0
654
Member Avatar for axd107220

I am trying to develop a C# calculator that can run in the web browser. But it doesn't seem to run. The control goes inside the try function but the variables show 0 or null value. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace CalculatorWeb …

Member Avatar for axd107220
0
175
Member Avatar for johnyianni

I have here a problem... i have a notepad containing values such as: tom,a1001,1 charles,1002,2 I used getline() and used the delimiter comma to separate them and store it in line variable.. my problem is that how can i store the delimited strings from line variable to any different variables.. …

Member Avatar for chrisjubb
0
223
Member Avatar for VasquezPL

Hi guys, I need to make an appointment in shared calendar. The problem is that I know how to do that in my calendar, but how to do that in shared one?

0
82
Member Avatar for Panathinaikos22

Hello, i have made this question again, but is something i really want to learn :/ and never i get an complet answer I know enought good C#/Java Windows programming, i also know C/C++ Console programming but i think is time to learn/play with C/C++ Windows Appis ... How i …

Member Avatar for jbennet
0
352
Member Avatar for geoffy0404

Hello I have been at this for a few days, and I have not figured it out but feel as if i am very close. I must create A program that takes a users input, then tells the user if that number is prime or composite, if composite it must …

Member Avatar for WaltP
0
989
Member Avatar for mike.bauer

I have the following struct deceleration and I would like to decrement eq->pt_tree[c][r], the row portion of pt_tree[c][r] using pointer subscript. How can I do this? [CODE]struct eq_values{ int * pt_tree[2]; }; eq->pt_tree[i] = (int *) malloc(12 * sizeof (int)); [/CODE] I think it will look like the following, but …

Member Avatar for deceptikon
0
144
Member Avatar for zios007

I have to write a program that prompts the user to select (but not disclose) a number between 0 and 31 and then asks exactly five questions to determine the number the user has selected. Each of the five questions is posed by presenting a group of sixteen numbers, asking …

Member Avatar for zios007
0
250
Member Avatar for mani-hellboy

Hi friends., I am now try to study LINQ in C#.net which book can i refer and that is easy to learn and give perfect example code snippet

Member Avatar for thines01
-1
227
Member Avatar for itsvineethpv
Member Avatar for Megann1120

I'm working on a program that lists a numbers prime factors. I've finished the bulk of the work and all I have left is the first print where it says the number is prime or composite. I know the way I'm going at it is wrong because it wont work …

Member Avatar for Megann1120
0
301
Member Avatar for D.Twomey

Hey, I'm having a bit of trouble with progress bars and background workers and want to try and solve this with the simplest solution What I am doing is reading the contents of a specific directory, I am then displaying in a list box all the folder names so that …

Member Avatar for NetDeveloper
0
610
Member Avatar for tanvirraj91

can any one give any idea which compiler i will use which work in docs.i dont want to use microsoft visual c++

Member Avatar for DeanMSands3
0
168
Member Avatar for dwayned

HI I am using - ASP.Net - C# - SQL Server Express 2008 R2 I have a table called customers which contains all customer details and a stored procedure which gets: - Total No Of Customers - Total No Of Customers in Region1 - Total No Of Customers in Region2 …

Member Avatar for suzaine
0
2K
Member Avatar for Skeldave

Hi, I am trying to define a 'null' LINQ Table as a global variable and then use a switch statement to deturmine what the Table should be. I am having problems defining the datatype and also assigning values to it. Hopefully the code below will explain better. [CODE] System.Data.Linq.Table table; …

Member Avatar for ddanbe
0
150
Member Avatar for tanvirraj91

can anyone give any link to download "programming with c++" by "d ravichandran"

Member Avatar for Ezzaral
0
74
Member Avatar for ddanbe

While surfing the web I got to this site: [url]http://en.wikipedia.org/wiki/Fourier_series[/url] “Hey, I why not write something like this in C#!” The rather scary looking formulas did not withhold me to start coding (see below Fig. 1 and Fig. 2) The formula from Fig. 2 is hidden under one of the …

Member Avatar for skatamatic
0
3K
Member Avatar for lupacarjie

See I created a program that accepts three values from the user to be arranged as a linked list(ascending order). After it asks a number, it displays the content of the list. The output is like this: [CODE]Enter number: 6 List value: 6 Enter number: 4 List value: 4 6 …

Member Avatar for lupacarjie
0
300
Member Avatar for bhagawatshinde

Hi guys, i used the query for randomly selecting questions from access but it will give me same result, i try it by passing different different values also passing time in rnd fuction but i will display same result. [CODE] DataSet ds = new DataSet(); string strsel = "select * …

Member Avatar for bhagawatshinde
0
311
Member Avatar for fsemilla

good day to all... does anyone here have a basic tutorial on how to program using C for zigbee...? its just that i have a very important project task in my work which should be accomplished for three months:'( ...i do have basic...i mean enough knowledge programming in C but …

Member Avatar for agieli
1
2K
Member Avatar for passionated

#include <stdio.h> int main() { int num, i = 1; printf("\n Enter any Number:"); scanf("%d", &num); printf("Multiplication table of %d: \n", num); while (i <= 10) { printf("\n %d x %d = %d", num, i, num * i); i++; } return 0; } Hi.. Can someone please patiently explain me …

Member Avatar for JilMakias
0
185
Member Avatar for badboy11

Looking for an equivalent container class that matches to C#'s Arraylist collections class. Is there anything that comes close to a container that can provide index based enumeration as well as hold multiple data types. I am trying to create an vector that can hold multiple data types. For example: …

Member Avatar for badboy11
0
1K
Member Avatar for ddm

I am trying to load the numbers to a text file based on user option when he or she types in number through my program. I'm just not sure how to go about it I have not yet learned this. I know I need to use #include <fstream>

Member Avatar for Ancient Dragon
0
67

The End.