199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cam875

I am having a problem with the results that I am getting when I run my program, according to the math i wrote in the program when I enter these results object's x co-ord = 0 object's y cor-ord = 0 object's heading = 45 degrees object's distance travelled = …

Member Avatar for cam875
0
100
Member Avatar for baby_1

Hello dears I want to take how many KB Datas i recived and sent with our connetion ? for example: when i download 2.5 mb file i recived 2560 KB Could you give me a source code?

Member Avatar for jbennet
0
94
Member Avatar for emilio

hello is there a way i can read from a table in microsoft exel file into an array or matrix in c# ?

Member Avatar for emilio
0
125
Member Avatar for MRafeie

Hi The [I]System.Windows.Forms.SendKeys.Send[/I] method does not support sending Left or Right shift key. How can I send these keys in C#? thanks in advance

Member Avatar for MRafeie
0
1K
Member Avatar for rastaberry

Greetings to everybody, I am a programming greenhorn and I would like to make a programm which will generate a number in the way that first the user will say how many digits the number should have (i.e. 10 000) and will also specify the rules for creating the number- …

Member Avatar for rastaberry
0
143
Member Avatar for AcidG3rm5

I am developing an interactive client and server system which can response to a typical Human's Interaction. This program is run in unix enviornment. There's a Q&A text file stored, in this format. [Question];[Reply] How old are you?;I Am 1 year old. basically the delimiter is a ';'. Is there …

Member Avatar for AcidG3rm5
0
332
Member Avatar for JimD C++ Newb

First off, thank you for taking the time to read this. Here is my question: I am reading data in from a file that contains names for items that I will be placing onto a heap for use in a program. The program gives me all of the desired data …

Member Avatar for JimD C++ Newb
0
202
Member Avatar for 123468743867143

[B][U]Question:[/U][/B] How to replace %20 characters in URL with a dash (-) when the information is coming from a MySQL db? Code:[B][COLOR="Red"] href='details.php?listid=$record[listingid]&title=$record[title][/COLOR][/B] It currently reads: [B][COLOR="Green"]http://www.mysite.com/details.php?listid=800&title=970%20South%20Bald%20Head%20Wynd[/COLOR][/B] It should read: [COLOR="green"][B][url]http://www.mysite.com/details.php?listid=800&title=970-South-Bald-Head-Wynd[/url][/B][/COLOR] I want to keep the title words for SEO purpose unless you think it is useless?? Thank you - …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for koushal.vv

Hi , can any one tell me how to generate an unique number ? this can be done in C# with great ease. But i wonder how to generate tat in c++:ooh:

Member Avatar for ArkM
0
146
Member Avatar for vladdy191

I'm looking at this code and I'm not sure what it prints (I don't have a C++ compiler to run it). However, I also would like to understand why it prints what it does? hope someone can help, here's the code: [CODE] class A { public: virtual void p() { …

Member Avatar for dougy83
0
137
Member Avatar for rajshree13

How we can authenticate the users without using username and password,i.e anybody can view the page by just entering name,emp id and date and on submitting redirect to the url

Member Avatar for rajshree13
0
67
Member Avatar for akira_shinizaki

How we can make a nice table in C++ ? I always use "|" and "___" to manually create a a table, but it often messed up. Please give me some tutorial and if possible table's screenshot. Thank you as always^^.

Member Avatar for Agni
0
95
Member Avatar for akira_shinizaki

Hallo everyone, I have some problems with my assignment. I asked to provide some error-handling in my program. What I want to ask abou how we handle an input that isn't its type. For example i define a variable int a but we "accidentally" input a string or other type. …

Member Avatar for ArkM
0
75
Member Avatar for krany18

hai friends ,, in monster/naukri we have a search button is there.using that we can search the record from there. in my project also we have a registration form . if we wants any customer details just we enters the customer id or name that customer details can retrieved. i …

Member Avatar for reach_yousuf
0
141
Member Avatar for sundar divas

Q: Create a JSP based page wherein by clicking the add button the user details should be added to the database and clicking the delete button should delete the particular user details from the database. I am new to JSP so dont have much idea how to proceed? Do we …

Member Avatar for vee_liang
0
108
Member Avatar for imput1234

How do I set a fixed number of places. for example I want 1 to be 01. this is what I've been trying, but never works for some reason. Does anyone know how to do this. Thanks. int i = 1; cout << setprecision(2) << 1 ;

Member Avatar for imput1234
0
68
Member Avatar for Bouzy210

I am trying to write a script where it traverses the current folder and all subfolders and files and prints to screen the name of the files, filesize, and date last modified. e.g. test0.xml | 26 bytes | 11/21/08 23:35:28 (I can get it to do this) Folder/test1.xml | 26 …

Member Avatar for Bouzy210
0
119
Member Avatar for sacarias40

[code]Public Class Form1 Private Sub TextBox1_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.MouseHover ToolTip1.SetToolTip(TextBox1, "Cash Flow") End Sub Private Sub TextBox2_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.MouseHover ToolTip1.SetToolTip(TextBox2, "Account Balance") End Sub Private Sub TextBox1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TextBox1.MouseDown TextBox1.Clear() …

Member Avatar for timothybard
0
119
Member Avatar for akira_shinizaki

How we can limit input data ? For example we only want the user to input 4 characters, user only can write up to 4 characters. Thank you fot your help.

Member Avatar for Lerner
0
265
Member Avatar for PomonaGrange

Hi Folks I am trying to make a php form processing script. The form would have a large text area in it where the visitors could type a few paragraphs of text. I want this script to break the text from the form after 75 characters or if that is …

Member Avatar for PomonaGrange
0
212
Member Avatar for mohit12

i am complete novice at image processing please i have a problem plz can any one of u can provide me with a simple c or c++ code for the problem ...............with comments i have a floor plan of a building here is the link [url]http://www.plantechdesign.com/planimages/PBM040.jpg[/url] our software can divide …

Member Avatar for Paul.Esson
0
157
Member Avatar for mr_scooby

Hi Guys, I am trying to make a console based ATM Machine simulator, I have removed all the code that was not relevant to this challenge I am having. What I am trying to do in display the balance which I can do, opening balance is 94.37, then I need …

Member Avatar for mr_scooby
0
173
Member Avatar for OhItsThatGuy

Hey guys im new to C++ so if this is an dumb question all apologies. Whats going on is i am comparing a user entered major with one from a structure of information on students (name,hours,gpa,etc..). for this im trying to pull out majors in example say someone was a …

Member Avatar for ArkM
0
267
Member Avatar for scotchfx

The following test code compiles and executes correctly: [code=c++] class RegExpTest : public Framework { template <class T> int reParseNumbers( std::string, std::set<T>&, double=-1 ) throw(Exception ); } template <class T> int RegExpTest::reParseNumbers( std::string s, std::set<T> & numSet, double set_size_limit ) throw( Exception ) { // do some regular expression stuff …

Member Avatar for StuXYZ
0
186
Member Avatar for DLightman

I am gettin this compile error and for the life of me cannot figure it out: [CODE] BinarySearchTree.h:22: error: type âintâ is not a direct base of âBinarySearchTree<int, int, std::less<int> >::BinaryNodeâ [/CODE] This is the header file file the error refers: [CODE=cplusplus] #ifndef BINARY_SEARCH_TREE_H #define BINARY_SEARCH_TREE_H #include <cstdlib> #include <functional> …

Member Avatar for DLightman
0
125
Member Avatar for alex5161

Could someone help me understand what is going to be returned in following piese of code and why (the processing logic) (I have no way to compile it by myself now....) [CODE=C++]struct A { int value; virtual int access() { return this->value; } }; struct B { int value; virtual …

Member Avatar for ArkM
0
123
Member Avatar for localp

i am reading a url and inthat i have an array that has stored the value of a string as follows [code] address=no+3%2C+oxford+street in this wat i want is to display the address as "no 3 oxford street" [/code] some one please give me the code to write this as …

Member Avatar for KevinADC
0
90
Member Avatar for NinjaLink

Hey, I am trying to create the sum of my values contained in MyArray variable simultaneously while assigning the values in the same loop. Afterwards, I want to find the average of the numbers after the loop finishes. Problem: When I compute the numbers, I keep getting the same sum …

Member Avatar for timothybard
0
102
Member Avatar for sacarias40

ok i have a few textboxes and they have a "default" text. when you put your cursor into the textbox how can i delete the text automaticaly. see my picture to understand more

Member Avatar for sacarias40
0
66
Member Avatar for DeadJustice

I tried to modify this merge sort method to sort an array of type T. Its an merge sort except iterative. I was just wondering why it wouldn't sort right? Can anyone help me out? [CODE=Java]public static <T extends Comparable<? super T>> void iterativeMergeSort(T[] input) { // Create a temporary …

Member Avatar for DeadJustice
0
156
Member Avatar for jobojo

I need to add an array to the end of another array. I understand how to do this using the concat, join, and push methods. However, I need to do this using a loop (I am pretty sure a 'for' loop is the right choice), however, I can not figure …

Member Avatar for jobojo
0
1K
Member Avatar for valchid

hi,can someone please tell me how i can read in data,save data to a file and print it out to the screen using the "gets" statement.My code starts something like: [code=c] #include <stdio.h>; #include <stdlib.h>; struct { char make[10]; char model[10]; double cost; int yearMade; }cars; int main () { …

Member Avatar for valchid
0
101
Member Avatar for GT2010

I have 3 classes, a student class, a studentList class, and a form. The ToString method is implemented in the student class, and a few students have been created and added in the studentList class. In the form, I'd like my current list of students to show up in a …

Member Avatar for ddanbe
0
101
Member Avatar for Fouly

Hi all, The following code is generated automatically in Microsoft c++: [code] // InventoryAssignment(BETA).cpp : main project file. #include "StdAfx.h" #include "Form1.h" using namespace InventoryAssignmentBETA; [STAThreadAttribute] int main(array<System::String ^> ^args) { // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); // Create the main window and …

Member Avatar for Fouly
0
119
Member Avatar for koushal.vv
Member Avatar for shubhang

Hi, I am making a java program to make a countdown timer. User enters time,then when time is up a message is printed. How do I print the time on the same line? Please tell me how to go about it. Thanks.

Member Avatar for stultuske
0
259
Member Avatar for koushal.vv

Hi, i am using CMsFlexGrid in my project. the problem i m facing is the alignment of data ie when i store integer, double its getting aligned to right when i store strings its getting left aligned pls help. Display look very horrible :( .how to change it i dont …

0
106
Member Avatar for l_03

i dont know how to solve this problem,,it seems that i dont know how to fixed this error Exception in thread "main" java.lang.StackOverflowError please helped me,,im stack on it,, i just have a class public class ATM{ BankAccount bank = new BankAccount(); SavingsAccount savings = new SavingsAccount(); CheckingAccount checking = …

Member Avatar for stultuske
0
776
Member Avatar for Ahmed_I

Generic Double Linked List [CODE="C++"]/* These are generic Functions for a Generic List * Note:-Only Functions not including a Menu and an Interface * You could use these Functions for your own Benefit*/ #include <iostream> using namespace std; template <class X> struct node{ //Template Structure X data; node* next; node* …

Member Avatar for ArkM
0
197
Member Avatar for helloan

Hi I'm completely new to using VB in excel, but could someone help me fix my program. I'm supposed to find the roots of the equation denoted as func using the newton raphson method. Currently I am not getting the correct roots and the range of values which can be …

Member Avatar for arghasen
0
134
Member Avatar for BestJewSinceJC

Hey, one of you guys suggested that I go on Wikipedia's page for hash tables. It was actually pretty informative. I'm pressed for time so I am doing separate chaining for my hash table because it seems like it will be one of the easiest to implement (and according to …

Member Avatar for BestJewSinceJC
0
157
Member Avatar for Deusdies

Hi guys (and girls), My friend is considering starting an eCommerce website. He already has a website through which he sells products, but it is almost manually maintained (static HTML) and he has a hard time catching up with all the updates, as his sales have been increasing ever since. …

Member Avatar for whitehorse_699
0
241
Member Avatar for onlyvidya

Hello friends, I want to update the record in my database in MS-Access.What code should I write to update it?? What is the syntax for update statement?? plzz suggest me if u hv any idea...

Member Avatar for onlyvidya
0
105
Member Avatar for ohnomis

Hello, I'm writing a a program in C++ that adds/subtracts complex numbers. I'm having trouble writing the square root of -1 or "i" in a complex number. Complex number: realPart + imaginaryPart * i (where i is /-1) ["square root of -1"] so far I'm thinking the code is something …

Member Avatar for ohnomis
0
863
Member Avatar for Fouly

Hi all, I added a class named RandomVariableGenerator with the following functions in the .h file [code] static double GetRandomNumber(void); static double GetExponential(double beta); static double GetUnifrom(double a, double b); [/code] but after building them i got the following errors: Error 1 error LNK2020: unresolved token (06000002) RandomVariableGenerator::GetRandomNumber Error 3 …

Member Avatar for Fouly
0
167
Member Avatar for nor_d83

Hello everybody... I'have bound a database to my form, and it displays the record of some fields from my database. I want to make the displayed record so that it can be searched by clicking the "find" button by the related searching categories. Below are coding that i've used.. [Private …

Member Avatar for nor_d83
0
173
Member Avatar for deusieeee

I have a assignment that we are to write two clases (Ballot, Votes). We are to use an array of Ballot type to hold information for each particular Ballot. The Votes class is used to mark the ballots, count up all to votes, delete a ballot etc. I have the …

Member Avatar for omeralper
0
626
Member Avatar for vinpkl

hi all i have my lougout.php which destroys sessions and session ids on logout. I want to have same effect means i want to call this logout.php script when the user closes the "browser tab". as these are the days of "browser tabs" so this is very important for me. …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for cincachoo

Hi there forum members: Looking for some help .. I am a physician, not a programmer but ..... I have created in immunizations database in MySQL I would like to create a form for filling out immunizations on a chart in my office for families To make it simple, lets …

Member Avatar for LizR
0
142
Member Avatar for smorton123

I'm making a project in Xcode Pascal, the program asks the user if they want to begin then selects seven random in a 'lottery' style game. I wanted to save the numbers into an array so I could select any one of the seven numbers at one time. At the …

Member Avatar for LizR
0
234

The End.