132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yousuf13

hi everybody im a fresher ,can anyone tell me . i have one textbox ,this textbox contains a number ,i want to delete a record by searching that number in two tables Table1 and Table2,the record may present in Table1 or Table2 ,so it should check both the Tables ,if …

Software Development vb.net
Member Avatar for debasisdas
0
109
Member Avatar for Mal-man

Stuck on a program i've been trying to work on for the last few hours. A user enters 2 arrays, both are charater arrays with 5 spaces each. They are passed into a function that compares the 2 arrays to each other [I]character by character[/I]. If they are idenital the …

Software Development c
Member Avatar for darkdai
0
7K
Member Avatar for sara90

hello every one i make a project about linked list and do some functions on the linked list i want to sort the name in the linked list alphabetical i wrote this code but there is something wrong in it anyone can help thanks :) [CODE]# include <iostream> using namespace …

Software Development c++ linked-list
Member Avatar for Chilton
0
92
Member Avatar for CorruptionInc

OK, so here's my assignment...ask the user for a sentence, then print each word along with its position in the sentence. Then ask for another sentence... if the sentence is empty, terminate. My code works... but I don't know how to get it to loop back to asking for another …

Software Development java
Member Avatar for CorruptionInc
0
116
Member Avatar for Poopster01

I have written my first class and I was given a driver program to test my class it might seem silly but how do I run the driver file to test my class Description: Java Class Die that will manage a roll of a six-sided die. The Class will include …

Software Development algorithm java
Member Avatar for thekashyap
0
227
Member Avatar for susheelsundar

Greetings Everyone. :) My question is, is there any website which has intermediary java programs, i am concentrating on importing classes, Methodoverloading, Constructors and etc, i want some guidance with various examples, Do you have any suggestion? Adv Thanks, Susheel

Software Development java
Member Avatar for jwenting
0
103
Member Avatar for loveranjan

[CODE=C] #include <cstdlib> #include <iostream> #include <conio.h> #include <new> using namespace std; class Array { struct node { char *str; int item; struct node *next; }*p; public : Array() { p = NULL; } ~Array() { node *s; if(p == NULL) return; while(p != NULL) { s = p->next; delete …

Software Development c++
Member Avatar for drkybelk
0
198
Member Avatar for fsamu2001

for (int counter = 0; counter > size ; counter ++ ) { sum = sum + score[counter]; } average = sum /size; cout << "The average Score is:" << average << endl; } void sortData(string* name, int* score, int size) { int index_one, index_two; char temp; for ( index_one …

Software Development c++
Member Avatar for thekashyap
0
145
Member Avatar for programing

plz how i can delete a specific value in linkedlist ..

Software Development c++
Member Avatar for thekashyap
0
94
Member Avatar for EkoX

hi, i try to make a square number but its not limited by 2. number and the square can be any numbers. so its like n^n. please help me.. i confused how to do this.. any help will be appreciated. thanks.

Software Development pascal
Member Avatar for Wolfgan
0
221
Member Avatar for darkagn

Hi all, Can someone tell me if this is a delphi bug? I am using a Controls.TDate to store a date and using the SysUtils.EncodeDate function to set the value. [code] Invoice.DateReceived := EncodeDate(2011, 03, 16); [/code] When I store it in a MS SQL database field, it is adding …

Software Development delphi mssql pascal
Member Avatar for Wolfgan
0
166
Member Avatar for Nicko_FaTe_

i have to make a program that facilitates the returning of lost pets to their owners, my current step to start is to make a function that populates the struct. here is my current work: [CODE]#include <iostream> #include <string> #include <cstdlib> #include <fstream> #include <iomanip> using namespace std; const int …

Software Development c++
Member Avatar for jonsca
0
134
Member Avatar for blur blur

can any1 pls tell me how can i solve my problem? i'm running a c program that required the user to key in a int, but instead of keying in int the user key in char... and somehow the program stor the char n turn it into int... some even …

Software Development c
Member Avatar for thekashyap
0
114
Member Avatar for biancaW

How do you sort names alphabetically using functions in C++ from file? After the last set of words has been processed the program is to print out a) the number of sets processed b) the number of sets that were in alphabetical order to start with, and needed no rearranging. …

Software Development c++
Member Avatar for thekashyap
0
131
Member Avatar for eileenc87

Hi , i'm new to vb.net. i wish to concatenate date and time from 2 different datetimepicker after concatenated I want it to be save in sql database format which is yyyy-MM-dd HH:mm:ss I'm doing half way and my query is like below. Dim insertCmd As New SqlCommand(Sqlstr, connection) insertCmd.Parameters.Add("@School_Subject", …

Software Development vb.net
Member Avatar for Saikalyankumar
0
236
Member Avatar for jinglylime

hi, im trying to make a bike move by using the pedal() method, the method will move the bike forward a distance of half the circumference of a wheel. ive tried creating the pedal() method however when the method is invoke the position of the bike is still the same. …

Software Development java
Member Avatar for thekashyap
0
133
Member Avatar for vinothmca

in my Project I would like to use Command button instead of push button ,How can i do that process?

Software Development visual-basic
Member Avatar for debasisdas
0
317
Member Avatar for gyuunyuu

I found numerous examples on converting infix expression to postfix expression but my program needs to include some functions like sqrt(x), min/max(x,y), fact(x), abs(x). abs(‐5) is converted to ‐5 abs 120 – (45+3) is converted to 120 45 3 + ‐ (3^2 + 4^5)*fact(3) is converted to 3 2 ^ …

Software Development algorithm c
Member Avatar for thekashyap
0
134
Member Avatar for meensatwork

Hello, Iam using matplotlib to create a scatter plot and i have trouble in converting to exe. The error iam getting is [CODE]Traceback (most recent call last): File "portopti.py", line 8, in <module> File "matplotlib\pyplot.pyc", line 95, in <module> File "matplotlib\backends\__init__.pyc", line 25, in pylab_setup ImportError: No module named backend_tkagg[/CODE] …

Software Development python
Member Avatar for meensatwork
0
531
Member Avatar for daniweb2011

plss help me.. on how to use combo bx in vb6... i need a code on how to prompt if there account is expire or not.. plsss help me...

Software Development visual-basic
Member Avatar for AndreRet
0
99
Member Avatar for mja0mja

Anyone who have experience or any prior knowledge in Image processing (especially using C) please help me..I am looking forward to do a project on 'Video Indexing Using Text Extraction'. I do believe that it can be done by using 'Text Extraction from Images' concept.If anyone have some code for …

Software Development c image video
Member Avatar for samraj
0
170
Member Avatar for Charlton21

Hi, I'm trying to write a program that will take an infix notation postifx RPN. My problem is that I can't get it to print out the new equation if someone could try and help me out with that, Iit would be greatly appreciated. [CODE]#include <iostream> #include <queue> #include <stack> …

Software Development c++ queue
Member Avatar for WaltP
0
155
Member Avatar for hobbyenthusiast

I have to compute the olympic average(removing highest and lowest score and then taking the average of what's left) using a for loop and if statements. I can get the lowest value out, but I can't get the highest. Here's what I have so far: [CODE]// ,CMPSC , olympic average …

Software Development c++
Member Avatar for WaltP
0
269
Member Avatar for rannamaa

Trying to learn c# and dont understand why i cant compare string. [CODE] if (answere == 'j' || answere == 'J') { again = true; } else again = false; [/CODE] How do I do to make this happen in c#?

Software Development
Member Avatar for rannamaa
0
95
Member Avatar for abu taher

I can enable or disable task manager manually. like: start> run > gpedit.msc from group policy setting > user configuration > administrative templetes> system> ctrl+alt+del. I want to do it in vb6. If click a button then it disable or enable. Is it possible to do? If yes then how?

Software Development visual-basic
Member Avatar for AndreRet
0
877
Member Avatar for pito_donje

how to lock the taskbar, control panels & windows task manager on my VB program running time. I do not got a clue about it. help me to code. thank you for your attention

Software Development visual-basic
Member Avatar for Jx_Man
0
201
Member Avatar for Skyelher

[CODE]TreeSet goodWords = new TreeSet(); ... Iterator iterGoodWords = goodWords.iterator(); while (iterGoodWords.hasnext()) { String word = iterGoodWords.next(); System.out.println(word); }[/CODE] Tell me, why doesn’t that print anything even if there are some items in the goodWords collection? I know there are items in the set because when I check the size, …

Software Development java
Member Avatar for Skyelher
0
172
Member Avatar for SlyMaelstrom

Hi, I'm doing some work for an Access Database but I caught a snag writing an event. I want the event to (among other things) change the Control Source of an object. This is no problem, except I have to set the control source as a string, and the string …

Software Development visual-basic
Member Avatar for kiran2010
0
640
Member Avatar for ladylady

it suppose to look like this Trapezoid with height 4, base1 3 and base2 9 EEE EEEEE EEEEEEE EEEEEEEEE but nothing is happening this is my code [code] else if (letter =='Q' || letter =='q') { cin>>hei>>wei>>draw; base = hei*2; cout<<"Trapezoid with height "<<hei<<"base1 "<<wei<<"and base2 "<<base; cout<<endl; for(i=1;i<hei;i++) { …

Software Development c++
Member Avatar for PathikRaval
0
110
Member Avatar for swathys

Hi, I am changing the sql database to database access (.mdb). The problem is when i run my application using sql connection its work well and all the tables are updated but when i use mdb connection it update some of the tables and few other table it does not …

Software Development microsoft-access open-source sql vb.net
Member Avatar for swathys
0
122
Member Avatar for ami7

hi I am looking for ideas to develop a map I'm looking for source code with c # to develop this map

Software Development c#
Member Avatar for Xcelled194
0
137
Member Avatar for meensatwork

I have an issue while creating a CSV file using the CSV module [CODE]csvFp = csv.writer(open(fileName,"w"), delimiter=',') csvFp .writerow('1') csvFp .writerow('2') csvFp .writerow('3')[/CODE] When i execute the above code,it creates the CSV file correctly but a blank line is inserted between each row eventhough i have not inserted that in …

Software Development python
Member Avatar for meensatwork
0
131
Member Avatar for mrjohnka

The compiler is showing "not all code paths return a value" for the CalculateCharges. Help!! [CODE] public decimal CalculateCharges() { decimal pay; decimal decHoursParked; decHoursParked = Math.Ceiling(_hoursParked); if (decHoursParked <= 3) { pay = 4; } else if (decHoursParked > 3) { pay = decHoursParked * 2 - 2; } …

Software Development c c# c++
Member Avatar for Xcelled194
0
157
Member Avatar for JudeV

how come my code is not showing like the one in the picture below. [CODE] static void Main(string[] args) { Console.Title = "ICA18 - Methods"; Console.WriteLine("{0, 40}", "ICA 18 - Methods"); double dvelocity = GetDouble("Enter the velocity: ", 10.0, 200.0); double dangle = GetDouble("Enter the muzzle angle in degrees: ", …

Software Development
Member Avatar for Xcelled194
0
210
Member Avatar for nightcracker

Hi! I've recently converted some C code to a bit more native C++. This included changing printf() statements to std::cout statements. However, some printf()'s are rather lengthy and annoyingly long (and human-error-prone) to write in std::cout. Example (and this one is a short one): C-style: [CODE]printf("ERROR %d: %s: %s\n", event, …

Software Development c++
Member Avatar for mike_2000_17
0
760
Member Avatar for sariberri

This is my first time making a GUI and we're making a stopwatch...I figured everything out except for how to make the time elapsed have one decimal place ex: 1.1 seconds this is what I have so far [CODE]public void actionPerformed(ActionEvent ae){ stop.setEnabled(true); long endTime; if(ae.getActionCommand().equals("Start")){ display.setText("Start Button was Pressed"); …

Software Development gui java
Member Avatar for sariberri
0
218
Member Avatar for ahappysadface

dear Group256 i am a student who is doing my project on python platform...according to my project i has to have a client server public chat code which is very similar to the one u have posted here. i am currently working on a code for this puepose but i …

Software Development client-server python
Member Avatar for griswolf
0
112
Member Avatar for Silent Storm

Currently working on an application with the following guidelines: The application is supposed to feature a program that calculates and displays a customer's bill using the interface and figures found here: [url]http://books.google.com/books?id=jGvseZN0g7gC&pg=PA468&lpg=PA468&dq=cable+direct+visual+basic&source=bl&ots=z0KhRX9BGS&sig=8zejHyLyd6Vb8kTVuJIrnsM1p4k&hl=en&ei=fLOHTev5EZOXtwf_zYzTBA&sa=X&oi=book_result&ct=result&resnum=3&ved=0CC4Q6AEwAg#v=onepage&q&f=false[/url] In addition, the following features are required: [LIST] [*]The premium channels ListBox (channelsListBox) has the following selection: 1, …

Software Development vb.net visual-basic
Member Avatar for Unhnd_Exception
0
127
Member Avatar for milanna1992

there are two text files, one called target.txt and template.txt i can only get my program to read in the text files.. im not sure how i can echo print them to the screen and format them to a table please any help would be appreciated! 1. Reads the target …

Software Development c++
Member Avatar for milanna1992
0
171
Member Avatar for Khoanyneosr

So, I've heard rumors that you can write web apps in C++. Is that true?

Software Development c c# c++
Member Avatar for Khoanyneosr
0
151
Member Avatar for Khoanyneosr

[CODE] // Hangman Redo Program #include <iostream> #include <string> #include <cstdlib> #include <ctime> #include <string> #include <vector> #include <algorithm> using namespace std; //Functions void welcome(); void instructions(); int game(string sofar, const string THE_WORD, int MAX_WRONG, int wrong, string used); // Types and Arrays string choice; string inst; const int MAX_WRONG …

Software Development algorithm c++ visual-studio
Member Avatar for Khoanyneosr
0
280
Member Avatar for prince87

Hi can somebody help me. This is my coding for button Next and Previous but when I click on next it just goes to next like from pictures 1 and 2 to pic 3 and 4 but not any more because i have pictures in two imagelist upto 20 but …

Software Development vb.net
Member Avatar for prince87
0
3K
Member Avatar for ak24

Hello... I am learning assembly, and am reading "The Art of Assembly" book. I'm on chapter 4, and I can't figure out where is the error in the following code: "The last problem with pointers is the lack of type-safe access. This can occur because HLA cannot and does not …

Software Development assembly
Member Avatar for ak24
0
174
Member Avatar for CSWalls

Hey guys.. thanks in advance for whosoever helps and gives their views.. So I am facing some problems with my CS program... which is in c++ and is about heaps.. its pretty basic stuff.. [B]Here's the Heap.cpp (implementation file)[/B] [ICODE]/** @file Heap.cpp */ #include "Heap.h" // header file for class …

Software Development c++
Member Avatar for CSWalls
0
252
Member Avatar for lochnessmonster

when i release a library of code for example my "stack class" where should i put the exception handling code for it? for example... should it be stack.h stack.cpp stackExceptions.h stackExceptions.cpp or..... like this stack.h <--- embed stack exception interface in here stack.cpp <--- embed stack exception implementation in here …

Software Development c++
Member Avatar for mike_2000_17
0
158
Member Avatar for sirlink99

I have a little problem with my if statement. I have a code where I am comparing if a sprite has moved far enough for another one to generate behind it. Here it is (the dots are choped out code): [CODE]if (unit > 0) { if (moved > speed + …

Software Development gaming java programming-construct
0
85
Member Avatar for bsquinn1451

Hello all, I am have a text file with a list of windows services. Is there a way to check if the computer I'm working on has a specific service installed(Currently Win7 but needs to work for Vista and XP too? I want to do something like this: [CODE]bool found …

Software Development c++ microsoft windows-vista
Member Avatar for Ancient Dragon
0
111
Member Avatar for Eekhoorn

I have this litle problem, which is propably very futile, but still I cant't find the solution. I have this function which scans a directory for all kinds of files and returns all the filenames with the right extention. After that I cut of the directory string, put it into …

Software Development dataset open-source pdf vb.net xml
Member Avatar for Eekhoorn
0
182
Member Avatar for banoo2010

Hello there; I am new to object oriented programming need to use vectors. basically I have data from CSV file and I stored it in a vector. I need to partition this vector to n vectors and I need it to be dynamic. I started using class in order to …

Software Development algorithm c++
Member Avatar for banoo2010
0
289
Member Avatar for Xeno86

#include <stdio.h> main() { double fahr,cel; char again; do{ printf("Enter Dgree"); scanf("%lf",&fahr); printf("In Celsius that is %.1lf\n",(fahr-32)*5.0/9.0); printf("agian?"); scanf("%c",&again); } while (again =='y'); } I don't understand why this won't loop any ideas?

Software Development c
Member Avatar for Xeno86
0
174

The End.