8,298 Topics
![]() | |
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. | |
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] … | |
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 … | |
[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 … | |
Note This app will tell the current Time, requires .net 3.0 ![]() | |
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 … | |
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 … | |
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. … | |
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 … | |
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, … | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 | |
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, … | |
plz explain these function. how can w divide a number by 3 using only atoi function. | |
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 … | |
Hi I want to learn network programing, but I dont know where to start. I want to do windows networking. Help please | |
ım doing a c# security program this detect the desktop, any human musnt exit from program with use the windows types . what codes ı need | |
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 … ![]() | |
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. | |
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 | |
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. | |
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 … | |
Is there any way a user can input numbers into an array like you can in c++??? Or strings for that matter???? | |
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. … | |
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; … | |
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 … | |
How do I get a dattime format in C# that will look like this: 2011-09-01 00:00:00:000 | |
How do I get a dattime format in C# that will look like this: 2011-09-01 00:00:00:000 | |
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 | |
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 … | |
please help me with the code behind file..as i am really confused...otherwise give me some tips to start doing the code | |
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 … | |
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() … | |
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. … | |
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 … | |
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] … |
The End.