8,298 Topics

Member Avatar for
Member Avatar for caut_baia

Hello.I've been looking for a free C++ compiler for windows which supports the new standard features but i had little luck so far.Does someone have any knowledge of one? Thank you in advance.

Member Avatar for caut_baia
0
443
Member Avatar for rotten69

Hi everyone; I'm working on a c# service that queries the DB and checks if the right info is available for users. It's an Airline tickets reservation system. I am not sure why my code is breaking after it gets the query and it gives an error about sqlclient.. [CODE] …

Member Avatar for arunkumars
0
205
Member Avatar for buzz9948

I am attempting to make a number guessing game but I need to use functions I figured a good spot for this would be the greater and less than problems that I need to include to make the user know what they have, I am horrible with functions and dont …

Member Avatar for palav sandeep
0
128
Member Avatar for knightofsoshi

[CODE] void customer (struct data *cust1); void menu(); void printReceipt(struct data *cust1, float &balance); struct data{ char name[20]; int accno; }cust, *cust1;[/CODE] above is an excerpt from my completed c++ program. my c++ coding is running well and i dont have a problem with it, but i am required to …

Member Avatar for AceStryker
0
247
Member Avatar for Mahen
Member Avatar for gaurav_gandhi13

hello i want to know about the c# coding as i know about the theoritical part but when it comes to coding part it creates problem forto write the code so which is the best method to do this.Is there any good book which covers coding part mostly or anything …

Member Avatar for gaurav_gandhi13
0
218
Member Avatar for astha_malik

hi, actually i wanted to draw two cubes programmatically in C# with only top,front and right portions visible.the top and right portion will have the same dimensions but depending on the parameter width provided by the user,the front portion will increase along the horizontal axis.One cube will increase along the …

Member Avatar for Shwetha Dali
-1
6K
Member Avatar for daW0lverine

Hello all, I used to be relatively well versed in .Net back when 2.0 was still the latest framework and I have stayed out of the loop for a few years. Looking to kick in a new pet project, I am interested in developing in Visual C# / SQL again. …

Member Avatar for daW0lverine
0
143
Member Avatar for markfw

Hi I have a code as follow: [CODE] template<class T> inline bool IsValidUnsignedLong(T n) { return (T)(unsigned long) n == n; } [/CODE] When I pass -l to that function, it returns TRUE which it shouldn't since its not unsigned. Can anyone explain to me the reason behind this? why …

Member Avatar for mike_2000_17
0
202
Member Avatar for jellybeannn

Hi I'm trying to use the Microsoft.VisualBasic IRR function, but to no success. [code] double[] values = new double[73]; for (int j = 1; j <= 73; j++) { values[j] = C158_Calc; } B162_Calc = Financial.IRR(values, 0.1) * 12; [/code] I'm having trouble in this line: [code] B162_Calc = Financial.IRR(values, …

Member Avatar for nick.crane
0
559
Member Avatar for gaurav_gandhi13

hello i have 5 text boxes and labels and database in sql server so just need coding for the next and the previous button any one can help please thanks

Member Avatar for Mitja Bonca
0
4K
Member Avatar for crash0verride

Im developing a website for a company and it is my first time to use ASP.net in c# language. I am expert in graphic designs but slow on programming. please help me how to create a login page using in ASP.NET using c#. :) thanks

Member Avatar for Ezzaral
0
318
Member Avatar for rahul_galgali

Hi, I have developed a app using facebook c# sdk.I got the api key from fb after making registration on api page.But the problem is no other user except me can't login into the app.Plz app

0
121
Member Avatar for Adam Ma

Ok so i have trouble with looping with while and for statments heres the questions: 1. Write a program that gets a positive integer from the user and prints all the numbers from one to that integer. If the inputted number is zero or negative, then the program will print …

Member Avatar for cherrymae.calma
0
167
Member Avatar for Zssffssz

Ok heres what I want to do: I want to put a file in a console application (during compileation\codeing not running) and when it runs it saves the file in the same place it was run from. Like moving a movie as an exe to hide it while it is …

Member Avatar for pseudorandom21
0
116
Member Avatar for grimreaperx2

Well im having this problem on how to add large integers. I have used strings to take in a very large number something that can work on as many digits as you need it to. I take in 2 strings for the numbers you want to add. After which I …

Member Avatar for grimreaperx2
0
1K
Member Avatar for mcconnell_34

can someone show me how to prompt user to input a number from 0-35 and if the number is less than or equal to 9 it will display the number but if it is greater than nine it will store it as A=10, B=11, C=12...... By using the cast operator …

Member Avatar for thines01
-3
119
Member Avatar for skylinedrifter

Hello people! Got a project due tomorrow been at it the whole day still no luck hopping one of you guys could help me out before tomorrow :/ First one...... This is the code [CODE]int main() { const double Tax = 0.0825, Rate = 0.15; int PartNum, Units; double Price, …

Member Avatar for Taywin
0
287
Member Avatar for notuserfriendly

Hello, first this is not a homework assignment so please respond whenever you have time as a speedy solution is not exactly needed. I have been learning C# recently from a microsoft book and had an idea of a program i want to make. Basically i want to be able …

Member Avatar for notuserfriendly
0
217
Member Avatar for Panathinaikos22

Hello, I create a delayer for something but it dont work right, that i want is 1, Load Form 2, Draw a text in TabPage 3, Show a text in tabpage for 5 seconds 4, when delay end then add WebBrowser Control to TabPage PS: I forgot notice, when use …

Member Avatar for Mitja Bonca
0
176
Member Avatar for sumi1234

the aim of this program is to create a record of 20 members inputted by the user st the phone number is stored in 3 different parts e.g. 011-234-7891 where 011 is area code 234 is exchange and 7891 is numbr...every record must have a member id and member name …

Member Avatar for sumi1234
0
271
Member Avatar for vinoth.raj2k

For eg : i am having textbox , in tat v need 2 enter rollno , aft clicking the go button , result of tat individual person hv 2 display in Gridview . itz like Result system , jst i am new to this tech . I need some one …

Member Avatar for ChrisHunter
0
117
Member Avatar for sifuhall

I have not done development work for many years now but I decided to download the new (and free!) Visual Studio 2010 Express C#. I'm enjoying this, but for the life of me I cannot figure out how to data bind controls. Here is my setup: I have a SQL …

Member Avatar for sifuhall
0
111
Member Avatar for sah

The following code is used to connect C# with mysql server connectionParam = "SERVER=" + DbServer + ";DATABASE=" + dbName + ";UID=" + uName+ ";PASSWORD=" + pass; MySqlConnection mConnection = new MySqlConnection(connectionParam ); But what will be the code, if MySql can only be accessed through HTTP Tunneling. Tunneling URL: …

Member Avatar for heppiedad
0
247
Member Avatar for Ravic85

Hello everyone! I've made the mistake of not asking my teacher for help when I had the time. Now I'm stuck and lost. I didn't do this because I felt I should be able to figure this out myself since this is my major. So, I'm giving up and needing …

Member Avatar for Eagletalon
1
1K
Member Avatar for divyam_shukla

i have an existing database and i want to attach that database one time to sql server and when thee database is attached then it open that database

Member Avatar for kvprajapati
0
116
Member Avatar for junharefa

Hi all, I have 4 (four) tables using MySql database, ie: [CODE]tb_item ( id_item, (varchar) --> PK item_name, (varchar) price, (double) ) tb_order ( id_order, (varchar) --> PK id_item, (varchar) -->FK date_order, (date) lead_time, (float) order_quantity, (double) ) tb_use ( id_use, (varchar) --> PK id_item, (varchar) -->FK date_use, (date) use_quantity, …

Member Avatar for junharefa
0
380
Member Avatar for sydsine

plz explain these function. how can w divide a number by 3 using only atoi function.

Member Avatar for cse.avinash
0
453
Member Avatar for Master Mascus

Hey guys i got a question to solve, can anyone help me out.. Write a C interactive program that will encode a word or sentence entered by a user. The encryption will be done as follows: For any word or sentence (note: blank spaces, special characters are ignored here, i.e …

Member Avatar for Master Mascus
0
169
Member Avatar for cppgangster

Hi I want to learn network programing, but I dont know where to start. I want to do windows networking. Help please

Member Avatar for cppgangster
0
85
Member Avatar for adem87

ım doing a c# security program this detect the desktop, any human musnt exit from program with use the windows types . what codes ı need

Member Avatar for lolafuertes
0
119
Member Avatar for daveoffy

I am working on a "searching" program. But it always returns a "." as the up directory or whatever. And I can't do an if statement to check if its a period or not. The goal is to get the only name of the folder in that directory. There is …

Member Avatar for MonsieurPointer
0
310
Member Avatar for sha2

hello..im a new user of the c# programming language,.im asking for your help in finding a code for my project..can you please give me the code on how to have my own log in form???since c# doesnt have a log in form.

Member Avatar for ddanbe
0
295
Member Avatar for ambigouscase

Given the number of commodities bought, create a program that computes the total amount purchased in a fast food center. Assume that the following unit price of each commodity Fried Chicken= 29.75 Cheese Burger= 25.00 French Fries= 18.50 Soft Drinks=14.25

Member Avatar for cherrymae.calma
0
185
Member Avatar for NeilA

Hello All, My son (14) just finished a course on C# and I'm looking for some practice assignments for him. Can anyone tell me a good place where I can find such? Thanks in advance.

Member Avatar for skatamatic
0
54
Member Avatar for WarDoGG

I am looking to create a desktop application in C# which : 1. Allows the user to select a file / multiple files / folder containing files from his computer. 2. Upload the files selected to a PHP script (which is already equipped to handle file uploads using the $_FILES …

0
90
Member Avatar for Zvjezdan23

Is there any way a user can input numbers into an array like you can in c++??? Or strings for that matter????

Member Avatar for Mitja Bonca
0
1K
Member Avatar for judithSampathwa

hi, i have a question in C#.net report viewer. i want to create a report which will take a user input and generate a report. what i want is get the month from the user input and get it as a parameter for the sql query go get the result. …

Member Avatar for judithSampathwa
0
480
Member Avatar for haanjae

hi all, i have the server code and client code, but it cannot communicating with each other. i try to run it in 2 pc but happen error. i do not know what is the problem, please help me. server code: [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; …

Member Avatar for Mitja Bonca
0
2K
Member Avatar for complete

How do I get a dattime format in C# that will look like this: 2011-09-01 00:00:00:000 This works DateTime saveNow = DateTime.Now; string test = String.Format("{0:yyyy-MM-01 00:00:00:000}", saveNow); Now I want to know this. How would I subtract one month from the current month? It T-SQL it would look like …

Member Avatar for Mitja Bonca
0
239
Member Avatar for complete
Member Avatar for Momerath
0
29
Member Avatar for complete
Member Avatar for Momerath
0
32
Member Avatar for ganil_22

Hi , I am good at C# concepts, but i am looking to gain expertise on C# programming (developing tools e.t.c) Can any of you please share some links, which contains good basic programs and projects. Thanks in advance. Regards, kumar

Member Avatar for skatamatic
0
112
Member Avatar for robdb

I've created a list of strings and load a text file in it. once list is created, the program have to read it, do something and write results in a new text file. [CODE] ofstream f; f.open("filename.txt"); string key; list<string> text; static char ALPH[21] = {'A','B','C','D','E','F','G','H','I','L','M','N','O','P','Q','R','S','T','U','V','Z'}; int* index_t = new …

Member Avatar for raptr_dflo
0
534
Member Avatar for priyad2

please help me with the code behind file..as i am really confused...otherwise give me some tips to start doing the code

Member Avatar for Zvjezdan23
3
4K
Member Avatar for SyncMaster170

Hello there, I am having trouble with my C# datagrid. Im working with sql. I have four columns in my datagrid: firstname, lastname, membership, date. So heres the design behind my app. Employee scans a card, hits update. Info pertaining to that member gets pulled from the sql database, then …

Member Avatar for Mitja Bonca
0
526
Member Avatar for Zvjezdan23

I am trying to make a simple calculator for my code and I wanted to know, how can I have the user input a number like c++ cin >> number; and then just have my math functions do the rest. I have this so far... [CODE] public static void Main() …

Member Avatar for Zvjezdan23
0
129
Member Avatar for techlawsam

So I was looking at this problem , and in monodevelop (and Visual Studio). But for somereason I keep getting unreachable code or error in Visual Studio, I retyped and relooked over my code but I cant seem to find what the mistake is that I can run my code. …

Member Avatar for nick.crane
0
244
Member Avatar for gerard4143

I'm really new to C# so this may seem like a novice question..How does C# accomplished passing a reference to a object reference? I'm really trying to understand the underlying mechanisms and how it applies to the attached code with the comments - //what happens here? Do we pass a …

Member Avatar for Ketsuekiame
0
262
Member Avatar for robdb

I have to write an application in which a text file is read and stored in a vector of strings [CODE]vector<string> text;[/CODE] After that I have to compare each character of text loaded from a file with an array of char with default content [CODE]char ARRAY[21] = {... ... ...}[/CODE] …

Member Avatar for robdb
0
2K

The End.