8,298 Topics
![]() | |
i have got a c++ project to work on and the topic is shopping....i have to get something and neww added to it and the whole code is needed.... | |
Im having a problem with the following exercise. I have the whole program working, however, the transaction time is not passing to the customer. The only element that this affects is the time that the customer leaves. Anny assistance would be greatly appreciated. Best, Dani Below are the 5 files … | |
I'm trying to learn, and have run into a little difficulty. Trying to add a class to my program, passing a structure as the parameter to the class, and get "The best overload method match...has some invalid arguments" error message - and I just plain don't understand it! // in … | |
hi ı have an exam can you give some examples about win32 especially main part of programme thnks | |
Hi Im a student and just started 3D programming 2 weeks ago. I have this problem: I got a working collision detection against models created in Maya. But: The collision is only inside the model, with the normals on the model pointing out as it should be. If I revers … | |
How can we implement polymorphism in a C++ program that connected to a MS Database(the program is storing the details of employees of a school) | |
I am wondering why the techniques do not transfer between VISUAL BASIC & C# programming languages Thoughts? Dani | |
I have been trying to get my database insert and delete to work for a long time now, and I still cant get it working. I now have just 2 hours left before I absolutely have to have it finished and I can only insert numeric values. I suspect im … | |
can u please help me, i have a question on classes that says, implement a matrix class that using dynamic memory allocation to add,subtract,multiply, display diagonals and deternimant, two matrices. | |
**I have a form Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSharp.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Upload Files To DataBase</title> </head> <body> <form id="form1" runat="server"> <div> <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" /> <br /> <asp:Label ID="lblMessage" runat="server" … | |
class Program {class Program { static void Main() { int TotalCoffeCost = 0; Start: Console.WriteLine("**Caffe Menu**\n\n1-Small = 1$, \n2-Medium =2$, \n3-Large"); Console.WriteLine("-------------------------------------------------------------"); int UserChoice = int.Parse(Console.ReadLine()); switch (UserChoice) { case 1: TotalCoffeCost += 1; break; case 2: TotalCoffeCost += 2; break; case 3: TotalCoffeCost += 3; break; default: Console.WriteLine("Your Choice … | |
this is my code, when even i run it it tells me that the number is even while it is odd. #include<stdio.h> #include<stdlib.h> int main(void) { int value; /* To read a number and say wheither it is even or odd*/ printf("Please enter any number \n"); scanf("%u", &value); if (value/2 … | |
Could anyone please help me out in retrieving the number of audio devices using "waveInGetNumDevs" ? I cannot make out how to do it ? Thanx :) | |
a company pays employees gratuity on retirement that can be computed using the formular: grayuity= (salary x fixed rate x number of years worked) + one month salary. formulate an algorith that can be used to calculate the gratuity and write a c++ program that can be used for the … | |
can the members suggest some books/links that takes advantage of what i already know about oop (the basics , from java) and utilises it to make learning C# a faster process? perhaps i should have posted this on the C# forums , felt i should keep it here as my … | |
Hello, I am trying to start implementing functions from a class into my Calculator just to get used to the idea of it. when I tried calling for my min max functions into my calculations function it is spitting out an error arguement of type "float" is not compatable with … | |
Can we declare objects of type Person, when Person is a class? | |
Hey everyone I need some urgent help please. I don't know how but I need make a Time Dimension of an Oracle Table using c#. What needs to happen is: -I want to use Order_Table's Date Column to Create a new table Time_Dim with columns OrderID, Year, Month, Week, Day. … | |
Hi everyone I need help please. I need to create a Time Dimension of an Oracle Table using C#. I have no idea how to do it. Any Suggestions? Thanks in Advance | |
hi I am try to insert data from TextBox to db using TableAdapter, when i insert Arabic language in TextBox and send it to DB it looks like this "????????" what does that means? how can i solve this problem? When i insert English words it works fine this is … | |
Write a function (seat_type) that reads an input from the user that represents a seat class. The user should enter F: for a first class seat, C: for a business class seat, or Y: for an economy seat. The function should validate the user input to accept only F, C, … | |
Write a C++ program to compute and display a person's monthly salary as determined. If the status is Technician the person receives RM70 perday for 26 days work in a month. If the status is Lecturer the person receives RM200 perday for 26 days work in a month. if the … | |
I am used to c++ straight forward winAPI functions, but decided I need to learn c# and this whole .NET stuff since I'm stubborn like that. What I'm wondering is how do I set an HWND ? In c++ I would use something like HWND hwnd1 = FindWindow(0,"Title of the … | |
**Here is the assignment:** Write a C++ program to calculate and display the number of primes in the first 50 “chiliads”. Your results should be exactly as presented below, under testing. Design Considerations: I think you will find your program easier to structure and write if you break it down … | |
Hello all, I was hoping You could help me with this. The code below is for the login screen in my project. the data is selected from UsersList (UserID,FirstName,LastName,UserDOB,UserUsername,UserPassword,UserAdmin) What way can I modify the "cmd" command to check if the value for UserAdmin is true and display a message … | |
Hy all, Does anybody know a good method to edit data from office xml spreadsheet format in C#? I've found a way to get data from it using OpenXML but I'm stuck at saving the changes made back in the file. I've attached my source file here.. | |
Hi guys, Have been developing C# desktop apps for a while now and when it comes to packaging(not clickonce),deployment with cd/dvd, I publish using visual studio's Build->publish option.The application installs well but all the paths to resources like images are broken.Where I'm I supposed to place the resources or which … | |
private void update() Int64 sum = 0; sum = (!string.IsNullOrEmpty(Request.QueryString["Id"])) ? Int64.Parse(Request.QueryString["Id"]) : 0; if (sum != 0) - Here in Debug mode, i get this condition is false and equals 0 { var context = new myDatabase(); var s = context.myTableName.FirstOrDefault(c => c.Id == sum); if (s!= null && … | |
Huffman Code In this assigment, you need some text files. Click HERE to download some. In this assignment, you are to implement the Fixed-length Huffman coding that we learn in the class. You should perform the following: 1- Huffman Encoder. a. This is a C++ program that reads as input … | |
i have tried so much to understnd this problem but can't able to get it.. plxx tell me how it will b solve or atleast give me syntax.!! this is the header file that i had made.. // A 2-dimensional point class! // Coordinates are double-precision floating point. class Point … | |
I am looking to finish up this program for class. I'm lost when it comes to arrays and I've read all the course work, the book, etc. The question is how do you increase an array element at the position? using namespace std; int main() { int quantity[4][5], warehouse, product; … | |
[Click Here](http://answers.yahoo.com/question/index;_ylt=AlQJPiETIJOaaftERf6r1l7sy6IX;_ylv=3?qid=20130507233149AAQXvZ6) answer this please... | |
Please Help me to convert this python code to C# # avg_visits = [75, 30, 18, 17, 26, 40, 67, 82] mixes = [0]*50001 mixes[0] = 1 for n in avg_visits: for i in range(0,50001): if (i+n <= 50000): mixes[i+n] = mixes[i]+mixes[i+n] print mixes[500] print mixes[2000] print mixes[50000] | |
i would like to have the ability to tell the player they cannot go that way if the exit does not exist the rooms are in a text file that is read in, i know i should use a if function but dont know where to put it, any help … | |
The full structure of a C++ program to compare two strings and check whether they are equal | |
Hi every one i have project and i need your help !! this is the project you can look http://store2.up-00.com/Apr13/Ddd93410.png http://store2.up-00.com/Apr13/9HA93410.png | |
Can someone help me with this? This is part of my first assignment. I am quite new to programming. > A company wants to transmit data over the telephone, but they are concerned that their phones are tapped. All of their data are transmitted as four-digit integers. They wanted you … | |
I have various admin pages on my system that allow user to insert a new item or update one. The code I am using to check if the description entered is already in the drop down list is //loop through each item in ddlX and compare with description entered by … | |
Hello Everybody, I’m currently working on my end of year project and I got stuck on a very trivial thing. When I’m trying to add a new user to a database (local) I keep getting “Syntax error in INSERT INTO statement" I don’t really see where is the problem so … | |
like sqldatadapter qwerty=new sqldataadapter(); how is memory allocated? | |
given struct s={int A; int B}; what is most logical and fastest way to find the B element given A in this array or vice versa?. s table1[]={{1,2},{3,4},{5,6},..}; | |
hi I am trying to learn some basics about attributes in c#. As per i have refered, an attributes is just an additional information that is added to the programming elements. I just want to know, what is the difference between attributes and properties. Why we are moving to attributes. … | |
Just some information about myself. I am a 42 year laptop technician returning to college majoring in an Application Development associates degree program at community college starting this summer 2013. I really need some information from the experienced programmers who have been in the job market market for a while. … | |
Hi everybody, I'm new in programming. Getting started with C. Im trying to do a few easy things like to uppercase a string. But i got stuck... This is what i have so far: [code] void toupper( char *text ) { char c[] = "testING"; } [/code] And im not … | |
I have a few code snippets from a tutorial Im reading my friend gave me to learn c++, and a lot of it is written in shorthand but I cannot fully understand the shorthand code. return c < Cnt ? &foo[c]:NULL;; this: return (cc > 0 && cc <= mCnt)?&foo[cc-1]:NULL; … | |
#include <string> #include <ctime> #include <fstream> #include <iostream> #include <cstdlib> #include <cmath> #include <iomanip> using namespace std; `static unsigned int Q[41790],indx=41790,carry=362436,xcng=1236789,xs=521288629; unsigned int refill()// refill f(n) for SuperKISS { int i; unsigned long long t; for (i=0;i<41790;i++) { t = 7010176ULL * Q[i] + carry; carry = (t>>32); Q[i] = … | |
Hi , I am using C# to do my projects and I have connected to a MS SQL database file and I am using MS visual studio 2008 standard edition. I need to get all the users first name and the last name and display in a combo box when … | |
Hey guys, I am incredibly new to c++ and need a little help on a matrix multiplyer program... [code] #include <iomanip> #include <iostream> using namespace std; int main() { int **mat1; int **mat2; int **result; int row,col; cout<<"Please enter row/col"<<endl; cin>>row>>col; mat1 = new int *[row]; mat2 = new int … | |
Does anyone know how to connect an oracle object oriented database to c#? Using ADO.NET Entity Data Model, i see just relational tables, and i need to work with object tables. Thank you verry much! |
The End.