199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DemonGal711

I have to use stacks for my program, but I've never done them before so I looked up a code in my book to try and help me understand it but parts are confusing me. [code] void push(char item) { if (full()) throw FullStack(); else { NodeType* location; location = …

Member Avatar for DemonGal711
0
99
Member Avatar for Niner710

Hi, I am trying to parse a txt file in C++. I usually use perl to parse thru text files but need to do it in c++. Here is my text file. [code] NAME BITMAPVBIREFE MESSAGE VirginBitMapiIrefE VCCVALUE 3.000000 VIHSELECT 1 VIHVALUE 3.000000 WPSELECT 1 WPARGSELECT 0 WPVALUE 2.600000 [/code] …

Member Avatar for Lerner
0
211
Member Avatar for abu taher

I have 4 text box in a form. when I click a button another Form show with a MSflexgrid. when I click in a msflexgrid the data show a text box of another form. I write code: form1.Text1.Text = MSFlexGrid1.TextMatrix(MSFlexGrid1.RowSel, MSFlexGrid1.ColSel) But I when I click msflexgrid the same data …

Member Avatar for aktharshaik
0
1K
Member Avatar for koman

[code] //***************************************************************************** // CPSC1620 - Fall 2008 // // // Date: // Purpose: Program to perform array operations using functions //***************************************************************************** #include <iostream> using namespace std; //Prototype int readSeq(int []); int main() { return 0; } //***************************************************************************** //Function: readSeq //Assumption: Reads a sequence of integers //Action: Stores the sequence in …

Member Avatar for freudian_slip
0
119
Member Avatar for ragaven

Hello friends............ How to check whether the given file path is valid or not in C,independent of OS......... Please reply immediately......... Thank you.........

Member Avatar for Ancient Dragon
0
343
Member Avatar for chetoos

i want to add a selection sort to this code by the id_number and i have the selection code but i cant implement it to my code [code]#include <iostream> #include <string> using namespace std; struct database { int id_number, age; float salary; string name; }; void input_data(struct database*data_ptr) { int …

Member Avatar for ArkM
0
117
Member Avatar for slimjimmer

Hi. I'm new to C, so I have probably made an elementary mistake in my code. I am trying to make a program for finding roots of a quadratic equation, using if and else, but first I'm trying to get used to using the sscanf function which I have never …

Member Avatar for slimjimmer
0
435
Member Avatar for Microaa

I need to draw a use case diagram for the following: [LIST=1] [LIST] [/LIST] [/LIST]Each member carries a membership card, which is date stamped every time they attend a training session. Their attendance is also recorded in an attendance ledger. Members pay a small fee for attending any session. [LIST=] …

Member Avatar for Microaa
0
104
Member Avatar for chengineer

hi,i started to learn java nearly 2 weeks ago so i dont know java clearly,i try to write a program about trainingzone. i must provide an interactive training zonecalculator that prompts a user for age. i write a program but it gives errors and i dont improve this,if anyone can …

Member Avatar for masijade
0
147
Member Avatar for at51178

Hi I am new to C++ programming and as my second personal project I am looking to create a program that will index my PDF,CHM,TXT,and WRD files located on my network drive at home. I would like to replicate window's search feature where you can search for a word or …

Member Avatar for Freaky_Chris
0
69
Member Avatar for Th3_uN1Qu3

Hey again. I'm working on and off on my little tool that currently installs fonts, writes the registry, and will do various other things i'm gonna need. I'm currently trying to implement full error checking before i go on, and i'm pretty clueless on how to use return values. I …

Member Avatar for Th3_uN1Qu3
0
96
Member Avatar for lllllIllIlllI

Hi guys, I was looking at some of the commercial IDE's today. Most notably being wingware's python IDE personal edition. I was wondering wether people thought wether the $30 you need to pay for it is worth it or is it not that great when it comes to it. Any …

Member Avatar for Stefano Mtangoo
0
62
Member Avatar for coolbuddy059

I'm writing a code for all the algorithm mention in cormen there are term DISK-READ and DISK-WRITE. Actually what the author want to say by using these terms.

Member Avatar for ArkM
0
143
Member Avatar for kapil.tandon

hi i added modal popup handler into my application the popup which enmrges out is a panel and inside the panel i added the label and correspondong to label there is one textbox(txtE1) now the problem i m facing is tht i want to write the method related to the …

Member Avatar for kapil.tandon
0
248
Member Avatar for nuubee

Hi guys, Ok, so I'm a bit stuck. I'm creating a program that has 3 classes. An object of one of the classes needs to be made up from 2 objects from one of the other classes.. and I can't figure out how to do it. for example, if I …

Member Avatar for Freaky_Chris
0
109
Member Avatar for Umair.P

Hi all, I am trying to write a software where I want to put some UI in the form that would indicate the loading process(progress bar, loading image etc). Please advice how to do it since when a form runs some code all the form gets static. Threading is also …

Member Avatar for Jugortha
0
113
Member Avatar for santhanalakshmi

Hi, If Not IsNull(rs!permaddr1) Then mpaddr1 = Mid(rs!permaddr1, 1, 500) Else mpaddr1 = " " where permaddr1 is a field type of varchar(1500). Example permaddr1 = "No:11/19 , Anna Salai , Chennai-1"(from sql server retriving the values) This value is now is stored in mpaddr1. Now, My main problem is …

Member Avatar for sendoshin
0
168
Member Avatar for Dio1080

Ok, the code is almost done and I need help finishing up my delete function(between lines 51 to 71), I can't seem to figure out how to delete the 50 and the 20. Here is my code. BTW i'll list the output first. Thanks Sample output 10 20 30 50 …

Member Avatar for BestJewSinceJC
0
164
Member Avatar for cadillacwd

I grabbed this script from dynamicdrive "vertical menu flyout" it works fine in IE but not Mozzilla. It doesn't seem to calulate the x,y position correctly to place the dropmenudiv. It returns the same position from the getposOffset function no matter what menu you are hovering over. For example 192, …

Member Avatar for cadillacwd
0
138
Member Avatar for ohnomis

Hi everyone, I have a question regarding reading commands from an array for a turtle graphics program. 5, x - Move forward x number of spaces (x being the next number in the array, ie. 5, 5) 4 - Turn right 9 - End commands (sentinel value) If you have …

Member Avatar for vidit_X
0
152
Member Avatar for sharpst

I have got to create a simple calculator in a college level intro to c prog class, my calculator must be able to do division multiplication addition subtraction using whole numbers. Any ideas on what i should do? please help

Member Avatar for ajay.krish123
0
786
Member Avatar for ryoichi

Hi guys, If there is this scenario where the part must be supplied at least two or more suppliers, how should i represent it in my er model? supplier 2..* supplies 0..* parts Is this the correct way of doing? I'm using uml notation for my er model.

Member Avatar for dickersonka
0
105
Member Avatar for grr

I want to make an app system like Facebook. I just need to know how to include remote files. Like, for example: [code=php] <?php require "top.php"; require "side-left.php"; //Start include (sanitize with ob_start();) require "http://blah.com/bla1/bla2.php"; //End include require "footer.php"; ?> [/code] I'd like to figure out how to get a …

Member Avatar for grr
0
145
Member Avatar for jhuyenh

Hi, i'm very new here and very new to C. I'm trying to figure out how to encode and decode in my C class. i was given a two txt files to use. one is the decoding symbols and the other are the codes i need to decode. i started …

Member Avatar for ajay.krish123
0
430
Member Avatar for praveeny
Member Avatar for stephen84s
0
97
Member Avatar for Yamachi

I'm currently writing a program in vb.net 2008, that is split into the main program and several DLLs (of which the user can select 1 to use). In the DLL, I have a function that reads data from a filestream into a structure, then returns the structure. While trying to …

Member Avatar for Yamachi
0
134
Member Avatar for konczuras

Hi Everyone! I have the following problem: I'm trying to create a web shop (now just the sample of it), using Visual Web Developer 2008 (Express). I've added an SQL database, and a ButtonColumn, where the button selects the line and add the datas to another database. My only problem …

Member Avatar for konczuras
0
96
Member Avatar for Stefano Mtangoo

To Be honest this is matter of Choice and no one will be judged for his choice. I got stuck on best editor to use. I have long used Wing IDE 101 and My Favorite IDE with multi language is Netbeans which is coming with Nbpython. Big problem of IDE …

Member Avatar for mathijs
0
240
Member Avatar for chetoos

I need help with this code to : a. Creating an array of employees b. Asking the user how many employees records does he want to enter. c. Modifying the input_data function to take the data of all employees and fill them in the array d. Modifying the output_data function …

Member Avatar for Prabakar
0
239
Member Avatar for kaushik259106

Hi Everyone, Can some one tell me is this possible. I want to show a text hiperlink over an image. [URL=http://img371.imageshack.us/my.php?image=texthiperlinkjv3.png][IMG]http://img371.imageshack.us/img371/5936/texthiperlinkjv3.th.png[/IMG][/URL][URL=http://g.imageshack.us/thpix.php][IMG]http://img371.imageshack.us/images/thpix.gif[/IMG][/URL] The image it self wont be hyperlink but only the text over it. Check this attached image. Need some thing like this.. Thanks,

Member Avatar for essential
0
118
Member Avatar for degamer106

Let me explain what I'm supposed to do first. My assignment is to take text from a dictionary entry and display it in my client area. This dictionary entry contains characters like \ " ' and text that's written in Greek. There is an image in the upper left hand …

Member Avatar for LizR
0
115
Member Avatar for m_arian

Hi I'm new to coding. Can someone please help with a linked list problem. I'm getting numbers for output, I think they are addresses. The output I'm getting is: HEAD CODE -12086434400 1080131584 TAIL CODE The output I need is: HEAD CODE <rect x="0" y="0" width ="200" height="200" stroke-width="2" stroke="red" …

Member Avatar for Prabakar
0
112
Member Avatar for onlinesynch

There are many types of Data Synchronizations, you can Synchronize your data for PDA applications, or mobile applications, or you can convert your one type of Database into another types of Database format. Now days Mobile users also using Internet from Mobile Devices. Here we are talking about when you …

0
106
Member Avatar for tyserman5674

Hi All, I have 3 text boxes that have user input to preform calculations. What I would like to do is if the user inputs improper values to share the error code messages with out having to define the messages in each one of the text boxes using the same …

Member Avatar for Teme64
0
314
Member Avatar for djhello

Write a program that implements an address book for your friends using linked lists. Each person has name, last name, and phone number. Data should be stored in ordered based on last name. The program should include the following menu: 1.Add a friend 2.Delete a friend 3.List all friends with …

Member Avatar for c++ prog
0
101
Member Avatar for inadcod

Hello, I have a webpage where I have four buttons. when the page is loaded all you can see are the buttons but when you click a button a content appears, content which changes when clicked on another button. This is done by a siompel js script with an onClick …

Member Avatar for essential
0
198
Member Avatar for q8_dreamy

Hiiiiiiiiii can any one help me plz :) i want to send date and another variables from form to another when click btn... how can i do it?????

Member Avatar for himanshu.tomar
0
91
Member Avatar for haven_u

When i print data stored in a queue it also dequeue these data... can someone provide me hints on how to print data without dequeue...printing should only display data stored in that queue........

Member Avatar for Prabakar
0
93
Member Avatar for stealthdevil

Hi, I am using VB.Net 2005, VS 2005, and an Access Database. I have a datagridview on a form that gets populated from a table in the Access DB. What I'm needing to do is take the data from the DGV and put it into a table, "not the original …

Member Avatar for himanshu.tomar
0
1K
Member Avatar for darjana

[CODE] $fp = "http://".$site."/stor10392/".$filename; $complete = file_get_contents($fp); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Content-type: ".$mimetype); header("Pragma: public"); header("Content-Disposition: attachment; filename=\"".$filename."\""); echo $complete;[/CODE] this is code from my download script this making save box from browser taking too long to appear .. (30-40sec on 50mb file) anyone know how to make …

Member Avatar for darjana
0
136
Member Avatar for freelancelote

Hi, when I try to assign \0 using the expression: pPtr->myArray[127]="\0"; my compiler throws the following error: "invalid conversion from ‘const char*’ to ‘char’. Any idea on what's wrong? Any idea on how to solve the problem?

Member Avatar for Ancient Dragon
0
109
Member Avatar for Setune
Member Avatar for NOTSomebody

Hi, I am developing an application about tracing for preschoolers. Currently, I am developing a application and is using touch screen that does tracing. Currently, I am using mouseListener because if I am not wrong, touch screen basically equals mouse clicks. So now my application can does drawing. Next, I …

Member Avatar for NOTSomebody
0
136
Member Avatar for 123468743867143

[B][U]Question:[/U][/B] [COLOR="Red"]How to pull info from MySQL to populate title tag?[/COLOR] [U][B]Current code:[/B][/U] Include/common.inc.php <title><? echo PAGE_TITLE; ?></title> ________________________________________ Individual pages <? include("include/common.inc.php"); define ("PAGE_TITLE", "Blablablablablabla"); ETC ECT ETC ETC ... ________________________________________ I want to customize further the PAGE_TITLE in the file details.php ([url]www.mysite.com/details.php?listid=[/url]... ) to reflect information taken from …

Member Avatar for humbug
0
143
Member Avatar for jackakos

I am trying to query a table where at least three conditions have to be met and then the outcome stored in an array and printed into a table. I tried with the code, but I am having problems setting the conditional query and would be happy with an assistance …

Member Avatar for jackakos
0
142
Member Avatar for ko_cjun

hello everyone! i'm trying to display a text from my database, that part is already fine but when the value of the text has a - or ' (maybe there's more) in it, instead of displaying the actual - or ' it displays other special char like smileys and stuff. …

Member Avatar for cadillacwd
0
109
Member Avatar for cheburaska

Hey, im writing a dictionary in Delphi, and i dont know how to solve 1 problem. How to make Delphi display an explanation for the selected word from the word list? :confused:

Member Avatar for ooisootuck
0
195
Member Avatar for Jengrut

I create a form that can add,edit and delete particular into the listbox. The problem now is that i wan to save the particular on the listbox and wen i go in back i can load it back. i hope anyone out there can help me. This is the code: …

Member Avatar for Jugortha
0
553
Member Avatar for justinmyoung

I'm trying to update my database with an inline editor. (TableKit) When I change the data in a cell, it changes; but when I go to refresh it reverts back to the old information. It's calling a php page that I need to update my database. Right now I have …

0
112
Member Avatar for cam875

If you have multiple If statements happening to check the logic on something is it better to just use all else if's to make your code execute faster? and I understand that people always say that it is better programming to keep your variables as far from being global as …

Member Avatar for ddanbe
0
164

The End.