132,723 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Hawkeye Python

When realising the following operation: [CODE]do = 1.0 - 2.718281828**(-(23**2)/730) print do[/CODE] Python returns 0.632120558766 When you do it on the calculator or when google it, it returns 0.515509538 :-O

Software Development mathematics python
Member Avatar for vegaseat
0
277
Member Avatar for harikumar86

Hi Here i have found macro code to extract URL from hyperlink(anchor tag) in MS Excel. This code is very useful to fetch the particular URL from the hyperlink by single click. No need to view the website to view and copy the URL. First in MS Excel go to …

Software Development visual-basic
Member Avatar for Eric Raj
0
160
Member Avatar for paula_m

Hello, I just starting with C and I am having a problem that I canĀ“t understand. Here is the code: #include <stdio.h> #include <string.h> #include <stdlib.h> FILE *M; M=fopen( "m", "r"); char line [ 540 ]; long int i=0; struct estr_reg { char *molid; char *molc; }; struct estr_reg reg[6]; …

Software Development c
Member Avatar for samkaraja
0
214
Member Avatar for koduruabhinav

Hello, please try to help the fresher i was a beginner in perl .but gave me critical work. my task looks simple!But not.i was trying for 4days. i have two text files each contain code in modules. my task i have to take module name from the user and search …

Software Development perl
Member Avatar for koduruabhinav
0
313
Member Avatar for Sunshineserene

Hi, I have a java program with quite a lot of classes. I'm facing a problem with accessing some variables from another class. May I know how to I access it? Is it possible?

Software Development java microsoft-access
Member Avatar for tong1
0
14K
Member Avatar for rje7

The basic difference would be interface cannot have any method definition or variables declared while an abstract method can have them. Now what is the difference between an abstract class and an interface when they contain only the method signatures in them. In what situations will you use either of …

Software Development java
Member Avatar for masijade
0
125
Member Avatar for tariqi

hi guys, using a for loop i want to be able to pause it, display string in text box for 60 seconds then move to the next loop,change content of the string and display it again for 60 seconds.this should go on till end of count.i am currently using a …

Software Development display vb.net
Member Avatar for GeekByChoiCe
0
141
Member Avatar for lonely_girl

hi everyone!!! ive just got an assignment from my teacher to make some graphics in C and i know nothing about it,can someone plzzzz help???? reply as soon as possible...plzzz

Software Development c
Member Avatar for Adak
0
258
Member Avatar for koti86

I unable to find java softwares in net can you tell me sites downloading softwares like flash slide show maker, video editor, video converter for java in linux.

Software Development flash java
Member Avatar for yasuodancez
0
113
Member Avatar for NewOrder

[CODE]import java.io.*; public class Test { public static void main(String[] arg){ Console console=System.console(); String chessPiece=""; int rowEnd=0; char columnEnd = ' '; System.out.println("what piece do you want to move?"); chessPiece=console.readLine(); System.out.println("where do you want to move it to?(type column letter)"); String input=console.readLine(); columnEnd=input.charAt(0); System.out.println("where do you want to move it …

Software Development java
Member Avatar for JamesCherrill
0
201
Member Avatar for Smithy566

Hi all, I'm trying to create a method in [B]managed c++[/B] which will convert an int to a string representation of binary. I have done this in C# before, but I can't work out how to do it in Managed C++ Below is the code from my C# effort that …

Software Development asp.net c++
Member Avatar for Milton Neal
0
182
Member Avatar for PixelExchange

Does anyone know how one would be able to replicate photoshop's resolution option? I normally do not mess around with resolution.. but recently.. I changed the resolution value accidentally and had some pretty astounding results. For those of you who have never used photoshop before.. the resolution option simply increases …

Software Development c++
Member Avatar for PixelExchange
0
151
Member Avatar for abdu-

hi how are u am new in programing at all :confused: i have a code for a program that communecate with a DDe server this code need some modefication to complete it(need to include the System.IO namespace to use a StreamWriter and Add a using System.IO; statement to the other …

Software Development client-server
Member Avatar for abdu-
0
129
Member Avatar for Ee Juan

I can do the pattern totally for * or number only but how to use both together for pattern? Here is the pattern i want to do. 0 * * 0 1 2 * * * * 0 1 2 3 4 * * * * * * * * …

Software Development c++
Member Avatar for mrnutty
0
103
Member Avatar for TotoTitus

Hello everyone, i'm porting an application from C# to C++, and i find the syntax and all that of C++ rather cumbersome (though C/C++ was my first language). I have a very specific question, and another few more-or-less general ones. The specific question: In C#: [CODE] Bitmap image; BitmapData ImageData; …

Software Development c# c++ regex
Member Avatar for Milton Neal
0
2K
Member Avatar for rajid
Member Avatar for rajid
0
73
Member Avatar for funfullson

Hi dears. I want make relation with gsm modem. my first goal and main one is sending and receiving sms. _then I want go front.for example for mms sending and ..._ I want to do it on a linux server. please introduce me a suitable modula with it's tutorial or …

Software Development python
Member Avatar for nazza
0
196
Member Avatar for lapunluyang

What is the advantages of using assembly language with C++?

Software Development assembly c c# c++
Member Avatar for NicAx64
0
206
Member Avatar for MVideoGms

I keep getting this error and I can't figure out what is wrong. error C2227: left of '->capacity' must point to class/struct/union/generic type 1> type is 'int *' Here is the class header and declaration that I am working on. [CODE]#ifndef MYVECTOR_H #define MYVECTOR_H #include <iostream> //#include <sstream> //#include <string> …

Software Development algorithm c++ data-structure queue
Member Avatar for Ancient Dragon
0
185
Member Avatar for TheSecOrg

Hi everyone, How do I create a timer in Java? It's for a quiz I'm making and I want a time limit for each question.

Software Development java
Member Avatar for coil
0
117
Member Avatar for TheSecOrg

[CODE] import java.util.Scanner; class apples { public static void main(String args[]){ System.out.print("Hello, today I'm going to give you a quiz. \nWhat's your name?\n"); Scanner name = new Scanner(System.in); System.out.print(name.nextLine()); System.out.print(" Is a nice name.\nToday I am going to test your knowledge.\nLet's begin!\n"); int score = 0; System.out.print("Who is Bill Gates?\n1. …

Software Development apple java
Member Avatar for TheSecOrg
0
200
Member Avatar for sphynx_25

Hey everyone, (Hopefully) a rather quick question. I'm currently trying to use regex to search a string for the location of the longest continuous match in a string where the *same* character keeps repeating. It doesn't matter which character it is, as long it is the highest number of consecutive …

Software Development python regex seo
Member Avatar for sphynx_25
0
2K
Member Avatar for cogitoergosum18

#include <iostream> using namespace std; int main() { int firstNo;// first number is stored here int secondNo, int resultAdd,// variable for result when first number and second number are added int resultSub,// variable for result when first number and second number are subtracted int resultMult,// variable for result when first …

Software Development c++
Member Avatar for cogitoergosum18
0
232
Member Avatar for ChPravin

Hello, I know this question might sound stupid! I am using recursion inside a loop. I want to stop the loop as soon as the method is called recursively and resume it again when the call returns. I am not able to do so. Do I need to lock the …

Software Development java
Member Avatar for jon.kiparsky
0
1K
Member Avatar for aikiart

Good afternoon, I'm working on a class assignmeent trying to use overloaded math operators + - but i'm getting the following error when I compile. Line 29 of the main program generates this error: Linker error undefined reference to 'TimeClass::operator+(TimeClass const&) any help is appreciated. Here is the code: TimeClass.h …

Software Development c++
Member Avatar for aikiart
0
186
Member Avatar for XMasterrrr

hello guys i'm proud to join this community and be with you guys so i saw the sticky thread but i can't figure out what the best book i'm new to programming but i was reading a book called : starting out c++ early objects 5th edition and i already …

Software Development c++
Member Avatar for XMasterrrr
0
170
Member Avatar for wesduncan

I'm actually not even sure if this is possible. But I'm making a program just to help make checking gains/losses with the stock market easier for me. It's not real money just trying it out to see how I would do. But with the program, I'm just going to ask …

Software Development c++
Member Avatar for prvnkmr449
0
116
Member Avatar for Mbot

Hey, Im learning assembler and have written as small test program. the aim of the program is to take a char input from the keyboard and compare it wit "A". This section of the program works. At the start of the program I want to output a message just to …

Software Development assembly
Member Avatar for 1stDAN
0
180
Member Avatar for cjreischl

Hi. I am creating a program for class that can be used to gather statisctical data about the number of movies college students watch in a certain time frame. I have to find the average, median and mode and show this in the output. I am able to get my …

Software Development c++
Member Avatar for cjreischl
0
141
Member Avatar for ajay_p5

Hi This may seem pity stupid but I am somehow stuck in this: I have got a file containing years like this : 1913 1913 1917 1917 1917 1917 1917 1955 1955 now this is just a part of a file containing almost 50000 years. What I want to do …

Software Development perl
Member Avatar for ajay_p5
0
105
Member Avatar for breakid

Hi I created small application that can show images and do zoom, I want to create DLL file to import into my software with picturebox and all the property, how can I do it ?

Software Development
Member Avatar for Nyight
0
159
Member Avatar for dkalmase

hello friend s i am making the simple timer module which will display time in count down format as if user wnters 1 hour 3 mins and 30 sec so it will count in revers i have almost half code done but afer trying the all tricks and logic i …

Software Development vb.net
Member Avatar for dkalmase
0
906
Member Avatar for IDC_Sharp

im don't know so much english so im soory// try to understand. i made a browser// but alawys when i get into some websites its open some more pages in internet explorer page and its not good// i want that it won't open this pages at all or if its …

Software Development
Member Avatar for Nyight
0
153
Member Avatar for titan_31

I wrote this simple program in C to generate binary search tree, but i am unable to go beyond level 0. Note that I have not incorporated the printing part. [code] #include<stdio.h> #include<malloc.h> struct node { int data; struct node *lc; struct node *rc; }*start,*link,*tmp; int a[100]; int main() { …

Software Development c data-structure seo
Member Avatar for Narue
0
177
Member Avatar for extemer

here is my code [code]import javax.swing.*; import java.text.DecimalFormat; class method { private static void start() { JOptionPane.showMessageDialog(null," Area of a Circle"); String n = JOptionPane.showInputDialog(null,"Enter a Number"); int num = Integer.parseInt(n); DecimalFormat twoDigit= new DecimalFormat("0.00"); double form1 = 3.14 * (num*2); JOptionPane.showMessageDialog(null,"… is "+twoDigit.format(form1)); } public static void main(String[] args) …

Software Development java java-swing
Member Avatar for coil
0
103
Member Avatar for Jazerix

Hey there At the moment I'm working on a little project that will make my life a little bit easier. Nevertheless i need my application to read the memory from a proccess and then translate it into a label. Right now i got a Memory address that goes 1 and …

Software Development
Member Avatar for Jazerix
0
97
Member Avatar for TOROOOLOLOOLO

Hi I have a problem, i have designed a database program with vb6 and ms access. and the program is suppose to display specific records using datareport. eg ,display records of student whose fees are> 10000. But i dont know my way out. hope to get help from anybody.thanks in …

Software Development visual-basic
Member Avatar for anandlalroy
0
631
Member Avatar for jrw89

I am working through Accelerated C++ and am on exercise 3-5. The question is:[QUOTE]Write a program that will keep track of grades for several students at once. The program could keep two vectors in sync: The first should hold the student's names, and the second the final grades that can …

Software Development c++
Member Avatar for mrnutty
0
191
Member Avatar for camelCase

Hello DaniWebbers, How would I go about taking user input into a string? It is not allowing me to do: [CODE] #include <iostream> #include <string> using namespace std; int main() { string users_name; // Reserved for the users name (input) cout << "Enter your name: "; cin >> users_name; // …

Software Development c++
Member Avatar for Stefano Mtangoo
0
298
Member Avatar for alex1986

Hi, My java is really bad and I haven't had to use it in a few years but I want to make it better so I've decided to try building it up slowly but at the moment I'm a little stuck and was wondering if anyone could help point me …

Software Development client-server java java-swing
Member Avatar for alex1986
0
181
Member Avatar for grahf23

Hi, i'm supposed to write a function, countGrade that takes in the Grade and find the number of students that have this grade. This value is returned to the calling program. The function prototype is int countGrade(char). Currently all i have written is this. Seem like there's something wrong with …

Software Development c++
Member Avatar for grahf23
0
157
Member Avatar for XodoX

Hello, it's been a while since I took my last programming class, and I must say I don't know how to do the following. I want to create a program that pulls data from a txt file and then lists that data. The data is simply C++ variable names, reserved …

Software Development c++ file-system
Member Avatar for XodoX
0
196
Member Avatar for TylerSBreton

Hey guys, I was wondering if anyone knows a good VB.net tutorial. I'm not a beginner programmer by any means, I have experiance in another .net language, C# but I have a course in VB.net next semester and wanted to get a head start. Any help you could give would …

Software Development vb.net
Member Avatar for P-Geist
0
645
Member Avatar for xterradaniel

Hello everyone, I am having trouble finishing my program. I am having the most trouble with the method, as described in my book, parseInt(char[]). I can't figure out what to do, I don't know how to properly write the method for this. I will include the entire program description for …

Software Development java
Member Avatar for xterradaniel
0
7K
Member Avatar for PixelExchange

Does anyone know the event that causes the carriage return animation to play? I would like to have the carriage return animation to play after clicking in a box.. that is not a textfield. Essentially.. I am attempting to create a custom text field. (In case you do not already …

Software Development c++
Member Avatar for PixelExchange
0
147
Member Avatar for Danny_501

Hi all, I need to convert a char array to an int. But the char array has regular characters in them('A', 'B', 'C'...) and numbers. how would I omit those characters and extract the number, then store it as an int. any help would be great thanks.

Software Development c
Member Avatar for Ancient Dragon
0
204
Member Avatar for shivaniaroraji

what is the difference between instance variable and methods and their counterparts,clas variable and methods? i understood that instance is other name for object but what i have undersood till know is that method is somewhat like function (but i could not understand the explaination given for this question in …

Software Development java
Member Avatar for shivaniaroraji
0
210
Member Avatar for D33wakar

[CODE]def nod(n): c,i=0,0 while n>0: c=n%10 if c!=0: i=i+1 n=n//10 print(i)#prints the number of digits in the given integer 'n' [/CODE] how to make it able to count 'zeros'?

Software Development python
Member Avatar for Beat_Slayer
0
144
Member Avatar for xterradaniel

Once again I need help with my Java program. I am running out of time to complete this program and I accidently deleted what work I had done. I am going to try to edit this post with what I have tomorrow but until then I was hoping someone could …

Software Development java
Member Avatar for xterradaniel
0
1K
Member Avatar for Aneurinbiker

Hi I'm learning C++ as a beginner through the book "C++ Primer by Stephen Prata". I have just learned a bit about creating my own functions and I'm now doing some practice at the end of the chapter. The problem is I'm meant to make output of: "Three blind mice …

Software Development c++
Member Avatar for NubTruck
0
191

The End.