132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for saj_amo

Hi i need help in changing a character case for exaple i have a textbox i want that when i write a word it should change case by character to character like : if i write " case " then text box should display " cAsE "

Software Development vb.net
Member Avatar for crapulency
0
157
Member Avatar for jwmollman

Hello guys, I'm really stumped on this assignment. What I need to do is make a triangle's height based on the number entered by the user. So if the user enteres 4, the output would be this: $ $$ $$$ $$$$ And I can't figure out how to do that. …

Software Development java
Member Avatar for tong1
0
245
Member Avatar for Emver

Hey, ive been creating this number guessing game, it works perfectly but I need to add a limit to the amount of turns a user can have. Any help would be greatly appreciated. [CODE]Module Module1 Sub Main() 'This program plays a simple number guessing game. Dim RandNum As Integer Dim …

Software Development vb.net
Member Avatar for crapulency
0
247
Member Avatar for king chandel

Can windows programming be implemented on turbo c.If it can be then please tell me how.. advanced thanx to all

Software Development c
Member Avatar for Adak
0
139
Member Avatar for blknmld69

Good Morning, Having all kinds of problems with my programs. Seems as though is trying to read the StudentList file but cant. Im confused. I run the program and it goes to the StudentList.java and gives the errors below after the code. PLEASE HELP! project is past due and the …

Software Development gui java java-swing
Member Avatar for blknmld69
0
407
Member Avatar for Wootens

Hey guys, I recently wrote this program and it compiles and works but I have two issues that need addressing and I'm a bit confused on how to solve them. Question 1) [CODE]System.out.println("What's your name?"); name = Scan.nextLine(); System.out.println("How old are you?"); age = Scan.nextInt(); [/CODE] I always thought Scan.next …

Software Development java
Member Avatar for Wootens
0
246
Member Avatar for alleybye

I need to do a program that the user will input a letter from alphabet then the program will show the alphabet that starts with the inputted letter. for example Letter: B B C D E F G and so on.. please help me guys.. ive been doing this almost …

Software Development java
Member Avatar for bops
0
563
Member Avatar for dustbunny000

This might be dumb... but I'm having problems raising e to a negative number and I can't figure out what is going on. [CODE]>>> math.exp(((-23*(23-1))/730)) 0.36787944117144233 >>> math.exp(-506/730) 0.36787944117144233 >>> math.exp(-.69) 0.5015760690660556 >>> math.exp(-(506/730)) 1.0[/CODE] For some reason I keep getting different answers when they should all be the same... …

Software Development python
Member Avatar for dustbunny000
0
85
Member Avatar for jalpesh_007

As i am new to use mouse interface in c. Please tell me how can we check mouse is connected or not. How can we get co-ordinate from computer screen when we clicked it. i just want that how can we store co-ordinate of screen in variable when we clicked …

Software Development c++
Member Avatar for Stefano Mtangoo
0
363
Member Avatar for Peter_morley

I'm having trouble displaying a string and integers through the use of stringstream. The code below displays fine as is but say I put in << endl after name. When I compile this it only displays the name string and thats it. If I add a space in any of …

Software Development c++
Member Avatar for Peter_morley
0
238
Member Avatar for lewashby

[CODE]import math class Vector2(object): def __init__(self, x = 0.0, y = 0.0): self.x = x self.y = y def __str__(self): return "(%s, %s)" % (self.x, self.y) @classmethod def from_points(P1, P2): return Vector2(P2[0] - P1[0], P2[1] - P1[1]) def get_magnitude(self): return math.sqrt(self.x**2 + self.y**2) def normalize(self): magnitude = self.get_magnitude() self.x /= …

Software Development python
Member Avatar for lewashby
0
114
Member Avatar for cirvelasares

please help me, in applet.. how to make a square..? and how can i move it..like a rectangle movement..?

Software Development java
Member Avatar for coil
0
62
Member Avatar for ramkumar0022
Member Avatar for eduard77

I have an exercise again and I got blocked again. The exercise is: Daphne invests $100 at 10% simple interest. That is, every year, the investment earns 10% of the original investment, or $10 each and every year: interest = 0.10 × original balance At the same time, Cleo invests …

Software Development c++
Member Avatar for eduard77
0
233
Member Avatar for marygloria

hi guys, i have a few questions which is actually my assignments, but i'm still confuse about stack and implementations using pointers in C. this is the questions: 1. write a function to find if the stack is empty or not. 2. write a function to find the number of …

Software Development c
Member Avatar for Narue
0
254
Member Avatar for jasleen12345

this is a program that my teacher gave me in the class. but i didn't understand it....please explain it to me step by step... [code= c++] #include<iostream.h> class queue { int element; queue* next; public: queue* enqueue(queue*,int); queue* dequeue(queue*); void queue_display(queue*); }*head,*tail,object; queue* queue::enqueue(queue* head,int key) { queue* temp; temp=new …

Software Development c++ linked-list queue
Member Avatar for Ancient Dragon
0
122
Member Avatar for emilyhedgecock

Hi I have just written this code (am just starting out with c++ so took a while :s) Works fine.... untill character 2 is created. When the program is run the character 1 is fine and every time the users is asked "Please enter x" they can and it is …

Software Development c++
Member Avatar for emilyhedgecock
0
461
Member Avatar for nayefc

Hello, I am trying to write a program that reverses an array with integers. Here is what I have so far: driver.asm [CODE] # Test driver for reverser.asm # .data tsize: .word 10 tdata: .word 2, 3, 5, 7, 11, 13, 17, 19, 23, 29 .text main: la $a0, tdata …

Software Development algorithm assembly
Member Avatar for nayefc
0
7K
Member Avatar for FNHA

I'm writing a deque implementation with ArrayList as required by my instructor. So far the body of the class looks like this [code=java] try { while (!endOfFile) { character = inputFile.readChar(); while (!character.equals('\u0003')) { if (character.equals('\u0008')) deck.removeBack(); else deck.addToBack(character); } } while (!deck.isEmpty()) { character = deck.removeFront(); if (character.equals('\u0003')) System.out.print("\n"); …

Software Development java
Member Avatar for FNHA
0
142
Member Avatar for markdean.expres

Hi everyone! Can anyone help me how to create an application that updates an Access 2007 file from another computer? I am in great need for knowing it. It is a part of my thesis and until now, I still can't find relevant answers from the internet. I hope this …

Software Development client-server vb.net
Member Avatar for cooljyothi
0
119
Member Avatar for guru_iyer

I have been told to sort an array of structure(student) depending on one of its members(per) using bubble sort. I need to sort the 'student' structure in descending order of 'per'. Please help. I'm stuck!! [CODE] #include<stdio.h> #include<conio.h> struct student { char sname[20],dept[25]; int rollno; float per; }s[30]; void accept(int …

Software Development c
Member Avatar for guru_iyer
0
936
Member Avatar for group256

Hi, I'm trying to write a shell script to show me the number of Readable, Writable and executable files in a directory. I have no idea how I can do that. Any help??? Thank you.

Software Development display shell-scripting
Member Avatar for desertdenizen
0
679
Member Avatar for dragonflame17

I wrote this program for a class, the only problem is that it returns the anwser for assessmentValue twice. I can't figure out what to do to fix it...please help!! [code=php] def main(): #Get the actual value for the property. actualValue = input ("Enter the actual value of the property:$") …

Software Development python
Member Avatar for TrustyTony
0
108
Member Avatar for Krokcy

Hey! I just startet fildeling around with c++ a week or so ago. I have some experience in Java and python. Anyways, i wanted to make this simple hangman game; [code] #include <cstdlib> #include <iostream> #include <string> #include <fstream> using namespace std; void exit(int exitcode); char hus[] = {'h', 'u', …

Software Development c++
Member Avatar for VernonDozier
0
1K
Member Avatar for Philosophy

First off, I do want to state that I have read the forums and have not found an issue directly regarding this exact problem, though it is possible I may have overlooked it or something and if so please just point me in the right direction and I will leave …

Software Development c++
Member Avatar for Philosophy
0
176
Member Avatar for lipton150786

[B]I have completed a VB.NET project and I want make a installer for this project by coding. so I don't know how coding ! can you help me. please!! thanks![/B]

Software Development vb.net
Member Avatar for samuel_1991
0
155
Member Avatar for choover12

you can do this dim i as integer = 0 Public Sub Addtab() Dim browser As New webbrowser browser.Dock = DockStyle.Fill 'docking it browser.ContextMenuStrip = main.cms 'adding a context menustip to it Dim tab As New TabPage tab.Controls.Add(browser) main.Tabs.TabPages.Add(tab) 'IMPORTANT you must select the tab main.Tabs.Select(i) i += 1 End …

Software Development cms vb.net
0
307
Member Avatar for Loveday

Good day all! Please I need someone to help me out by telling me what or how will I call up an Applet from a separate Java file that has a main method in it...thats to say, I will compile and run the Applet code from the other class with …

Software Development java
Member Avatar for NormR1
0
2K
Member Avatar for DaveTran

I would like to write a class that handles a series of timed events for an object. I would need to deal with class properties not being set, and therefore making no change to the object. I've gone with the "?" nullable operator for my first attempt but I would …

Software Development
Member Avatar for Ramy Mahrous
0
117
Member Avatar for Panda.

I was wondering how I could start to program. I have looked up some information on the topic and it seems that C++ would be the most usefull to learn. However as it seems a complex thing to learn I was wondering if there was another language to learn first …

Software Development c++
Member Avatar for Nathaniel10
0
108
Member Avatar for jackcfj0129

Write a program that lets the user enter loan amount and loan period in numbers of years and display the monthly and total payments for each interest rate starting from 5% to 8%,with an increment of 1/8. Your program should have at least [b]2 methods[/b],method for calculation and method to …

Software Development java
Member Avatar for tong1
0
1K
Member Avatar for LianaN

Hi! I'm developing a simple file manager. So, I have two components: JTree & JTable. When I open some folder in JTree, then JTable is updated according to the content of that folder. JTable contains 3 columns: file_type, file_name, file_bytes. The code works correctly. Now I need to add some …

Software Development java
Member Avatar for JamesCherrill
0
95
Member Avatar for DocRocks

Hello all, I am a beginner in C programming and have come up on a problem. I need to create 4 functions, 3 of the functions will get the users input (the 3 inputs will be the length of the sides of a triangle) and 1 function will be displaying …

Software Development c
Member Avatar for Adak
0
123
Member Avatar for arjen

hello guys.. can u help me in my code that if i change the value of empno all the corresponding data in the empno the empname, empaddress and so on will also change because i can't figure out that when i change the value it will also change all the …

Software Development vb.net
0
76
Member Avatar for bbonik

Dear all, I am having a very frustrating problem with a project in Visual Studio 2008 C#. I have tried everything, I have searched everywhere, but it seems that nothing works. I would appreciate if someone gave me some directions or suggestions, as to where to look for the solution. …

Software Development algorithm visual-studio
Member Avatar for CloneXpert
0
133
Member Avatar for dimmslider

Hello all, I'm having a little melt-down trying to work out how to call a method of a dynamically loaded control... My setup is this: Admin.aspx CustomControl.ascx Admin.aspx has the following code to load CustomControl.ascx: [CODE] UserControl UC = (UserControl)LoadControl("~/admin_custom_controls/howComments.ascx"); modulesPlaceHolder.Controls.Clear(); modulesPlaceHolder.Controls.Add(UC); [/CODE] CustomControl.ascx has a method: [CODE] public void …

Software Development
Member Avatar for dimmslider
0
140
Member Avatar for hulk33597

i am making a project on speech recognition and i want to integrate it with window. i can open the active window by runtime class by voice but can't close that active window by voice .. like how can i invoke alt-f4,back_space and other special key for window without keypess... …

Software Development java
Member Avatar for peter_budo
0
128
Member Avatar for CodyOebel

Ok, I have code that needs to forever loop, and process. My code in the windows procedure has a case WM_LBUTTONDOWN: . I left click on the client area of the window and it processes the code accordingly. Now so that it keeps processing code at the end of the …

Software Development api c++ window-manager windows-api
Member Avatar for LevyDee
0
166
Member Avatar for NewOrder

i want the array to run from one place in diagnol to another place in the array. i set the arguments. here they are [CODE] int rowStart=3; int rowEnd=5; int columnStart=3; int columnEnd=5; int columnX=columnEnd-columnStart; int rowY=rowEnd-rowStart; [/CODE] here is the single loop that i prepared: [CODE] if (rowY>0 && …

Software Development java
Member Avatar for NewOrder
0
106
Member Avatar for Krs13

Hi, In Vb i have a form for login and many forms.After i login the username is displayed in all the forms. I can add,update and save the records in database table. But i now want to store the Username to these records so that to check who has entered …

Software Development visual-basic
Member Avatar for kinwang2009
0
108
Member Avatar for pawan_sharma777

i make this project what i unable to use file handling[CODE] #include<iostream.h> #include<conio.h> #include<dos.h> #include<stdlib.h> #include<stdio.h> #include<string.h> #include<fstream.h> #include<ctype.h> #include<bios.h> #include<ctype.h> int menu(int,char a[25],char b[25],char c[25],char d[25],char e[25],char sl1[2],char sl2[2],char title[40],char under[2]); void lbyl(char a[50]); void main_menu(); void student_menu(); void mark_menu(); int records=0; void lbyl(char a[50]) { int l,i; l=strlen(a); …

Software Development c++ data-science file-stream file-system ios
Member Avatar for nbaztec
0
155
Member Avatar for emko

Hi, I would like to get some suggestions on how to change this program from array to vectors. This program reads an ASCII input file and outputs the character frequency into a text file. I got it to work with the arrays, but I can't figure out where to do …

Software Development c++ file-stream
Member Avatar for emko
0
153
Member Avatar for harpay

Write a C++ program that creates an invoice for a small fruit vendor named “Bob’s Fruits”. The fruit vendor sells three kinds of fruit: oranges, apples, and bananas. Oranges cost .90 each, apples cost .65 each and bananas cost .70 each. For each type of fruit the program should ask …

Software Development c++
Member Avatar for nbaztec
0
582
Member Avatar for mamdooh26

Hi every one I am facing a problem in deleting items from a list <<< Could any help me !!! [CODE]b=['a', 'b', 'r', 'g'] for c in b: b.remove(c) [/CODE] but when I check b the result is ['b', 'g'] how can I delet all items using for loop thanks

Software Development python
Member Avatar for cghtkh
0
85
Member Avatar for Naveed_786

Dear All, How can i get Crystal report between two dates from SQL SERVER Database. We will enter the dates from One column. Any help will be apriciated.

Software Development vb.net
Member Avatar for bhagawatshinde
0
104
Member Avatar for kk33

Hi all, here is my code to find the LoadlibraryA address from an exe, I want to write the return value to text file , but I cant figure out how to do that.Any help would be greatly appreciated. [CODE] #include <windows.h> #include <tlhelp32.h> #include <iostream> #include <conio.h> using namespace …

Software Development c++
Member Avatar for kk33
0
227
Member Avatar for pawan_sharma777

i use microsoft visual c++ but i'm unable to execute my graphics program in it is there any solution to over come it???????????????? and can any one have an project of student management system ????????????

Software Development c++
Member Avatar for pawan_sharma777
0
98
Member Avatar for kirviepalencia

ca anyone help me... i am having a problem of my c++ code.. im still a begineer in c++ and i want to creat a program that searches and input an ID number and reading the whole line..this is my sample txtfile Record2.txt 101,Kirviepalencia,500.00 102,ALmond Olilang,700.00 103,Krishna Laguardia,200.00 104,Carl Kabalyero.300.00 …

Software Development c++
Member Avatar for kirviepalencia
0
162
Member Avatar for daudiam

Forward referencing is allowed during declarations when the undeclared variable is used in the LHS of an expression, but not if its in the RHS. Therefore, the following won't work : [CODE]class A { int a=h; int h; }[/CODE] But the following code works : [CODE]class A { int a=this.h; …

Software Development java
Member Avatar for daudiam
0
227
Member Avatar for daudiam

Is it true that during autoboxing, the type.valueOf() method is called (which creates a new object only if another with the same primitive constant is not in the intern list. This applies to cases where interning is allowed. Otherwise, it creates a new object using new() ). Is this right …

Software Development java
Member Avatar for daudiam
0
141

The End.