8,298 Topics

Member Avatar for
Member Avatar for isha.dakhara

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....

Member Avatar for rubberman
0
165
Member Avatar for daniel1977

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 …

Member Avatar for dexblack_1
0
624
Member Avatar for GhostWolf

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 …

Member Avatar for tinstaafl
0
377
Member Avatar for lemongardens

hi ı have an exam can you give some examples about win32 especially main part of programme thnks

Member Avatar for Ancient Dragon
0
134
Member Avatar for shadyreal

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 …

Member Avatar for shadyreal
0
269
Member Avatar for yashdeshmukh

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)

Member Avatar for rubberman
0
138
Member Avatar for daniel1977

I am wondering why the techniques do not transfer between VISUAL BASIC & C# programming languages Thoughts? Dani

Member Avatar for GeekPlease
0
66
Member Avatar for pwolf

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 …

Member Avatar for pwolf
0
241
Member Avatar for motlatsisehole

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.

Member Avatar for Ancient Dragon
0
141
Member Avatar for minnie19

**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" …

Member Avatar for lolafuertes
0
913
Member Avatar for ToniSoft

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 …

Member Avatar for ddanbe
0
213
Member Avatar for mzeewashooo

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 …

Member Avatar for Ancient Dragon
0
224
Member Avatar for apanimesh061

Could anyone please help me out in retrieving the number of audio devices using "waveInGetNumDevs" ? I cannot make out how to do it ? Thanx :)

Member Avatar for aamitarya
0
574
Member Avatar for okundi

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 …

Member Avatar for pritaeas
0
58
Member Avatar for somjit{}

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 …

Member Avatar for somjit{}
0
251
Member Avatar for gobiking

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 …

Member Avatar for gobiking
0
1K
Member Avatar for jony_munsi

I want to a C# console application code... My problem is... i want take input from keybord a ID like 10510023.. and the 1st 2 digit of this code indicate the year of a student like if ID is 10510023 the year is 2010 or if it is 13510023 the …

Member Avatar for tinstaafl
0
150
Member Avatar for nitish.mohiputlall
Member Avatar for Bchandaria
-2
107
Member Avatar for ScubaSam

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. …

Member Avatar for tinstaafl
0
180
Member Avatar for ScubaSam

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

0
98
Member Avatar for IT_Techno

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 …

Member Avatar for Ketsuekiame
0
869
Member Avatar for yassink

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, …

Member Avatar for RonalBertogi
0
321
Member Avatar for selipar.jepun.712

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 …

Member Avatar for Schol-R-LEA
0
145
Member Avatar for CodyOebel

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 …

Member Avatar for CodyOebel
0
114
Member Avatar for erinkay528

**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 …

Member Avatar for tinstaafl
0
329
Member Avatar for Haquo

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 …

Member Avatar for akvasov
0
2K
Member Avatar for danimischiu

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..

Member Avatar for gusano79
0
105
Member Avatar for Sarama2030

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 …

Member Avatar for Sarama2030
0
166
Member Avatar for Anonymous3

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 && …

Member Avatar for Anonymous3
0
228
Member Avatar for mohammad.alsheyab

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 …

Member Avatar for Ezzaral
0
216
Member Avatar for aqzee

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 …

Member Avatar for deceptikon
0
263
Member Avatar for mudbubbleb

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; …

Member Avatar for vmanes
0
146
Member Avatar for russendel

[Click Here](http://answers.yahoo.com/question/index;_ylt=AlQJPiETIJOaaftERf6r1l7sy6IX;_ylv=3?qid=20130507233149AAQXvZ6) answer this please...

Member Avatar for rubberman
0
126
Member Avatar for tengmat

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]

Member Avatar for Lucaci Andrew
0
1K
Member Avatar for nomorelogic

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 …

Member Avatar for spuriousgeek
0
282
Member Avatar for hammy2013

The full structure of a C++ program to compare two strings and check whether they are equal

Member Avatar for ddanbe
-1
126
Member Avatar for ha1206570

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

Member Avatar for Ancient Dragon
0
175
Member Avatar for SpottyBlue

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 …

Member Avatar for Moschops
0
505
Member Avatar for coder91

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 …

Member Avatar for |-|x
0
582
Member Avatar for Haquo

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 …

Member Avatar for Haquo
0
1K
Member Avatar for silvercats
Member Avatar for johans22

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},..};

Member Avatar for johans22
0
153
Member Avatar for krish3390

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. …

Member Avatar for Momerath
0
174
Member Avatar for rickdeckbar10a

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. …

Member Avatar for rubberman
0
203
Member Avatar for Yustme

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 …

Member Avatar for brcsur
0
9K
Member Avatar for wschamps42

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; …

Member Avatar for wschamps42
0
177
Member Avatar for eig132062

#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] = …

Member Avatar for Ancient Dragon
0
208
Member Avatar for krishnisilva

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 …

Member Avatar for curos
0
2K
Member Avatar for Etniespr101

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 …

Member Avatar for Musa_Jutt
-1
625
Member Avatar for sakura.cristiana

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!

Member Avatar for tinstaafl
0
35

The End.