132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Simran Kaur

Hello Friends, How to find Lines of Code in VS 2010? Regards, Simran Kaur

Software Development vb.net
Member Avatar for dxider
0
634
Member Avatar for Miss-uae

hi all. plz i need help , idon't know how to solve it if anybody help me and to discuss to me how can i write it in assembly program , and this is the question: ================ Write an assembly program that reads Quantity and Unit price as a string …

Software Development assembly
Member Avatar for bfrin1
0
180
Member Avatar for perly

Hi, I have two files: File1 (tab-delimited and two columns): Ex_efxb 0.0023 MSeef 2.3000 F_ecjc 0.3338 MWEEI -0.111 DDAIij 17.777 File2: MSeef 2.3000 F_ecjc 0.3338 I want to search the content of File one using the content of File 2 and then display the output as follows: Date of search: …

Software Development perl
Member Avatar for perly
0
1K
Member Avatar for burntout

A company pays its salespeople on a commission basis. The salespeople receive $200 per week, plus 9% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in a week receives $200 plus 9% of $5000, or a total of $650. Develop a console …

Software Development vb.net
0
169
Member Avatar for ITKnight

Hi all, How i can split a string that include spaces by "&" ? I already used split function but there are problem with spaces. thanks.

Software Development visual-basic
Member Avatar for ITKnight
0
211
Member Avatar for goldeneagle217

I am writing a program that requires toggling between 2 forms. I thought I could use the Hide and Show methods but I need a way for the forms to know about each other so they can Hide themselves and Show the other form. Initially, form1 instantiates form2

Software Development
Member Avatar for goldeneagle217
0
123
Member Avatar for alex1050

[CODE]#include <stdio.h> cant figure it out, im trying to count all digits please help with this bugs int main() { int iochar, numdigits=0, numlower=0, numupper=0, numwhites=0; printf("Please enter a phrase:\n\n"); while((iochar=getchar())!=EOF) { if ((iochar='\o ')||(iochar='\t')||(iochar='\n')) { numwhites++; putchar(iochar); } else if((iochar>='0')&&(iochar<='9')) { numdigits++; putchar(iochar); } else if(('a'<=iochar)&&(iochar<='z')) { numlower++; putchar(iochar-32); …

Software Development c++
Member Avatar for alex1050
0
85
Member Avatar for os.hacker64

When you do something like [code] cmp eax,ebx ja start;jump if above start: [/code] Jump if above jumps if eax is greater or if ebx is greater?

Software Development assembly
Member Avatar for GunnerInc
0
128
Member Avatar for Unseen Machine

Hi folks, I have googled around, read a lot and still can't figure it out. I know a bit of C++, but am far from literate in all commands. I am much happier with QBasic (old i know, but it works). I have made qb code and need to convert …

Software Development c++ file-stream os-x
Member Avatar for mike_2000_17
0
344
Member Avatar for margeaux54

after finishing books of thinking in c++ vol1 and voL2 , ı decided to read c++ programming language 3rd edition by stroustrup. Do you think that it is appropriate?

Software Development c++
Member Avatar for rubberman
0
140
Member Avatar for jmcorpse

Can someone help me figure out what I am doing wrong here. I think I may be running my head into this way to many times to see what is wrong with it. The error code is posted below. [CODE] import java.util.Scanner; public class userName { /** * @param args …

Software Development java
Member Avatar for jmcorpse
0
319
Member Avatar for jrp370

my problem comes up with the code is creating an envelope it keeps saying that envelope can not be resolved to a variable any idea on how to fix this? [CODE]import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; /* $Id: MailClient.java,v 1.7 1999/07/22 12:07:30 kangasha Exp $ */ * A …

Software Development gui java
Member Avatar for Ezzaral
0
194
Member Avatar for sirlink99

I have this code, when run, it is terribly unorganized. It looks like this: [Label Here] [Button Here] [-----TextField Here ----] [invisible Label][Button] my program does this: when something is entered in the JTextField and then you click the [Button Here] then it prints what you printed in the [invisible …

Software Development java
Member Avatar for sirlink99
0
7K
Member Avatar for Kase42

Hey everyone. I am attempting to create a simple console maze generator in C++ for a school project. I've already gotten most of it down but I'm having a problem debugging the actual generation algorithm I've implemented. I've been learning C++ for the past few months now but I haven't …

Software Development algorithm c c# c++
Member Avatar for Kase42
0
2K
Member Avatar for Despairy

hey i have a problem with a code that i cant figure out what it is im "fresh meat" in assembly so might be a few things what i tried to do is 1) open rnd.txt(65kb) file as read/write ( dump.exe it and you get hex numbers on dos) 2) …

Software Development assembly
0
72
Member Avatar for Ssnowlin

I have a reg text box and just want to add the save command, I managed to figure out how to do open but save is giving me problems. I am fairly new at VB.net been coding less then a week so I need all the help you can give …

Software Development file-system vb.net
Member Avatar for Ssnowlin
0
114
Member Avatar for efronefron

I dont have any idea what the problem is. But what I know is it stopped at fgets(temp, 256, stdin); when I run the program, it runs this line and then just stopped because of a segmentation fault. The silly printfs are just for me checking where it stopped exactly. …

Software Development c linked-list
Member Avatar for efronefron
0
129
Member Avatar for leftovas17

Yes, I have looked in the forums for answers and have found plenty, and am asking about what I could not find. And yes, this is homework, but I need help and my professor has not responded thus far... now on to business. Description of Goal: Make a Set Data …

Software Development c data-structure linked-list
Member Avatar for leftovas17
0
497
Member Avatar for FrancisLazo

Hey there guys I need your help as I do not fully understand the program source code below. This program will multiply two numbers without using the multiplication sign (*). I am confused with the highlighted part, the for loop part. Here it is: [CODE]#include <iostream> #include <string> using namespace …

Software Development c++
Member Avatar for FrancisLazo
0
157
Member Avatar for alonewolf23

[CODE]//Created by //Ticket Reservation System of 5 first class and 5 economy tickets import java.util.Scanner; public class Planeticket { public static void main(String args[]) { boolean EconArray[] = new boolean[5]; // boolean array with 5 elements boolean FirstArray[] = new boolean[5]; Scanner input = new Scanner(System.in); int value; for(int i …

Software Development java
Member Avatar for alonewolf23
0
1K
Member Avatar for e-papa

This is a program that can calculate, the GPA of a student on a 5.0 scale,it's written in python 3.x and no modules are required.

Software Development python
Member Avatar for TrustyTony
0
6K
Member Avatar for salmap

Hi, I have two grid views dg1 and dg2 dg1 --------------- Qty ------------- 1 2 3 dg2 -------- Price -------- 1 2 3 I want to display the sum of qty*price in textbox ie, textbox should display the result 14(1*1+2*2+3*3). Please it's urgent.

Software Development display
Member Avatar for salmap
0
130
Member Avatar for shack99

Hey everyone, I've got a problem. Say I've got two xml files, a student file and a class file. The class file displays all the students in a class; eg- [CODE] <Class> <Student> a </Student> <Student> b </Student> <Student> c </Student> </Class> [/CODE] And the student file stores the details …

Software Development file-system xml
Member Avatar for ddanbe
0
113
Member Avatar for leo88

hi,I work using window form C#, my problem is as below: output += myArray1[prune]; string ipt = null; while ((ipt=re.ReadLine()) != null) { string ListSplitLineByLine1 = ""; String[] SplitItemLineByLine2 = (ipt).Split(new string[] { "\n\r\t", " " }, StringSplitOptions.None); foreach (string lineByLine1 in SplitItemLineByLine2) { ListSplitLineByLine1 += "\r\n" + lineByLine1; } …

Software Development
Member Avatar for Mitja Bonca
0
2K
Member Avatar for rbduck09

Can someone either explain this or give me an example of what it is asking for. Heres my code if you need it In the attached picture [CODE] /////////////////////////////////////////////////////////////////////////////// // // Name: GCD.cpp // Author: Jeffrey A. Stone // Course: CMPSC 101/121 // Purpose: Computes the GCD of two integers. …

Software Development c++ ios
Member Avatar for WaltP
0
141
Member Avatar for tricket_7

I am working on a rainfall program that will ask the user to enter the total rainfall for each month, then will calculate the total rainfall for the year, the average monthly rainfall and is supposed to display the month names for the highest and lowest month. I have everything …

Software Development c++
Member Avatar for tricket_7
0
653
Member Avatar for Kath_Fish

Hey....I face some problem in counting the repeated times of items...hope somebody can helps me.. For example: I have a list of data that store in string array 1 2 1 2 3 1 2 3 2 2 3 4 2 4 5 2 3 ......... (maybe have different numbers) …

Software Development
Member Avatar for Mitja Bonca
0
134
Member Avatar for sidnei

Hey, guys (and girls...)! I'm in trouble with (like it seems to me) a little bug on Hierarchical FlexGrid control... Let me explain: I want to merge some content between cells. I made it many times before, but in the FlexGrid control, not the Hierarchical Flexgrid conrol - for sure, …

Software Development visual-basic
0
234
Member Avatar for woody0114

Having trouble stopping my do,while loop. It asks the right questions, and I thought I had the right qualifier, while blah>0, do such and such, but it continues in the loop and keeps asking the questions Here's what i've got: cout<<"Now let's subtract the door and window area."<<"How many doors …

Software Development c++
Member Avatar for woody0114
0
96
Member Avatar for Jaseem Ahmed

i am having some problem in navigating records... when i am moving any record next, it moves record by record nect,and also it moves previous,but when i either press last or first, then these both next and previous button do not work.. here is a code. [CODE] Private Sub movefirst1_Click()'it …

Software Development visual-basic
Member Avatar for Jaseem Ahmed
0
1K
Member Avatar for tokenjoker187

I am having trouble making a Windows Form Application. I want to proceed to a second form while closing the first (Going from Main menu to Level 1) but I cant seem to figure out why after the 2nd form loads, both forms close out. Here is the code I …

Software Development microsoft
Member Avatar for vivekagrawal
0
104
Member Avatar for Amillia89

Hai, I just want to ask, How to run java program without opening the code? I mean when we click on an icon, the program will automatically run... Thank you.

Software Development java
Member Avatar for Amillia89
0
203
Member Avatar for flowerpixie

I am using darkGDK to complete an asignment where I am to create a sprite with a moon background and to make a rocket ship move up with the spacebar pressed and come back down agian when it is released. I can't figure out what I don't have in my …

Software Development c++
Member Avatar for chrjs
0
267
Member Avatar for slygoth

Im writing a code to generate invoice numbers. Im using a file now that increment to number each time but i was just wondering if there is a way to use time so that it can generate a invoice using time or date. Like the first 4 digit would give …

Software Development c
Member Avatar for fpsasm
0
168
Member Avatar for doremon89

Can anyone help me show how to upload file into database which is ms access. The file can be document,picture or video..Anyone???

Software Development visual-basic
Member Avatar for doremon89
0
49
Member Avatar for chester1908

Hey all.I got a question about the use of action listeners.Actually its more about actionEvents.Anyway,my question is: Supposing i have a frame with four buttons,say "A","B","C","D". I want each time i press a different button something different to appear on TextField.I know i can make 4 different button subclasses,each with …

Software Development java
Member Avatar for chester1908
0
416
Member Avatar for Taibah

hi all I want to start now with C++ windows.h libary. I already know now the basics i only programmed in CMD command line programming now i want to program further are there some tutorials or something that i can go further i dont want to stay only at a …

Software Development c++
Member Avatar for mytich
0
182
Member Avatar for jatri

I would like to match a pattern from the following data set and print the line containing that pattern plus the immediate next line. Say I am interested in matching the pattern- [B]FrNum: 1[/B]. If my program runs correctly for the following data set, the output should be : [I]GOP: …

Software Development perl
Member Avatar for jatri
0
1K
Member Avatar for GlenRogers

Hi, I'm new to Java and programming. I have an assignment I'm trying to do and I'm pretty stumped on this question. I have a TreeMap where the keys are Strings (of musical artists) and the values are Lists (of artist name, album title, album genre and album year). I …

Software Development java
Member Avatar for JamesCherrill
0
588
Member Avatar for ukfreak

Hi i have been trying to get the results for the code below and i can't seem toget myself around it. I need to get the results according to the myKad and Student Name on How many times the student has answered Excellent, Satisfaction and Poor for each question, each …

Software Development sql
Member Avatar for BitBlt
0
718
Member Avatar for ashrafu1

hello i need to fix the problems in this program. can some one please fix them for me or give me a hint how to fix them cause i really do not know how to fix them. i also added the errors if you do not have C++ program at …

Software Development c++ ios
Member Avatar for Ancient Dragon
0
603
Member Avatar for zachattack05

Does anyone know if you can use the comparison operators like ==, >=, <=, >, < etc... on two different System.Version objects to detect different versions and in what direction (like which of the two is a newer version vs older?)

Software Development
Member Avatar for zachattack05
0
80
Member Avatar for narendera22

Hi, Currently i have requirement to i have to connect C# applicaton to DB2. I dont know much about DB2 and i dont know how to connect this and which tool i need to use for this. please suggest me how to connect this and which type of tool i …

Software Development c c# c++
Member Avatar for Mitja Bonca
0
116
Member Avatar for woody0114

simple question that baffles me. attempting to get multiple data from a user, but cannot get the program to "wait" for the data. It spits out all the questions at once. here's what I have written //woody0114 #include <iostream> #include<cmath> using namespace std; double HSF(double ft_height, double ft_width, double s_height, …

Software Development c++
Member Avatar for Derek Elensar
0
105
Member Avatar for Jaseem Ahmed

can u pass an idea... is this is possible to plus all that items(Integer) that are in listbox or listview... e.g a list box have 4 items... 1)-20 2)-40 3)-80 4)-100 is this possible to plus these items,??? items also can b infinite, depends upon user...i dont have any idea, …

Software Development listview visual-basic
Member Avatar for AndreRet
0
139
Member Avatar for ajinkya112

Hello people, I have an application that updates a table. In this application i have a combobox where i load id of record on form load. Let me paste my code to be more clear about my problem. [CODE] Private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { string q = "Select …

Software Development
Member Avatar for Mitja Bonca
0
143
Member Avatar for kalaiselvi.v

i want to encrypt the password and store in the database. i extract character find ascii value of that and changed that value and stored in the database.but when i use this it wont have much security. can anyone help me for password encryption.i m using JSP+HTML

Software Development encryption java
Member Avatar for meprasobh
0
1K
Member Avatar for sheylashy

I want to reverse and array of integer recursively, I think this is the way but I get this error when trying with a 5 integer array: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5 at name.of.package.ArrayAscDesc.CambioAscDesc(ArrayAscDesc.java:12) at name.of.package.ArrayAscDesc.main(ArrayAscDesc.java:34) Here's the code: [code]import java.util.Scanner; public class ArrayAscDesc { public static int[] CambioAscDesc …

Software Development java
Member Avatar for JamesCherrill
0
414
Member Avatar for suvisoya

hi can anyone explain how to create ascending order datatable in asp.net without sorting method regards suresh.S

Software Development vb.net
Member Avatar for suvisoya
0
60
Member Avatar for krii017

i wonder how can i make a search box like this. [ATTACH]20232[/ATTACH] [URL="http://www.youtube.com/watch?v=3cJinHSSkuI&feature=related"]http://www.youtube.com/watch?v=3cJinHSSkuI&feature=related[/URL] i tried to convert the code in the description but it didn't work haha

Software Development
Member Avatar for krii017
0
160

The End.