8,298 Topics
![]() | |
//I have this running but when the user inputs a different character than the program just out puts the error //message and that its. I want it to go back and ask the user if they would like to run the program again. Any //ideas? Thank you! [CODE]int main () … | |
I'm having trouble writing an array program that deletes duplicate numbers in an array. I can't figure out the code for find the array size. I have the array max set to 25 but my array doesn't have 25 numbers in it. (let's say it only has 10 numbers in … | |
Hi, Been looking about and cannot find an answer to this. Is it possible to view the class diagram for your project in the express edition of VS? If not, are there any plugins etc. for it which would allow me to do so? If not, does anyone have any … | |
Very new to C# and this forum. I'm not asking anyone to do this for me, but some hints would be very much appreciated. Assignment states that you retire at age 65 and deposit the same amount of money each year from the time you are 20 years old. Your … | |
hello , i made a election program , here it is [CODE]#include <iostream> #include <cstdlib> #include <string> #include <conio.h> #include <iomanip> #include <fstream> using std::ofstream; using namespace std; string users[4]; char choice2; int votes[100] = {0}; int choice; int totalVotes=0; void votes1() { cout<<"Voting! : "<<endl; cout<<setw(21)<<left<<"(1) To vote " … | |
Hi guys. I have a php script that reads some values off a website and prints to a file every second.. The thing is, the script is always ran in my browser and I don't like that. I want to write a c++ program that can run that script within … | |
hey guys, i have a C++ assignment and i have no idea where to start. my assignment is we have to capitalize first letter of the every word entered. if asked user to enter a their full name, the program should capitalize the first letter of their first name, middle … | |
char experiment = 'Q' is what I got, however if I were to type in "AAA" or simply more letters than one then it will bug out a bit for me. Is there some kind of similar text to this but for char: [CODE] int mainval; while(true){ cout<<"1. Start game"; … | |
I want to make a program that when receive 10MB from internet (IE browser) show a message . can anybody help me? | |
I am looking to design a program in Microsoft Visual Studio 2008 in C# obviously in Windows that will read an iPhone backup folder and display some of the main contents, for example the SMS's and the call history. The main problem I face I think is interpreting the file … | |
Hello, I'm developing an application that reads a text file, and then replaces what's in the text file with an array (alphabet) It all works ok until I try and change the position of the inputted character and it returns: [b]Segmentation fault: 11[/b] It's really confusing! Here is my code: … | |
i got an assignment regarding testing, i have to write a c code and compile in linux. the question is as found at: [url]http://www.cs.ucr.edu/~linc/cs206/project/index.html[/url] please suggest, i have no idea to start | |
Log In Failed for User '' The user is not associated with a trusted SQL Server connection Well, that's the full title of my problem. I'm working on a C# program that supposedly could access a database run by SQL Server Express. I know the program works, because it works … | |
Is there any reason I'm missing as to why not many languages let a programmer create a table of constant information at compile time? Something like: [code] public const Dictionary<string,decimal> SOME_DICT = new Dictionary<string,decimal>( {"A", 1.9}, {"B",2.3}, {"C", 4.4444} ); [/code] | |
Can you please tell me how is the processing of this code taking place. Because its giving a fixed address same as mentioned in the book. The Answer to this question is Address of i=FFE4 value at ptr =10 Address of j=FFE2 value at prt=20 how come addresses are these, … | |
Hello all , i have a small problem , i'm writing now a voting program , and i'm a little bit confused , how can i attribute the votes to a certain person? i mean , i enter the value 1 , and this vote must go to the first … | |
Create a class called “PROCESSINTEGER” for comparing two INTEGERS. Provide member functions input, isEqualTo, isNotEqualTo, isGreaterThan, isLessThan, isGreaterThanOrEqualTo and isLessThanOrEqualTo. The predicate functions simply returns 1 if the relationship holds true between the two Integers and returns 0 if the relationship does not hold. Also, provide a predicate function isZero. … | |
Hi everyone I have this project for my programming class and would appreciate it if someone could point me in the right direction. The objective of the lab is to write a C program that will be able to solve a boolean formula and print all the satisfying assignments. This … | |
hey guys. i need advice and guidance for a new project i want to start. imagine a company with some subsections that each one has a program and a separate database on sql server 2008 express. what i want to do is unit these apps so that all of them … | |
Hi everyone,Can you please help me? I want a C# code for taking time and date from a site and import this time in my program,can you pls help me. | |
Hi, I am new to the forum. I am stuck on this assignment I have to do. I think i have defined the array suitably enough, I just cant implement the sorting specified in the question. Any help would be greatly appreciated. Here is the question: Create a program in … | |
Here is my code, i will also give an example... [CODE]#include <iostream> using namespace std; class Encryption { private: int wp, wk, encryption; public: Encryption() { } Encryption(int password, int key) :wp(password), wk(key) { } int Encrypt_Store() { encryption = wp + wk; cout << "Encypted: ( " << hex … | |
HI developers I'm new in c# .. i want to make periodic table .. but prob is i don't know how to make that periodic chart .. :( .. i i even dont know which section should i read to learn how make that chart ... i want to place … | |
Hi, Im new at C# and im trying to make a booking system where i have a combobox on the first form. From that form i have to choose 1 out of 3 items. Depending on which item i choose i will come to another form. How can i get … | |
Is it Mother Date and Father Time? Any way, getting all the different date and time displays working can be imperturbably perplexing at times. You take a look at it in this Windows Console Application. | |
Hello Everyone , I have developed a windows application with mysql database server. i have installed it to client machine also. Now,the problem comes when i restart mysql server or server computer. After i restart server,client application can not able connect to server . if i disable network and enable … | |
Hey i am a beginner in programming I typed the following program on my own But there are a lot of errors it it Please help me find them [CODE] #include<IOSTREAM.h> main() { int a,b,c,x; cout<<"Enter three values - \nA,B,c."; cout<<"A-"; cin>>a; cout<<"B-"; cin>>b; cout<<"c-"; cin>>c; if (a>b) x=1 else … | |
How would i make my program a .exe so people can run it, i made a simple calculator and i want to share it with some people so they can test it out. | |
I wan develop a program which is detect database got new record, then it will pop out message such as MSN login & logout status at right hand side below. or detect record status and pop out message box to tell user | |
I have created a .NET windows based application in c#. Find the attached screenshot of my application. Java web service is already created and maintained. Now I want to send the values from windows application grid view to java web service. Is this possible? If so how? Am newbie to … | |
Hi Friends, I am working on such project in which I have to transfer the control to a specific resource (which is a Camera thru 3G). I just don't want to transfer the control, I want to forward the same IP address (on which the ASP.NET WebAPP) is running. because … | |
AOA Dear fellows i have code in which i uses linked list.when i compile that program the compiled file run but not work. I write this code in Dev c++. [CODE] #include <iostream.h> #include <string.h> #include <stdlib.h> using namespace std; class Node { public: int value; string Name; Node * … | |
hi, i'm new to c# programming and i have this problem that i encountered while trying to create a database browser. Here is my code: [CODE]private void button1_Click(object sender, EventArgs e) { string search; search = searchbox.Text; if (search == "") { MessageBox.Show("You have not entered anything. Please enter the … | |
I'm trying to make my rectangles appear on screen, but it appears blank when I run the program. [CODE]#include <GL/glut.h> #include <stdlib.h> #include <math.h> using namespace std; struct GLPoint { GLint x; GLint y; }; void init(void) { glClearColor (1.0, 1.0, 1.0, 0.0); glShadeModel (GL_SMOOTH); } void display(void) { int … | |
Hello DaniWeb Users, I am new to the forum however from what I have seen it is exceptionally good! I have searched the forums already and found various questions relating to a similar problem as mine however I am unable to work out how I can amend this for my … | |
Two applications, two different problems. Both of these applications worked perfectly in the test environment with SSL authentication turned off. Now that we've moved to a live environment, the applications can no longer connect to the client company's ActiveMQ messaging queue. using dlls from Spring.Net version 1.3.1. Connection string uses … | |
I am getting the following error: PII.cpp:266: error: 'struct std::string' has no member named 'getfirstblock' And I'm not sure how to fix it, since "int block" has to be equal to the firstblock of the file, how can I fix that error? Also, my "getfirstblock" function should return the block … | |
Hello Team i am a newbie in c#, i have was asked to come up with a program that extracts information from websites and stores in txt, or any other readable format. now i managed to do the program. my problem now is i am extracting information from a site … | |
I am a web developer and this is my first time doing coding for desktop program. I am looking for a software development tool to use for c++ which include GUI and be able to pack up and run on windows after I have finished written the program. This software … | |
My question is why fstream can't read 0x1a. For example make a test file and inside it write in HEX editor 30 1A. [CODE]#include <iostream> #include <fstream> typedef unsigned long DWORD; using namespace std; fstream myfile; template <class T> T grad(T value, int step) { T val(value); if(!step) return 0; … | |
C# Linq to Entities - Reference.EntityKey Now that I have built a database and here is the corresponding SQL code: [url]http://www.mediafire.com/?f4a0d74j7qe7a1f[/url] Visual Studio 2008 SP1’s ADO.NET Entity Framework has generated an Entity Model like this: [url]http://postimage.org/image/lulmehljv/[/url] I have created some methods as follows: [code] private void buttonAddPatient_Click(object sender, EventArgs e) … | |
Hi Everyone, It has been some time since I've posted here but I am truly having trouble seeing the forest for the trees so to speak. I have changed my code so many times I missed the time it worked because I want it to do more. Upon Exit btn … | |
Alright I've been writing C/C++ code for a few years but recently got into helping make an indie game with a few guys. We are scripting in C# but i'm just a bit lost on how to do some stuff without pointers. Its a generic class that holds the non-work … | |
How to verify email address whether exist or not in asp c#? I have search google about it, but there are no one clear's solution.. I need all help!!! Thank You. | |
Hi I currently have a winform inside a MDI like the one in the picture to the left, how can I get it so that it looks like the one on the right with all the bars and icons removed [URL=http://imgur.com/F134B][IMG]http://i.imgur.com/F134B.png[/IMG][/URL] cheers sam | |
I have two classes named [B]ROAD[/B] and [B]PATH[/B] [CODE] public class ROAD { public string getData() { return "Marlton Road"; } } public class PATH { public string getData() { return "Tagore Path"; } } [/CODE] Also i have a function named FETCH() in my Static Void Main FETCH() contains … | |
My problem is as said "expected ';' before "int" " I dont the problem => This obviusly aint the hole text, rather its the place where its complaining. [CODE]int tarning2(void) { return(tarning1()+tarning1()); } int tarning1(void) { int max = 6, min = 1; return (rand()%(max-min+1)+min); }[/CODE] This might have something … | |
So in C# I can create an array of n elements: [CODE] int[] myArray = new int[n]; [/CODE] I have looked and it doesn't seem as though I can create an array like this in C++ (using new). Could anyone please explain why I cannot use new to create an … | |
I am writing code for a C++ class. I have tried a couple of different ways to write it, but I keep failing. Here is what I have so far and also what the assignment asks us to do. Please help You have been asked to write a program to … | |
I have a serious problem, I read 100+ articles all over the web about tis exemption, and I cannot solve my problem... [CODE] String query(string groupuser, string parametr1, string parametr2) { try { string connectionPrefix = "LDAP://" + domain; DirectoryEntry entry = new DirectoryEntry(connectionPrefix); DirectorySearcher search = new DirectorySearcher(entry); if … |
The End.