8,298 Topics

Member Avatar for
Member Avatar for Gonzo14

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

Member Avatar for Gonzo14
0
164
Member Avatar for PixelatedKarma

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 …

Member Avatar for PixelatedKarma
0
1K
Member Avatar for vindom

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

Member Avatar for vindom
0
250
Member Avatar for AleWin

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]

Member Avatar for AleWin
0
135
Member Avatar for tanvirraj91

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

Member Avatar for jwenting
0
136
Member Avatar for ddm

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 …

Member Avatar for WaltP
0
698
Member Avatar for sagarnarasgonde
Member Avatar for darshilpatel34

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 …

Member Avatar for WaltP
0
159
Member Avatar for engineern

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 …

Member Avatar for engineern
0
181
Member Avatar for kolibrizas

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 …

Member Avatar for kolibrizas
0
280
Member Avatar for srinath1

inr main () { int x=3,y=4,z=4; printf("%d",z>=y>=x), } the answer is zero ..how??

Member Avatar for sharathg.satya
0
180
Member Avatar for withinboy

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

Member Avatar for sharathg.satya
0
285
Member Avatar for ruval002

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 …

Member Avatar for Kanoisa
0
276
Member Avatar for MasterHacker110

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 …

Member Avatar for vmanes
0
188
Member Avatar for complete

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 …

Member Avatar for boiokgoy
0
360
Member Avatar for franmaez_0716

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.

Member Avatar for franmaez_0716
0
3K
Member Avatar for ahmed elweshahy

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 …

Member Avatar for skatamatic
-2
154
Member Avatar for zekstein

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 …

Member Avatar for zekstein
0
154
Member Avatar for akpaga22

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 …

Member Avatar for AlexanderBell
0
197
Member Avatar for jmapepa

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

Member Avatar for kamilacbe
0
233
Member Avatar for Mike Askew

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,

0
85
Member Avatar for msrikanth

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 …

Member Avatar for msrikanth
0
589
Member Avatar for preeti anand

what is the c# code concatenate two different datatype column in single column with bind dropdownlist ?

Member Avatar for thines01
0
104
Member Avatar for jackbauer24

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?

Member Avatar for EBS.VivekGupta
0
196
Member Avatar for andur92

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

Member Avatar for mani-hellboy
0
205
Member Avatar for wissam.ashkar

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 …

Member Avatar for mani-hellboy
0
133
Member Avatar for clerisy

hello :) tell me The name of Best C# tutorials book available online.........

Member Avatar for mani-hellboy
0
210
Member Avatar for gategold
Member Avatar for DJSAN10
0
91
Member Avatar for karmstrong

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 …

Member Avatar for karmstrong
0
314
Member Avatar for techunk

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 …

Member Avatar for skatamatic
0
729
Member Avatar for Lowchernhwee

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 …

Member Avatar for skatamatic
0
2K
Member Avatar for Karlwakim

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.

Member Avatar for Karlwakim
0
121
Member Avatar for DavidB

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

Member Avatar for PrimePackster
0
142
Member Avatar for krishnisilva

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 …

Member Avatar for LP...
0
2K
Member Avatar for Despairy

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

Member Avatar for Despairy
0
306
Member Avatar for Farhan026

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 …

Member Avatar for hericles
0
108
Member Avatar for jonnyboy12

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 …

Member Avatar for jonnyboy12
0
224
Member Avatar for glenc70

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 …

Member Avatar for BobS0327
0
162
Member Avatar for manjulabai
Member Avatar for brianmaddox
-1
526
Member Avatar for tobo

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!

Member Avatar for tobo
0
322
Member Avatar for jonnyboy12

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 …

Member Avatar for thines01
0
91
Member Avatar for jeffw362

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 …

Member Avatar for nezachem
0
239
Member Avatar for ocamsrazor

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

Member Avatar for lxXTaCoXxl
0
389
Member Avatar for uva1102

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 …

Member Avatar for uva1102
0
163
Member Avatar for kukuruku

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 …

Member Avatar for mrnutty
0
89
Member Avatar for firebird102085

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

Member Avatar for KasmIR
0
135
Member Avatar for ara_tul87

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 …

0
135
Member Avatar for Begginnerdev

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

Member Avatar for Begginnerdev
0
363
Member Avatar for markthien

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

Member Avatar for LP...
0
4K
Member Avatar for ram619

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 …

Member Avatar for ram619
0
121

The End.