8,298 Topics

Member Avatar for
Member Avatar for shawn.widjaja

good afternoon gents, first semester cs student here. i'm having a world of confusion to create an X having the left formed with "+", the right side formed with "X" and the center with an "*". with an integer of 7, the output should look like: +-----X -+---X- --+-X-- ---^--- …

Member Avatar for deceptikon
0
156
Member Avatar for gfsasa

hi, I wan to develop sms gateway of my own in c#, can anyone provide me source code...... or the ways show to develop client/server application

Member Avatar for kingrobbie
0
325
Member Avatar for pmark019

Here is my code. unametxt = textBlock1.Text; passtxt = textBlock2.Text; WebClient webClient = new WebClient(); webClient.BaseAddress = "http://students.usls.edu.ph"; webClient.Credentials = new NetworkCredential(unametxt, passtxt); webClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(client_DownloadStringCompleted); webClient.DownloadStringAsync(new Uri("http://students.usls.edu.ph")); After connecting, the source code is downloaded and saved to a string variable. public void client_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e) { data …

Member Avatar for pritaeas
0
493
Member Avatar for Momerath

Below you'll find a small program. The challenge is to predict the output of the program, then explain why it gave the output it did. using System; using System.Collections.Generic; namespace Sample { class Program { static void Main(string[] args) { MyStruct a; a.a = 1; a.b = 2; Dictionary<MyStruct, int> …

Member Avatar for f.khansaheb
3
149
Member Avatar for augustinquizzy

c++ program that uses the class bookType and tests various operations on the objects of the class bookType. Declare an array of 50 components of type bookType. Some of the operations that you perform are to search for a book by its title, search by ISBN and update the number …

Member Avatar for Ancient Dragon
0
186
Member Avatar for mini person

[COLOR="Green"] hi every body i'm a new user in this site , and this term I am doing graduation project .. So , I wanna ask some questions in programming .. first one : how to connect between 2 computers via wireless ?? second : If the connectivity between the …

Member Avatar for WVPhysicist
1
5K
Member Avatar for lilwizz770

I'm new to asp.net and i will need help with my csharp, i will be glad if anybody can assist.

Member Avatar for Michael27
0
115
Member Avatar for pmark019

This code is a java code. Can you please help me convert this to c#? private static URL URLObj; private static URLConnection connect; static String source = ""; public static void main(String[] args) { try { URLObj = new URL("http://students.usls.edu.ph"); connect = URLObj.openConnection(); connect.setDoOutput(true); } catch (MalformedURLException ex) { System.out.println("The …

Member Avatar for cale.macdonald
0
466
Member Avatar for mathews123

Hi there i am wondering if there is easy way of writing the following problem in C:- For everytime constant A increases, constant B should decrease by 10 until A is equals to 120 !! Thanks in advance guys I dont really want to clutter my project with tons of …

Member Avatar for deceptikon
0
191
Member Avatar for Delnith

I am looking to expand from C to C# and would like to know of some very basic programs to start with or a place to find basic program assignments or a tutorial

Member Avatar for ddanbe
0
66
Member Avatar for Brick Wall

Hi I’m fairly new to c# programing so please bear with me. I’m currently working on a “simple” little program which allows the user to enter 5 values into the same text box and once this has been done I want to be able to display the maximum and minimum …

Member Avatar for Brick Wall
0
6K
Member Avatar for mickael.reinman

I have been pondering this task for awhile now and I just can't get it to work. I am trying to get the function readParameters to read the text from a .txt file and transfer them to the specified variables. I have managed to eliminate almost all the warnings but …

Member Avatar for mickael.reinman
0
4K
Member Avatar for tanvir.firuz

i want to know the code in C language when i will compile the program the character will delay printing in the display. Please help. thanks.

Member Avatar for Gonbe
0
131
Member Avatar for Vaspar

The assignment is to write a computer program that will add 1/3 to itself a large number of times and to compare the result to multiplying 1/3 by the number of times 1/3 was added to itself. It is also to do the same thing with ½.The program is to …

Member Avatar for TrustyTony
0
258
Member Avatar for lion8420

I am attempting to create a "dirty form" checking class based on an example found at codeproject. I am hung up on the first line of one of the classes public class ControlDirtyTrackerCollection: List<ControlDirtyTracker> I am unsure how to replicate that : List<> part in vb net. Thanks

Member Avatar for TnTinMN
0
203
Member Avatar for anisha.silva

how do i represent this in aggregation C# code P1 and P2 as classes and then use aggregation to assign A, A’ instances to them. apprecite a reply thanks

Member Avatar for anisha.silva
0
108
Member Avatar for i3-540

I am developing a very simple notepad-type program in C++. The only problem is that when I prompt the user to delete their newly written text file, it doesn't work. Since I let the user pick the name for his/her file, I can't figure out the code to delete it. …

Member Avatar for i3-540
0
796
Member Avatar for catbuituyetvoi
0
41
Member Avatar for requimrar

Hello, I want to ask if there is any way to play an mp3 file in C# without the use of P/Invoke or winmp dll and the like. I can use external libraries too. It would also be nice if I could "include" the mp3 in the C# project, as …

Member Avatar for asad_dani
0
40K
Member Avatar for SCass2010

Hi everyone, Just wondering if anyone could give me a bit of advice... For a project at university I'm going to try and create a sort of stock market advisor. Basically it will take data say from Yahoo, parse it, and based on certain rules provided by a user it …

0
86
Member Avatar for PseudoGuard

In this part you will write a function to generate random numbers in a specified range. Specicially we want you to write a function named generateRandom that generates a single random number in a range specified by the user. The function takes two integer parameters representing the lower and upper …

Member Avatar for deceptikon
0
1K
Member Avatar for everphilski

long time listener, first time caller... I'm trying to generate Excel charts using c#. I'm using Excel.Range to set a range (series of values) to plot. However, I'd like to plot two series that are not next to each other. For example, B1:B10 and G1:G10 versus A1:A10 on the x-axis. …

Member Avatar for lokendra jain
0
1K
Member Avatar for Behseini

Hi, I just wondering if it is possible to read and write files from Mac Mobile devices in PC using C#?Is it possible to create a file transfer to iPhone and iPad (Something like iExplorer or very simple iTune) using C#? If yes, can you please advise me how I …

Member Avatar for stevenbc
0
73
Member Avatar for orar

#include <iostream> #include<string> #include<vector> using namespace std; struct Names { string fname; string lname; void output() { cout<<fname<<" "<<lname; } void input() { cin>>fname>>lname; } }; struct birth_info { int month; int day; int year; void input() { cin>>month>>day>>year; } void output() { cout<<month<<"/"<<day<<"/"<<year; } }; int main() { string …

Member Avatar for deceptikon
0
180
Member Avatar for jeha0

Hi. I'm Jens from Sweden. I have been programmming mostly embedded (AVR) using C for a couple of years. Tried Java (for Windows and Linux on desktop PC) but discovered lots of problems with that. Also tried C++ with CodeBlocks or other IDE's. Struggled with QT4 designer for a while …

Member Avatar for jeha0
0
230
Member Avatar for shabi kuti

Hi I have a question in writing this code. it goes as follows: i have to 2dropdown lists , that is the start location and the end location . if the user selects a start and a end location the distance falls to a textbox called txtdistance. can anyone help …

Member Avatar for Sayfuddin
0
202
Member Avatar for Devi_1

**I develop a simple asp.net application.My grid has autogenerate columns,i want to pass my last cell value in grid to hyperlink**

0
53
Member Avatar for shalshal

hi, is it possible to collaborate matlab and c#? if yes..how do you do it? and will the application be able to run on windows phone 7?

Member Avatar for nikita singh
0
118
Member Avatar for Dendei

Hello, so im trying to send an metod that takes a class as input parameter with a bunch of variables. I want to write in some textboxes in my php side of the program send them with my class and into a database. but the database part is no problem …

Member Avatar for Dendei
1
968
Member Avatar for semicolon
Member Avatar for nmaillet
0
231
Member Avatar for semicolon

C#, SQL SERVER 2005 first. Sorry for the bad english :> can anyone give me ideas, techniques, theories, or any posible solution. Here is a scenario i have a form called SearchItem and a database table doc_Item doc_Item has a 1 million. . . data. when i click a button …

0
60
Member Avatar for valenluis
Member Avatar for L7Sqr
0
35
Member Avatar for paul9519

hi everyone i have a problem with this code below. when i try to read all the files in a directory i can but when i try to put them in a vector, it doesn't work, all the elements in the vector become the last element added. I'm not sure …

Member Avatar for Tumlee
0
215
Member Avatar for Androw

Hello i managed to call my C# DLL in Lisp with (command "Program.dll") and I m able to call Lisp from C# with sendstring ... What I need is a Lisp Function that called from C# which gives its results (picked Objects) back to C# Has anybody an idea ? …

0
47
Member Avatar for brahle

Always use scanf() and printf(). They are much, much faster than cin and cout. Also use stl algorithms, like sort, reverse and find, especialy if they are member functions of a container class you use.

Member Avatar for neithan
0
2K
Member Avatar for anisha.silva

hi, i wanted to know how to i test a metho as below int32[] AT; int32AB,ab; int32[] at; public void A() { AT = at; AB = ab; return; } is this correct public void SetStaticTest1() { Int32[] AT ; Int32[] at = {1,2,3,4,5}; Int32 AB ; Int32 ab = …

Member Avatar for anisha.silva
0
201
Member Avatar for SQLpower

Hello, I was wondering how could I display around 10 rows vertically and 34 horizontally in a table view with ticks? Every row will have a tick, which upon saving will be added to the database. Any suggestions are highly appreciated!

Member Avatar for SQLpower
0
243
Member Avatar for lianpiau
Member Avatar for Mike Askew
0
73
Member Avatar for moozy

Hi I am developing a windows application. For your infomation FRONT END : C# (VISUAL STUDIO 2008) BACKEND : SQL SERVER 2008 In a single form I have an option for add and remove client. Two different buttons are used(Add and delete clients). When I click on Add button the …

Member Avatar for dualzNZ
0
90
Member Avatar for singh.ranjeet

I want to develop an area converter program. In this program i used two combobox in which user can select value From and to Converting Area And two TextBox In one textbox user enter the value to convert and other textbox give the converting output. pls provide me the Coding …

Member Avatar for TnTinMN
0
146
Member Avatar for kisseric

I am doing something wrong, I have tried for two days and I still cannot figure it out. Can someone help me? Thank you. [code] #include <iostream> #include <iomanip> #include <cmath> using namespace std; void instructUser(); double doDivideZero(double &); int main() { instructUser(); double displayedVal; double newEntry; char command_character ; …

Member Avatar for manujkathuria
-4
1K
Member Avatar for israruval007

Ok let say i have the following xml file <Users> <User> <Name>David</Name> <Attempts> <Place>Paris</Paris <Date>3/29/2012</Date> <Duration>50 seconds</Duration> <Distance>100</Distance> </Attempts> <Attempts> <Place>New York</Paris <Date>7/28/2012</Date> <Duration>30 seconds</Duration> <Distance>100</Distance> </Attempts> <Attempts> <Place>Paris</Paris <Date>8/19/2012</Date> <Duration>70 seconds</Duration> <Distance>60</Distance> </Attempts> <Attempts> <Place>New York</Paris <Date>9/29/2012</Date> <Duration>60 seconds</Duration> <Distance>200</Distance> </Attempts> </User> <User> <Name>Lenny</Name> <Attempts> <Place>Paris</Paris <Date>9/29/2012</Date> <Duration>51 seconds</Duration> …

Member Avatar for ChrisHunter
0
262
Member Avatar for panchdeo
Member Avatar for owenransen

As a first part of really using Windows Azure I'd like to use C# running on Azure to verify the license code of a program I'm about to issue the upgrade for. I'm planning on porting the whole thing to the cloud, but to gain experience I'd like to license …

Member Avatar for owenransen
0
247
Member Avatar for xixi.li.7

I have a c# project to Create a console project named Cards that includes a struct Card, two classes Deck and Hand, and two enums: Rank and Suit. I attached a require output for this project. I have all my class but when I compile it only show the first …

Member Avatar for Momerath
0
252
Member Avatar for anisha.silva

hi, does any one know about the pipe & filter architecture implemntation in C# have a question in that.

Member Avatar for anisha.silva
0
242
Member Avatar for javanub123

Hey guys, I am working on an application for my school and work. I work for the It team that maintains and checks the AV equipment we have around campus and solve the problems associated with them. We usually just mark them down with pen and paper etc. Im trying …

0
109
Member Avatar for semicolon

Hello, is there any good tutorials,library for downloading a file? I have an application that has a check for update button. please help me with my project

Member Avatar for waleed.makarem
0
123
Member Avatar for anisha.silva

hi, for program to be concurrent i created 4 threads as below Thread th1 = new Thread(a1.run); Thread th2 = new Thread(b1.run); Thread th3 = new Thread(c1.run); Thread th4 = new Thread(d1.run ); th1.Start(); th2.Start(); th3.Start(); th4.Start(); how do i know when the threads are finised done with the work, …

Member Avatar for anisha.silva
0
286
Member Avatar for riahc3
Member Avatar for pritaeas
0
66

The End.