132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xrjf

The days when the calculator had almost 3 thousand visits a day have gone. Since then, there have been several major versions and lots of minor versions. Somehow, I feel pleased in that the present core algorithm follows the rules of the first I read; of course, extending the simplicity …

Software Development asp.net mathematics vb.net
0
428
Member Avatar for Abel21

Why an array of text boxes cannot be created in C# the same way as in VB.Net? In VB.Net I can do this, ant it works.

Software Development
Member Avatar for Abel21
0
198
Member Avatar for sireiz

#include<iostream.h> #include<fstream.h> class studentinfo { private:/*Creating Private Data Members */ char* VUID; char* campusID; char* Studentname; char* Fathername; public: void Storefile();/* Function to Store Data in the File*/ char Display();/*Function to Read and then Display Data from the File*/ studentinfo(char*, char*, char*, char*);/*Constructor to initialize Data Members*/ ~studentinfo(); }; /* …

Software Development c++ file-system
Member Avatar for sireiz
0
438
Member Avatar for Jake.20

Greetings fellow vb.net programmers, Today i really, really need your help i'm having difficulty in display the quiz items in each textbox i'm out of ideas. What i need to do is. I need to display all the question that is in the database to the textboxes i thought of …

Software Development vb.net
Member Avatar for Jake.20
0
157
Member Avatar for adil.ghori

Hello Everyone ! I want to Create a program that will calculate and print to the screen a sales receipt. The user will enter in the number of sales items, the price for each item and the sales tax percentage. Can Anyone Help me Out? Thank You

Software Development c++
Member Avatar for lindajane
0
250
Member Avatar for johans22

I have a text file with one of the lines as : name=AB,CD,EF I read the line like this: input# line,str first str is name=AB then the next line is CD and then EF, why it does not read the whole line at once.

Software Development visual-basic
Member Avatar for rishif2
0
140
Member Avatar for kevinyu

Hello, I have some problems when getting the diagonal coordinates of the queen. What certain steps or algorithm could you suggest me as I am just manipulating the button list. It would be just fine for me if you suggest reworking the whole program for a better solution. using System; …

Software Development algorithm
Member Avatar for ddanbe
0
130
Member Avatar for Violet_82

Chaps, today I was reading about exception handling and although the book explains them in sufficient details there is something that I really struggle to understand. Ok, here's the example they analyze: // Fig. 11.2: DivideByZeroWithExceptionHandling.java // Handling ArithmeticExceptions and InputMismatchExceptions. import java.util.InputMismatchException; import java.util.Scanner; public class DivideByZeroWithExceptionHandling { // …

Software Development java
Member Avatar for Violet_82
0
398
Member Avatar for CPT

currently I have a class function: class MyClass{ static int E(int A,int B, int C){ //function code } }; //and I call it like this : MyClass::E(1,2,3); //what I would like to do is call it in this way: E(1,2,3); //my current macro definition is this #define E(a,b,c) Myclass::E((a),(b),(c)) how …

Software Development c++
Member Avatar for JasonHippy
0
313
Member Avatar for johang_80

Hello, I am currently trying to develop a window form application whose content is added dynamically. What I am trying to do here is to display a number of panels with different sources across the screen horizontally. I am getting the data from a DB and depending on the number …

Software Development c c# c++
Member Avatar for ddanbe
0
436
Member Avatar for Abhinisha

what are member function?? what is the use of :: in them ?? what are static and non static member function??

Software Development c++
Member Avatar for MonsieurPointer
0
211
Member Avatar for Shiva_nan

Hi, I am doing library application, I want to create Bar Codes for each book.. I ill supply book number as input.. CAN ANYONE TELL HOW TO CREATE BARCODE BASED ON THIS BOOK NUMBER USING C++.. I AM USING DEV C++ COMPILER.. Thanks in Advance.., Shiva

Software Development c++
Member Avatar for bruc.harvey
0
258
Member Avatar for Jacklittle01

Is there a way to keep a global throughout multiple def statements?

Software Development python
Member Avatar for slate
0
324
Member Avatar for sireiz

I want to use the data members to store the info on the file and then read and display them through these two member functions in the class but i can't think of syntax. i made global variables but didn't use the data members in the class. i stored and …

Software Development c++ file-system
Member Avatar for Moschops
0
343
Member Avatar for SpottyBlue

I just started my assignment for the group and I need help with these. The question is based on here: http://sdrv.ms/16292hI I'm new to this, but I've only learned up to 'Chapter 10: Decision Making'. It's a lot of coding for this assignment and it's incomplete: // Stationery Ordering System.cpp …

Software Development c++
Member Avatar for Moschops
0
160
Member Avatar for cleve23

Hi I just started to learn Java and when i was reading through the tutorial for building a simple GUI. It says that parseDouble method is not localizable. I don't understand what it is refering to as this method is not localizable. Please explain to me.THANKS!!!!!!!!!!!! :D Code int tempFahr …

Software Development gui java
Member Avatar for JamesCherrill
0
200
Member Avatar for CoilFyzx

Hello good day. I am designing two JTables; one on top of the other. The first one has nine columns. And the second one has 8 columns (The first column spans the first columns of the topmost table). What I wish to do now is to make the bottom table …

Software Development java
Member Avatar for JamesCherrill
0
478
Member Avatar for funfullson

Hello dears. I need to play a music in my projects background. I did such below but it does not work. what is problem please? [CODE] class PlayMusic { private string cmd; private bool isOpen; [DllImport("winmm.dll")] private static extern long mciSendString(string strCommand,StringBuilder strReturn,int iReturnLength, IntPtr hwndCallback); public void Close() { …

Software Development c#
Member Avatar for Sri Harsha
0
352
Member Avatar for shane.shaffer.50

I am looking for some advice on where to start with building my guy. I will mostly be coding on my mac, but have the option of windows or linux. I am going to be building an application that will be based around a database for my business and want …

Software Development c++ gui
Member Avatar for iamthwee
0
209
Member Avatar for Labdabeta

Hello. I am wondering how EOFs are indicated to either the cstdio functions or the fstream functions. Mainly I am wondering how it differentiates it from data. For example, if EOF is a 2-byte code wouldn't this break the system by inserting a 'false' eof flag: for (int i=0; i<256; …

Software Development c++
Member Avatar for Labdabeta
0
182
Member Avatar for bryann

I've built an application that displays the contents of an access database in a datagrid and also a form which allows a user to add a new record to the database. When I tried to run the exe in the bin folder on another computer it displays an error when …

Member Avatar for bryann
0
557
Member Avatar for rakesh.menon.16

org 00h using 1 jump equ r1 jump1 equ r5 mov r0,#0a1H mov r2,#0ah mov a,#6h jump: sub r2,a jump1: inc r0 jz jump cjne a,#00h,jump1 end assembling e06.asm... e06.asm(8): error A8: ATTEMPT TO DEFINE AN ALREADY DEFINED LABEL e06.asm(8): error A9: SYNTAX ERROR e06.asm(9): error A8: ATTEMPT TO DEFINE …

Software Development assembly
Member Avatar for CarolJ
0
253
Member Avatar for sireiz

Kindly take look at this code, it is giving me an error in the main function. #include<iostream.h> #include<fstream.h> #include<cstdlib> #include<cstring> ofstream re; class studentinfo { private: char* VUID; char* campusID; char* Studentname; char* Fathername; public: void Storefile(char*, char*, char*, char*); char* Display() ; studentinfo(char*, char*, char*, char*); ~studentinfo(); }; studentinfo::studentinfo(char* …

Software Development c++
Member Avatar for sireiz
0
199
Member Avatar for Knoxarama

'Ello. I'm having a concern about the ability for several objects that require access to one another. Visual studio intellisence shows no errors, but the compiler does. Mostly that classes become unrecognized. I can get different errors by shuffling around the classes within the sapa namespace. Sorry, its a bit …

Software Development c++ visual-studio
Member Avatar for JasonHippy
0
208
Member Avatar for theholychilli

I am creating a pokemon text-based game. I have 1 problem, I dont know how to do the attacks. I thought - enemyHP = 100 class pikachu: def slamAttack(self): self.enemyHP = enemyHP - 30 print("pikachu used slam!") print(enemyHP) #then to call it when they ask for slam attack = str(input("OPTIONS: …

Software Development oop python
Member Avatar for m_ishwar
0
611
Member Avatar for iFrolox

Hello, Before anything, I want to say that I will keep looking around, but im leaving this thread here to possible get faster answers and solutions. Well, I'm trying to save multiple texts from textboxes and comboboxes, and after saving the information to a file an item will be added …

Software Development listview
Member Avatar for iFrolox
0
180
Member Avatar for JoeD1

Can some help me with my Default: It is printing the error message but at end of message is giving a decimal value for the char sign. How do I stop this from happening? #include <stdio.h> char sign; int x, y; int main() { printf("Choose:\n"); printf("a) Addition\n"); printf("b) Subtraction\n"); printf("c) …

Software Development c
Member Avatar for JoeD1
0
165
Member Avatar for Loi-se

I have a question about when you can be considered a good developer. I'm programming now for about 3 years (mostly in VB.net ) and recently made a graphing calculator: http://sourceforge.net/projects/graphingcalcula/?source=navbar Now I wonder If you guys can say at what level I am with programming. Can you say that …

Software Development
Member Avatar for Stuugie
0
127
Member Avatar for Abhinisha

in command line argument i am writing argument for the main function as follows int main(int argc,char*argv[]) here argc and argv is cleared to me but why we are using char* with argv... means why we are using * ???

Software Development c++
Member Avatar for NathanOliver
0
213
Member Avatar for johnt68

Hello ... I am trying to make an address book with windows forms, and would like to add a birthday reminder feature. The name, address, bithdate go into the xml file ( I think!), and I have put a combo box on the form to say yes or no to …

Software Development xml
Member Avatar for johnt68
0
197
Member Avatar for abra_ka_dabra

I am trying to download a zip file from a server using the following code but it gives me a tmp.zip of size 1kB. What is the mistake in this program? try { URL url = new URL("http://www.nseindia.com/content/historical/DERIVATIVES/2013/JUN/fo18JUN2013bhav.csv.zip"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); InputStream in = connection.getInputStream(); FileOutputStream out …

Software Development java
Member Avatar for JamesCherrill
0
247
Member Avatar for usamaasghar.asghar

Hi every body! you are enjoying. I have a problem that if a person writes in his code: "system("shutdown -s")" in his program and if I run .exe file, my computer shutdowns. How would I dodge this trick?

Software Development c
Member Avatar for pritaeas
0
189
Member Avatar for inheaven

I have an extension method like public static class Extension { public static string GetTLD(this string str) { var host = new System.Uri(str).Host; int index = host.LastIndexOf('.'), last = 3; while (index >= last - 3) { last = index; index = host.LastIndexOf('.', last - 1); } var domain = …

Software Development
Member Avatar for Ketsuekiame
0
864
Member Avatar for christinetom

Hi everyone.. I have to ask this question even though it will look a little silly to some of you. If I have a plugin for some open source software then how to do Install it. I'm using FLTK and have found a pluging for it. Just the sourcecode and …

Software Development c++ open-source
Member Avatar for christinetom
0
128
Member Avatar for Robs789

So i have a main forum and a few child forums. For the main form, im using a search textbox with a dataview row filter. Although the problem is that in my child form im updating the database records, and then have to come back to the main form and …

Software Development
Member Avatar for kvprajapati
0
529
Member Avatar for omidex

write an program which gets the data from posters and calculate the whole area.in these picture. http://www.upload7.ir/images/03547135115551138326.jpg there is a 7 posters in picture i wish understand these:|

Software Development c++
Member Avatar for omidex
0
161
Member Avatar for screwu52

Is there anyway to save what I type? Ex. Im online and I start searching things, is there anyway to go back and see a list or something of all of the things I typed?

Software Development vb.net
Member Avatar for Eternal Newbie
0
133
Member Avatar for nitin1

i know how numerical values are represented in memory. like +3, -3, 0, 1 , 3321 and like this. can you tell me how float, double are represented in memory ? like 3.220, -9876.87 ? i mean how bits are presented in memory ? like for singed number 32th bit …

Software Development c
Member Avatar for rubberman
0
205
Member Avatar for duke.tim

How can an array be accessed from within another function? Here is an example of some code. editarray can not seem to access values of the array from outside of the writetofile function. Is there any way to change the scope of the array? #!/bin/sh writetofile() { templine=`cat /dev/stdin` export …

Software Development shell-scripting
Member Avatar for Watael
0
248
Member Avatar for CPT

Currently I have something like this: class FileWritter{ ofstream file; public: FileWritter(string filename,A_Class a){//A_Class is class which has defined the >> and the << operators file.open(filename.c_str()); file<<a; } ~FileWritter(){ file.close(); } }; what I want is to have something like this: template <class AbstractClass> class FileWritter{ ofstream file; public: FileWritter(string …

Software Development c++
Member Avatar for mike_2000_17
0
518
Member Avatar for johans22

A loop continuouly runs 3*Y/8. In intel processor, how to optimize the speed of this computation: 3*Y/8

Software Development c++
Member Avatar for rubberman
0
97
Member Avatar for mahesh113

Hi All Can somebody clear my query that why the second operand of '+' operator is called first in the code below? When operator '+' takes left to right. #include <iostream> using namespace std; class A { int i; public: A(int i=-1){cout<<"A const i = "<< i <<endl;} int operator+(const …

Software Development c++
Member Avatar for rubberman
0
140
Member Avatar for Reverend Jim

I find that I occasionaally have special projects where it would be nice to have a context menu for files. I tend to write housekeeping scripts and it is convenient to be able to run these scripts against one or more files at a time without having to navigate and …

Software Development vbscript
0
1K
Member Avatar for IsaacMessi10

Hey Guys! I've been working on a CLI. Basically I want to recreate the Command Prompt using more user friendly commands. The thing is, as I'm using a RTB the 'Return' Key won't produce a value but it will only skip a line. How can I fix this? Below is …

Software Development vb.net
Member Avatar for IsaacMessi10
0
1K
Member Avatar for visweswaran28

Hi, I have 50 rows of data in Datagridview. My app will read all rows line by line then save it in DB. When I click the "Save" button my apps entering into not responding mode after sometime it has come back to normal state. Please suggest me to avoid …

Software Development
Member Avatar for james6754
0
110
Member Avatar for london-G

Hello, I am using Netbeans with JDK7. I was wondering how can I check which compiler is Netbeans is using to compile the program? Thanks

Software Development java
Member Avatar for JamesCherrill
0
149
Member Avatar for abra_ka_dabra

Hi Bhavcopy is the file containing the data of the prices of stock, derivatives etc in a given day for trade at a stock exchange. The stock market i am considering here is NSE India. I want to download the "Bhavcopyfrom derivatives section from the link http://www.nseindia.com/archives/archives.htm". The above link …

Software Development
Member Avatar for pritaeas
0
200
Member Avatar for Scythe1213

Hello, I need help finishing up an unzip function which takes a zipped list and returns a list of two lists. The result I want is as follows. . . (unzip '((a b)(1 2))) ((a 1)(b 2)) (unzip '((a 1)(b 2)(c 3))) ((a b c)(1 2 3)) (unzip '(unzip '())) …

Software Development
Member Avatar for sepp2k
0
482
Member Avatar for sanyam.mishra

I had connected mouse successfully using 33h interrupt in my program in turbo c++ 3.0. My problem is when i press right button it takes many input and automatically jumps select other menu options by just hovering cursur over them. I want to knw how clear this buffer after every …

Software Development c++
Member Avatar for sanyam.mishra
0
130
Member Avatar for vehement66

[CODE]import java.util.* public class ArrayMinMax { public static void main(String[] args) { Integer[] numbers={8,2,6,7,1,4,9,5,3}; int min=(int)Collections.min(Arrays.asList(numbers)); int max=(int)Collections.max(Arrays.asList(numbers)); System.out.println("Min number: "+min); System.out.println("Max number: "+max); } }[/CODE] Hi guys, me again. Okay so I use this code in a single array if i want to know what the minimum and maximum …

Software Development java java-swing
Member Avatar for jwenting
0
5K

The End.