8,298 Topics

Member Avatar for
Member Avatar for Salman_3

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 …

Member Avatar for ArashVenus
0
183
Member Avatar for CJMW

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 …

Member Avatar for KushMishra
1
349
Member Avatar for Mike Askew

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

Member Avatar for Mike Askew
0
478
Member Avatar for learncoding

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 …

Member Avatar for NathanOliver
0
168
Member Avatar for MartinSoukup

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 …

Member Avatar for KushMishra
0
254
Member Avatar for abdallah_adiga
Member Avatar for johnson_2

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 …

Member Avatar for johnson_2
0
5K
Member Avatar for aroshkhan

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.

Member Avatar for Ancient Dragon
0
159
Member Avatar for roidbeginner

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

Member Avatar for roidbeginner
0
1K
Member Avatar for roidbeginner

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

Member Avatar for roidbeginner
0
312
Member Avatar for ahmed_one

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 …

Member Avatar for ddanbe
0
383
Member Avatar for Fahad_3
Member Avatar for NAWIN_1

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 …

Member Avatar for NAWIN_1
0
368
Member Avatar for Khoo

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

Member Avatar for tinstaafl
0
138
Member Avatar for tiverton

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.

Member Avatar for tiverton
0
264
Member Avatar for Smartboy33

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.

Member Avatar for Moschops
0
546
Member Avatar for abousetta

how to implement a recursive function that solves the Fibonacci theory, and the program should ask the user to enter a number then the output will show him the Fibonacci of the entered number.

Member Avatar for rubberman
0
149
Member Avatar for anar.bataa

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 …

Member Avatar for rubberman
0
213
Member Avatar for abousetta

How To Implement Using Double Linked List Structure in C++ function DisplayEven(...) that displays only the even elements inserted by the user.

Member Avatar for maheshd13
0
191
Member Avatar for abousetta

How To Implement Using Double Linked List Structure in C++ function DisplayEven(...) that displays only the even elements inserted by the user.

Member Avatar for tinstaafl
0
68
Member Avatar for Hers2keep

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 …

Member Avatar for M.Waqas Aslam
0
780
Member Avatar for nacedo

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

Member Avatar for M.Waqas Aslam
0
298
Member Avatar for Fedoros
Member Avatar for xXghostXx

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 …

Member Avatar for xXghostXx
0
2K
Member Avatar for eriekasato_1

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 …

Member Avatar for eriekasato_1
0
315
Member Avatar for Wael1988

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

Member Avatar for Wael1988
0
203
Member Avatar for beyn
Member Avatar for kothaisaravan

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?

Member Avatar for anthonydaly
0
400
Member Avatar for S.M. Murad Hasan

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?

Member Avatar for lolafuertes
0
403
Member Avatar for valleymorning

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

Member Avatar for Fenrir()
0
172
Member Avatar for MisterGlow

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.

Member Avatar for mrnutty
0
182
Member Avatar for eriekasato

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 …

Member Avatar for tinstaafl
0
419
Member Avatar for KushMishra

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 …

Member Avatar for ryanjayson
1
675
Member Avatar for Bilal93

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

Member Avatar for vegaseat
-1
197
Member Avatar for Annettest

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 …

Member Avatar for haider885
0
395
Member Avatar for kavitha_1

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 …

Member Avatar for james6754
0
76
Member Avatar for girmanigatu
Member Avatar for Slavi
0
139
Member Avatar for dilansankalpa

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 …

Member Avatar for RazaBukhariShah
0
6K
Member Avatar for jeenalp

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 …

Member Avatar for Mike Askew
0
335
Member Avatar for quitare
Member Avatar for Learner010
0
130
Member Avatar for belladiluna

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

Member Avatar for vegaseat
0
5K
Member Avatar for Jed_1

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 …

Member Avatar for Jed_1
0
846
Member Avatar for Jed_1

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 …

Member Avatar for mike_2000_17
0
919
Member Avatar for king03

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 …

Member Avatar for odai.khateeb
0
3K
Member Avatar for patel28rajendra
Member Avatar for Hamid_2
0
605
Member Avatar for beck.muvirimi

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

Member Avatar for Ancient Dragon
0
110
Member Avatar for ZeroGhost

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?

Member Avatar for Angel Armando
0
3K
Member Avatar for empuk2

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 …

Member Avatar for walshregal
0
640
Member Avatar for darrylnuyda

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

Member Avatar for darrylnuyda
0
232
Member Avatar for jacobin.draks

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

Member Avatar for salah_saleh
0
233

The End.