8,298 Topics
![]() | |
I'm trying to preform a loop, using a combination of a if/else and while loops. I set a boolean "repeat1" to true, to enter the while loop. Then when I went the user to pick to repeat or move on, they enter a Y or N, if Y, keep repeat1=true, … | |
Hey guys and gals not quite sure if this is where I should put this, I'm running into a really weird problem that I have yet to encounter...atleast until now. I am using Microsoft Visual C++ and playing with a little toy project using windows forms. Anyways I have an … | |
Hi every1! Thats my code that used to work before I've added some attributes to my items. [CODE]void manager::EditStockItem() { ListStock(); { string z; bool found; cout<< endl<<"<===================================================>"<<endl<<endl; cout << "Enter ID of the Stock Item you want to edit" << endl<<endl; cin>>z; found = false; vector <Item*>::iterator iter = … | |
I can't do the autologin in a site. Normally in the html code there is an ID and then use "getElementById" but in this case there is no ID. Can anyone help me? Name [CODE] <input type="text" name="user" size="20" maxlength="50">[/CODE] Password [CODE] <input type="password" name="pass" size="20" maxlength="50">[/CODE] | |
hi this is my first thread i am learning c++. it is my first language that i am learning. it seems difficult because it is my first programming language. i follow the book tittle "PROGRAMMING WITH C++" by "D RAVICHANDRAN" . please suggest me how i learn language very easily | |
Write a program to accomplish the following tasks: 1. Generate arbitrary number of random integer numbers between [0-100] 2. Save or load the numbers from/to a text file based on user option 3. Search the generated list for an arbitrary number entered by a user 4. Use Linear and Binary … | |
Declare a structure that contains: student Id, first name, last name, and five test scores. Also declare an array of 10 student structures. Prompt the user and read the student data from the keyboard and store the information in the array. After each student ask the user if there is … | |
I have an assignment to program a simple program that names each member in my family and how they are related to me. The program compiles and all, but as soon as i type in any name, this is what shows up: Run Command: line 1: 3805 Segmentation fault: 11 … | |
So I am trying to make let's say, a chat software. For this example there will be two users X and Y and the Database named DB: 1. Both X and Y are connected to DB 2. X sends a message through a form by clicking submit, 3. the message … | |
inr main () { int x=3,y=4,z=4; printf("%d",z>=y>=x), } the answer is zero ..how?? | |
[CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> void addToStart(); void addToEnd(); void printList(); void removeNodeAt(); void createList(); void menu(); int option; struct node { char cName [50]; int cNumber; char tDescrip [50]; struct node *next; }*newnode, *display, *temp, *list, *prev, *head, *tail; main() { do { menu(); switch (option) { case … | |
So i have implemented the following link list, but i just want to know if i can sort the link list. any help? [CODE] #include<iostream> #include"ll.h" using namespace std; // PURPOSE: contructor which initializes front and rear to NULL and count // to 0 LL::LL() { front = NULL; rear … | |
I have wrote this program in C++. But it doesnt have the output that it should. Instead of putting out +-++-+ it puts out ++-+++-+++++++-+++-+++--+++. That is just an example it will ofcourse have defirent output but it makes more characters then there is in the origanal string when i … | |
I thought that my problem was how I was declaring a manifest file. But now I think I can safely rule this out. I think the probem lies in the way I am loading the DLL/COM object that the manifest file references. The program runs -- sort of. After I … | |
hi! i need help by creating a program that will divide using loops wihout using any division or multiplication sign. the allowed signs are just addition and subtraction. Thank you! i will post my program if someone replies with this. | |
i wanna make setup file to my app C# Database app with SQL SERVER 2008 R2 i wanna specific steps 1 - 2 - 3 and what about database file (.mdf), how can i handle this and i wanna when i take this setup file to any another pc once … | |
Hello, i have a little big problem. I have an application that needs to 'download' two exe files but i don't want to make internet connections and ... So my application verifies the system time and should 'extract' the .exe for x64 or x86. But i don't know how to … | |
Hi friends I am learning C# language online and came across this question Code Exercise: Cola Machine Please use the language of your choice to model a simple cola machine. Within the cola machine, please create classes for the Drinks, Inventory and Bank. The Inventory should hold multiple types of … | |
I have the following code for connecting to an Oracle DB [code] using Oracle.DataAccess.Client; // C# ODP.NET Oracle managed provider OraDb= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=ORASRVR)(PORT=1521)) ) (CONNECT_DATA= (SERVER=DEDICATED) (SERVICE_NAME=ORCL) ) ) string oradb = "Data Source=//192.168.100.108;User Id=hr;Password=hr;"; // C# string oradb = "Data Source=(DESCRIPTION=" + "(ADDRESS=(PROTOCOL=TCP)(HOST=ORASRVR)(PORT=1521))" + "(CONNECT_DATA=(SERVICE_NAME=ORCL)));" + "User Id=hr;Password=hr;"; … | |
Just wondering if it is possible to see the applications running within ApplicationPools on IIS7. Im able to access all the pools and see their settings yet cant seem to work out how to see what applications are running in each :( Regards, | |
Hi Everyone, I have written a C Shell wrapper script for "cat" command in the linux such that whenever any uses the "cat" command and it logs to some file, so the script is as #!/bin/tcsh -f set command = /etc/temp/cat set logfile = /etc/cat_command.log echo "$LOGNAME + $command $argv … | |
what is the c# code concatenate two different datatype column in single column with bind dropdownlist ? | |
What is the difference between "[CODE]return[/CODE]" and "[CODE]messageBox.Show("whatever")[/CODE]"? Also explain(efforts will be appreciated): What does [CODE]retern[/CODE] do? | |
"Inheritance increases the functionality of a base class by adding additional features to its derived class." This is a direct statement from my text book's true/false question section. This is given as false and I know this is false but still I don't understand fully why. Any explanations would be … | |
Hello, I created a C# project using Teletik Winforms trial, the project contains about 30 forms and 10 reports using Telrik reporting trial. I decided to uninstall Telerik and go back to basic visual studio components and styles. Can i convert my project from telerik components and references to Visual … | |
hello :) tell me The name of Best C# tutorials book available online......... | |
:S hello everybody. I don't know differentiation of C,C++, C#. Can you help me? | |
I am having and issue getting my add to list function to work in my data structure list class. I have all functions working except addToPostion. addToHead, addToTail, deleteFromhead, deleteFromTail, and DeleteFromPosistion all work as expected. I'm confused on the addToPosistion. The entire .cpp file is posted. Any and all … | |
I am trying to develop (on c#) a Point of Sale program(deployed on machine 1), with integrated kitchen display system(deployed on machine 2). I pretty much have an idea how to develop the individual programs, however, I haven't tried integrating thee machines (to function as one) before. Here's a brief … | |
Some1help me.... so how to save the pictures i drew to jpg if possible load and edit a jpg file. [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace @try { public partial class Form1 : Form { private Graphics picture; private … | |
Hi everybody, Is it possible to run c++ console apps in webpages ? I know that its not possible, but is there a way to do that ? Thanks. | |
Hi, everybody. I am reviewing some old code and two questions came to mind. 1) Is it better to use “[B]\n[/B]” or [B]endl[/B]? [INDENT]"[B]\n[/B]" seems to be working just fine, but most code samples I see in books nowadays use [B]endl[/B]. What is the difference?[/INDENT] 2) For multi-line output statements, … | |
hi, I am using SQL client as the database and VS 2008 standard to bild my project. i need to browse for a file and upload it to the SQL database. how can I do this ?? I have the code to browse for the file and insert to the … | |
Hi, we were asked to build a 2d complex maze using c++ and sfml. the game includes: a king that needs to reach his castle a warrior that kills orcs and they drop money a thief that collects the money to open gates and more characters. so far no problem. … | |
hi..is there anyone who knows how to integrate automated sms autoreply in c#?? I tried the ozeki NG SMS Gateway..it is very suitable in my project that i'm working now but I have no license key..please help me..or any idea how to integrate automated sms autoreply..I tried many libraries but … | |
Hello all . Where could one find the dock panels and autohide thumbtack that is used in ms visual for the project manager and other stuff. I am using c++ forms in ms visual. So far i cant find any code for this, or any programs that contain this addition … | |
when i had XP i used to be able to make my own card games using the cards.dll file for solitaire and freecell etc, but my probelm is now i have moved to windows 7 64 bit theses programs no longer work as there does not seem to be a … | |
Please help me how I create the login form using c# in asp.net | |
hello i have a problem to solve for a commandline-programm: there are several types of inputs to get and these can look like: keyword1 <double> value1 <double> value2 keyword2 <double> value1 keyword3 <double> value1 ... I just can't figure out how to do it! thanks! | |
Hello all i am just getting into using windows forms. I have been looking around on the internet for like a day now and cant seem to find any good code on how to add a table with columns , rows and labels on the top of the columns. I … | |
I'm writing a program that takes records(first and last name,id and mark), reads them from a file and inserts the information in StudentRecord structures. For some reason,when I go to list the information, the first and last name strings in each structures are all the same. The first and last … | |
Hi, im new to all this programming stuff and i am a total novice, so please treat me as such. By this friday (27th), i need to program a user interface for a driving simulator, including a picture box(or similar) with images to show basic direction or something, a gas, … | |
Hi, I have three roles engineer,supuvisor and manager for my website and I have three master pages engineer.master , supervisor.master and mgr.master and i have some specific aspx pages for engineer,supervisor and manager. I want to use engineer.master page for an aspx page if engineer user is logged in and … | |
Hi ,I am trying to implement merge sort with list and I have this error in this code [COLOR="Red"]invalid use of void expression[/COLOR] list<string>::iterator LIST_ITER; sz is the size of the list beg beginning of the list end end of the list Thank you in advance [CODE]void merge_sort(LIST_ITER beg, LIST_ITER … | |
HI everyone, like my last post stated I am new to programming so be patient with me. I am having a hell of a time writing this program and I was hoping some of you might be able to give me some quick pointers on the structure I should use. … | |
Is there anyway to optimized application performance? I already try to change setting at [B]Visual Studio 2005[/B] and tick [B]Optimized code[/B] at application properties on [B]Build[/B] section. When I tested and deploy the application at my Windows Mobile device, it seem does't have much different. I want to make the … | |
Hello my fellow Daniwebaholics! I know it is kindof off the wall, but I need help converting a piece of C# code to VB.net. I know a little C#, but not enough to be able to convert complex syntax from one to the other. Here is the code in C#: … | |
hello, I got the below exception while trying to update the datagridview after adding a record into microsoft access database: [COLOR="Red"]c# rows cannot be programmatically added to the datagridview's rows collection when control is data -bound[/COLOR] using below code: [CODE] private void btnAddOne_Click(object sender, EventArgs e) { string name = … | |
The result of this code is 65535 But I believe that for && both sides must hold true (rather one side being true is enough for ||) so how come the result is 65535 ????? when after 5++ the first condition becomes false ????? Thanks in advance [CODE=c]#include<stdio.h> #include<conio.h> void … |
The End.