132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
#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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
what are member function?? what is the use of :: in them ?? what are static and non static member function?? Software Development c++ ![]() | |
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++ | |
Is there a way to keep a global throughout multiple def statements? Software Development python | |
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 | |
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++ | |
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 … | |
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 | |
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# | |
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++ | |
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 … Software Development assembly microsoft-access vb.net visual-studio | |
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 | |
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++ | |
'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 | |
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: … | |
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 | |
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 | |
![]() | 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 |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
A loop continuouly runs 3*Y/8. In intel processor, how to optimize the speed of this computation: 3*Y/8 Software Development c++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
[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 |
The End.