8,298 Topics
![]() | |
Problem: A salesman travels from one to another state. he may visit either n=2,3,4,5 or 6 cities of punjab. For every number of cities he may adopt different routes. Some routes will be longer and other rwill be shorter. We neeed to design a C++ Program. *TO DISPLAY EACH ROUTE … ![]() | |
So i'm making an rpg game with c# and xna. How can I create a simple camera that follows the player as they move? I only wish for the camera to move as the player reaches the middle of the screen. I dont require it to rotate, zoom in/out like … | |
I've been toying with some code for the last thirty mins to try move a substring from one cell to another. In debug I can see the correct contents being picked up and moved to the new cell and even got a save prompt popup when running over line 31. … | |
Ihave a vector that contains monthyear Jan2013 Jan2013 Jan2013 Jan2014 Jan2014 Jan2014 Jan2014 Feb2014 Feb2014 Basically what I want to do is to search through the vector, for every same record, group them together like e.g total count for Jan2013 = 3; total count for Jan2014 = 4; total count … | |
Hello guys, First of all sorry for my bad english. Is there any way how to calculate in listwiev? I have a list view with two columns, ID and Number, using searching from text box. SEARCH BUTTON foreach(ListViewItem ID in listView1.Items) { if (search.Text == ID.Text) { ADD BUTTON ListViewItem … | |
how to do a star pyramid with C# using textbox to read and display ??? | |
firstly I admit I am asking this because of my homework secondly, my c++ is still at a beginner level. so I need some help. ok..going back to my question. I am trying to remove a line containing username and password from text file. so I tried to following, 1)Read … | |
a salesman travel from sindth to punjab province. He may visit either n=2,3,4,5 or 6 cities of punjab. For every number of cities n he may adopt different roots. Some roots will be longer and other shorter. Develop a Cpp program. | |
I have text file that contains username and password userandPassword.txt chris ABC jane DEF john DEF I am tryng to Decrypt the password using caesar cipher, with a key of 3 from the text file. which means that if I key in username: chris and password:XYZ, it will login successfully. … | |
I asked this question yesterday http://stackoverflow.com/questions/20908568/calculating-daily-and-monthly-sales-from-text-file and now I have come up with this code: **stock.h** #ifndef stock_stock_h #define stock_stock_h #include <iostream> class stock { public: stock() { itemName = " "; unitPrice = " "; quantityPurchased = " "; day = " "; month = " "; year = … | |
N-Tier C# Master Detail member I am using Visual Studio 2010, Sql server Express Edition & C#. I have develop a simple Master Detail application (mostly with the help of experts help from this forum) An Order system, and now I want to go one step further from simple application … | |
first i'm thai. my english is not good and i'm beginner. here full project only 83.1 kb https://drive.google.com/file/d/0ByoqOTgG3AGPM2hKYmlnZWJpOXM/edit?usp=sharing or http://www.4shared.com/zip/M8Myl3VZ/NcExpressServiceiConfigWin.html when i push buttun 1 to call sub add in UserControl1 but error i don't know how to fix it. property in mainform internal Button OpenButton { get { return … | |
Hello, I'm using import win32crypt from my python file. When I execute the python using IronPython in C# ? I got this error : No Module found Win32Crypt. var ipy = Python.CreateRuntime(); dynamic test = ipy.UseFile(@"mypythonscript.py"); mypythonscript.py import win32crypt ... | |
I am writing a DOS screen football game(No graphics), I have reached 61,283 lines any bigger than this I get a error that says linker warning, exceeded memory limit for block line cache in module. Old compiler version 4.0. | |
Can anyone please tell me how to use the built in graphics in c++.Is there any tutorial on this?Which graphics will be suitable for using in c++?If there is any tutorial on this,please give the link. Thanks in advance. | |
i have a text file like this: # Nmap 6.40 scan initiated Tue Dec 24 05:42:34 2013 as: nmap --open -oN 123.txt 10.0.5.0/24 Nmap scan report for 10.0.5.1 Host is up (0.63s latency). Not shown: 992 closed ports, 6 filtered ports PORT STATE SERVICE 22/tcp open ssh 443/tcp open https … | |
How To Implement Using Double Linked List Structure in C++ function DisplayEven(...) that displays only the even elements inserted by the user. | |
How To Implement Using Double Linked List Structure in C++ function DisplayEven(...) that displays only the even elements inserted by the user. | |
I am using asp.net 4.0 and c#. I have a page at work that is used one time per year by one person to run several stored procedures on January 1st. In order to make it more interesting (since she has to work every New Year's Day) I try to … | |
Hi I would like to insert a record from a CSV file into 2 tables, but it's line by line instead of conventional CSV separated. I am using c# and MSSQL. My data is like this and its about 70 lines, they will be always in the same order : … | |
I had c# application that has registration form and another from that user use to sigin in into my application i wonder how to check if user its register or not my login form has to textbox username and passpwrd and im trying this code i gusse its wrong can … | |
An InsuredPatient contains all the data of a Patient, plus fields to hold an insurance company name and the percentage of the hospital bill the insurance company will pay. Company : Portion of bill paid by insurance (%) Wrightstown Mutual 80 Red Umbrella 60 All other companies 25 How to … | |
**hello folks, i am new programmer,,,i have studied C# , Asp.net , Ado.net,SQL , Sharepoint Adminstration and development! but i am still junior..i mean i still ddnt get a job!! sumtimes i feel that its hard to go on programming..like i do always study but always forget..i feel sumties like … | |
Hi, I have a requirement to save images from local system to server through windows application using c#.net. How can I do this in windows application? | |
I have a problem with my newly application where i want to execute a c/java program file. And after executing the file i want to work with the output of that file. Please anybody give me the solution for that how can i do this? | |
Dear all, I'd like to learn C#, but not sure which tool to start with, i.e .NET Framework or Visual Studio .NET., or eslse, and where could I download a latest free version. I'd greatly appreciate any suggestions. Thank you, VM | |
I am student just finished an introductory class on C++. Can any one help me build a GUI for my programs? Maybe a template? Example? Any and all help would be greatly appreciated. Thanks. | |
Write a method named CustomerCreditLimit() that accepts a double as a parameter and displays the value as the amount of credit granted to a customer. Provide a default value for the method so that if a program calls the method without using an argument, the credit limit displays $500. Write … | |
Hello All, I just wrote some code in C# and tried converting to VB.Net. I am getting 3 kinds of errors in my code :- 1. Class 'XXX' must implement 'Function XXX(abc,pqr,...)' for interface 'XX.XX.XX'. 2. 'RaiseEvent' definition missing for event 'XXX'. 3. 'XXX(abc,pqr,...)' is an event and cannot be … | |
int rad; int rad; float PI = 3.14 ,area,ci; printf("\n Enter radius of a circle:"); scanf("%d",&rad); area = PI*rad*rad; printf("\narea of a circle is %f",area); ci = 2*PI*rad; printf("\ncircomeference of a circle is %f",ci); | |
Hello all: I have written a function that gets data (numbers) from a text file. My function works by taking a line from the text file, discarding unnecessary symbols, and putting the numbers into a vector. Here's a snippet: // Get data from text file. Values then put into one … | |
Hi, I need to create a Add-on for firefox I have tried the following methods and it is working fine 1. Using XUL runner 2. Drag and Dropping the .XPI file in the Mozilla Firefox.(using XUL, HTML,CSS and Javascript). Can anyone tell me How to create an Add-on for Firefox … | |
I am currently doing a project and am a novice to c#. I have a problem where i receive serial 'dataframes', each consisting of two 8-bit values (the high byte and the low byte), which have to be constructed to get a 16-bit value. This assembled value is already in … | |
Hi friends,anyone wanted to know the c# swap numbers programs in simple way can go through this //C# program to enter two number and swap the number using System; class Program static void Main(string[] args) { int a, b, temp; Console.Write("Enter a value : "); a = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter b … | |
Help me please! Need c# code... import numpy from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import matplotlib.pyplot as plt def zadachaOPrepyatstvii(h, f, fi, xi, sigma, epsilon=0.0000001): m = int(1/h) h2 = h * h u = numpy.zeros(shape=(m+1, m+1)) gamma = numpy.zeros(shape=(m+1, m+1)) prevnormr = … | |
I've implimented this snippet of code dijkstra_shortest_paths( g, name2v[tempName1], get(&VertexProperty::predecessor, g), get(&VertexProperty::distance, g), get(&EdgeProperty::weight, g), boost::identity_property_map(), // index-map std::less<double>(), // compare std::plus<double>(), // combine std::numeric_limits<double>::infinity(), // infinity 0.0, // zero do_nothing_dijkstra_visitor(), get(&VertexProperty::color, g)); to use dijkstra's on a map created from a text file, but I have no idea how … | |
Okay, so as ussual I'm having a lot of problems with a code and I need a lot of help along the way, but I'm just going to break it down into simple questions as I go. I am taking data from an input file that is a .txt that … | |
ok so here is what my code does, when you click sign up it will then open a new form wherein you can create your account by putting a username and password, after that it will save your username and password to the debug folder inside bin folder. the saved … | |
for window application I want to fill data in combo box from database using asp.net c# and sql server | |
Write down in C++ and OpenGL a code that is able to draw a polygon with the following vertex: {-0.6,-0.6; -0.6, 0.6; 0.6, 0.6; 0,6,-0.6) and rotate the polygon by 450 | |
I need to write a C# program for the encrypting and decrypting of files with PGP. I can't seem to find adequate resources in the Internet. Can someone maybe help? | |
Hello everybody...I'm new in C# programming but recently I have a problem and need to solve it. I hope you guys can help me. This problem only can solved with List and Dictionary. [CODE] using System; using System.Collections.Generic; using System.Text; using System.Collections; namespace ApplicantTestin { /// The DataObject class stored … | |
Hi Everyone, Can I ask your Suggestion/Help about this query. I am using the Crystal Reports in C#, I want CR to call in MenuStrip(Menu). Every time that I run the main form of my system. I want to call the the CR in menu. My Menustrip calling for FORM, … | |
Hello people this is very urgent! i have to make a hotel management programme and submit by tommorow, i have made the programme but it got rejected cause i used calsses for the log in. Can u people please help me by telling me another way to write a password.. … |
The End.