132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jhonnyboy

hey guys i would like to know how it's possible to run a java project outside of it's IDE. How can i get it running on a website? I also tried running it on my computer but...navigating to the project through cmd and using the "java project" command to run …

Software Development ide java
Member Avatar for verruckt24
1
478
Member Avatar for serkan sendur

i have a problem instantiating an object, to demostrate that problem i created three files named body.cpp, head.h, head2.h the content of the files are as follows: body.cpp: [CODE]#include "head.h" class2::class2() { myClass(5); } int main() { class2 myFinalClass(); return 0; }[/CODE] head.h: [CODE]#include "head2.h" class class2 { public: class1 …

Software Development c++
Member Avatar for Narue
1
117
Member Avatar for topgun129

Hi, I'm currently learning C# and I had a few basic questions: 1. What is and what is the difference between void and static and return? 2. What are abstract classes? How do they differ from interfaces? 3. How do you use the char variable? Thanks!

Software Development c#
Member Avatar for ruchi18
1
133
Member Avatar for vb.babyboy

hi everyone, im very new to vb.net. i have a textbox and a save button on my form. i have already connected the database to my application... pls can any1 tell m how do i save the data in the textbox to my ms access databse when i click on …

Software Development vb.net
Member Avatar for vb.babyboy
1
162
Member Avatar for FTProtocol

Any ideas where i can start im really quite lost :(

Software Development c#
Member Avatar for Aneesh_Argent
1
122
Member Avatar for mukesh.dagar

Dear Friends I have working knowledge of java. but when it comes to make a java projects i don't know how to proceed. will any one help by guiding me or by providing me some tutorials to make my first project in java. i am unable to visualize a solution. …

Software Development java
Member Avatar for verruckt24
1
108
Member Avatar for xtremerocker

I was viewing the practice problem section and decided to give a go at them, anyways, this is my Palindrome dector code. Could someone just take a look at it and explain to me if there is a better way to execute this problem? - michael [ICODE]// Palindrome check by …

Software Development algorithm c++
Member Avatar for xtremerocker
1
115
Member Avatar for RahulV

[B]You cannot scroll by using the mouse wheel in the Microsoft Visual Basic 6.0 IDE.[/B] [B]CAUSE[/B] This problem occurs because the Visual Basic 6.0 IDE does not have built-in support for scrolling by using the mouse wheel. [B]WORK AROUND:[/B] To work around this problem, use one of the following methods: …

Member Avatar for Comatose
1
2K
Member Avatar for Mr_Grieves

Wow. Just wow. I'm working on a script that evaluates probably millions of trig functions in a given run (it's a geometric ray trace of an arbitrary surface, so the math gets nasty fast...). I've been wrapping the numpy sin, cos, etc to work with the functions I get from …

Software Development python
Member Avatar for Stefano Mtangoo
1
94
Member Avatar for AhmedHan

First, I prepared the class blow : [CODE]class UserDefinedWindow { public: WNDCLASSEX WindowClass; DWORD dwExStyle; LPCTSTR lpClassName; LPCTSTR lpWindowName; DWORD dwStyle; int x; int y; int nWidth; int nHeight; HWND hWndParent; HMENU hMenu; HINSTANCE hProgInst; LPVOID lpParam; char ClassName[MAX_LOADSTRING]; char Caption[MAX_LOADSTRING]; HWND hWnd; UserDefinedWindow() { dwExStyle = 0; //These are …

Software Development c visual-studio
Member Avatar for EZO
1
371
Member Avatar for anuragkollam

please help any body knows the code in java networking..i want the code of transfer folder contents from client to server.....thread must me included so that timely back up will occur... <snip email>

Software Development client-server java
Member Avatar for verruckt24
1
106
Member Avatar for Tmy

how can i use cin.ignore to ignore every character up to and including a specified character – for example a full stop, ’.’ or a comma ',' ?? for example if the person entered Tom Jones. the program needs to igonre the full stop please help [CODE] #include<iostream> #include<string> using …

Software Development c++
Member Avatar for Freaky_Chris
1
3K
Member Avatar for mrboolf

Hi all there. Given the huge amount of blackjack/card games threads and me being personally interested in poker and other games, I was feeling like starting to play with a few useful (at least I hope so) classes for dealing (no pun intended :P) with card games. I started my …

Software Development algorithm c++
Member Avatar for Murtan
1
527
Member Avatar for 1bennyd

Hi Guys, I am a complete newbie to C++. I have a background in R, and have recently taken the plunge into C++. Not having much success though. I am trying to solve an easy problem (no doubt) - reading data from a tab delimited file and inserting it into …

Software Development c++
Member Avatar for 1bennyd
1
258
Member Avatar for SpeedMath

I am beginner... I already install numpy,scipy and also Matplotlib.... Can anyone helps me? I wanna to do a calculator program about how to calculate CGPA. I still don't know how to write Python script for the grade as below. Grade: A=4.00 A-=3.70 B+=3.30 B=3 B-=2.70 .... This is my …

Software Development python
Member Avatar for SpeedMath
1
809
Member Avatar for nitro

please tell me how i can code a BST in c++ ? i know that each node is like that of a linked list where one 'box' stores the item. another two boxes stores the address/pointers to the two siblings. but how can i transform this into code? like this? …

Software Development c++ linked-list
Member Avatar for AHUazhu
1
145
Member Avatar for 30Caliber

Hi everyone, I'm new to this site and programming, and i was wondering if i could get some help with a programming problem of mine. I have to print 10000 random numbers ranging from 0 to 10000. The numbers should be put in the console screen and a txt. file. …

Software Development c++
Member Avatar for 30Caliber
1
2K
Member Avatar for geffect

Hi, I hope somebody can help me here :-(... this program compiles well and after it crashes. [code] #include "TStack.h" #include <math.h> #include <stdio.h> #include <vector> using namespace std; //FILE *f=fopen("input.txt","r"); //FILE *g=fopen("output.txt","w"); void main(){ int n; scanf("%d", &n); vector <vector<int> > g (n, vector<int> (n)); vector <int> deg (n); …

Software Development c++
Member Avatar for MosaicFuneral
1
99
Member Avatar for jonevans2

Ok so I'm having some problems with this program I have to write as you might be able to tell it takes strings from the user either in english or morse and translates them to morse or english respectively. I got it working from English -> Morse for strings with …

Software Development c++
Member Avatar for MosaicFuneral
1
151
Member Avatar for yingfo

Hi I was wondering if anyone could help I'm receiving a segmentation fault whenever I go to run my main.cpp on my program. I've never encountered this before and was wondering if anyone knew how it can be fixed. The program consist of equiv.h, equiv.cpp, graph.h, graph.cpp, and main.cpp here …

Software Development algorithm c c# c++ unix
Member Avatar for yingfo
1
260
Member Avatar for thariqrasheed

Hi, Can u add numbers without using arithmetic operators in java.We can add using bitwise operators.But i m not able to get the ans. Solve: a+b=c; Prove 2+2=4 without using arithmetic opreations. Looking for u r answers

Software Development java
Member Avatar for stultuske
1
154
Member Avatar for Agent57C

an error is found on line: letters = input.Substring((count), 2) it says that the index must be within the string I don't see why it is an error can anyone help? Function DigramCount(ByVal input As String) 'takes two charcters at a time out of input 'string and determines their frequencies …

Software Development vb.net
Member Avatar for bruce2424
1
195
Member Avatar for LevelSix

"Write a program to display a linked list graphically. Draw each element of the list as a box, and indicate the links with line segments. Draw an iterator as in Figure 15-3. Supply buttons to move the iterator and to add and remove elements." The elements of the node appear …

Software Development java java-swing linked-list
Member Avatar for quuba
1
2K
Member Avatar for mglover070588

Hi , new to the forums:) Trying to do this tutorial from the 'C programming for scientists and engineers' book. The person who wrote it is my lecturer. The program reads the file, but when it displays it, it only shows the last line - I am stuck! I think …

Software Development c file-system
Member Avatar for WaltP
1
234
Member Avatar for gayatri.saha

1) # define cube(x)(x*x*x) main() int x=2. y, z; y= cube(++x); z= ++y + 386 / cube(++x); printf("%d %d %d", ++x, y, z); convert into hexadecimal 2) a = 0*aa b = a<<1 a) b=a b) b= 2a

Software Development c
Member Avatar for WaltP
1
109
Member Avatar for ajay.krish123

plzz help i have to make a program in c in which the windows (output screen) to scroll up and down with mouse as require??? i have been searching for long time but didnt got any cluee??

Software Development c
Member Avatar for Ancient Dragon
1
280
Member Avatar for zaryk

Is it possible to connect to yahoo server using winsock. I know I could use libyahoo2 but I have already tried libyahoo2 but didnt get any where. If not possible with winsock, I can try libyahoo2 again. [code] #include <windows.h> #define YaMainServer "scs.msg.yahoo.com" #define YaMainServerPort 5050 void YahooSock(HWND hwnd){ int …

Software Development c++ windows-server
Member Avatar for zaryk
1
132
Member Avatar for Traicey

I need to make sure that when the user select a date from a DateTimePicker the date should not be less than Today's date, anyone knows how to achieve that Thanx

Software Development c++
Member Avatar for uim_1977
1
121
Member Avatar for m_arian

Hi This is my first DaniWeb post so I hope I get it right. My problem is homework. I have almost got it but I'm having trouble with the pointers. The entire program will output svg code but I've tried to leave out as much as I can to reduce …

Software Development c++ xml
Member Avatar for skatamatic
1
127
Member Avatar for f.ben.isaac

Hello, first of all i'm glad to be a member here. Nice to be with you! I wrote a simple dum port scanner. For practicing purposes. It worked fine under linux, i ported to windows, i linked it to winsock libraries. I keep getting errors, such as C:\Documents and Settings\Fahmi\Desktop\test\main.cpp|29|error …

Software Development c++ visual-studio
Member Avatar for f.ben.isaac
1
497
Member Avatar for uim_1977

I'm developming a programm thet will use a dll forms, the problem i'm getting i have several forms in each dll, some of them have to use functions from other forms. For example, i have a DLL "Customers" which includes Customers form, Customer Selection List, which is a a different …

Software Development c++ dataset
1
268
Member Avatar for iamtuxmeister

I am new to the world of compiled programming languages. I do most of my work with Perl and bash scripting. I was recently asked to pursue a listener to the Asterisk Manager Interface that will be able to pull out caller ID information based on the extension that the …

Member Avatar for Salem
1
252
Member Avatar for FrawgLips

/*this program has been condensed from over 2400 word combinations down to 27 It is for arranging the meanings of words in the order the words were written. Many words have several meanings (descriptions). */ [CODE] #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <ctype.h> #define TRUE 1 #define FALSE !TRUE …

Software Development c
Member Avatar for FrawgLips
1
110
Member Avatar for koman

Ok so the code makes the user type in a number. Ok if the number is odd it must say "Invalid Input". If the number is EVEN it takes the ODD numbers of it and gives you the pairs that add up to the EVEN number. For example if I …

Software Development c++
Member Avatar for Salem
1
111
Member Avatar for jkun2

I have this program to read in a text file and store each word in a Binary Search Tree and keep track of the frequency of this number in the file. My outputFile should read like: 32 a 54 and 4 hello 8 will 9 would I have the program …

Software Development c++ file-system
Member Avatar for stilllearning
1
1K
Member Avatar for mmjack

With this piece of code when i call read i get the output [ICODE]Start of loop Archived filename = ./Data/Test.log End of loop Start of loop Archived File = DATA MANAGER End of loop[/ICODE] Edit: It is exactly what i want except it adds there odd characters at the end …

Software Development c++ ios
Member Avatar for Ancient Dragon
1
105
Member Avatar for LordoftheFly

I'm having trouble with this section my code and am hoping that you can help me diagnose and solve the problem. I'm not sure if it makes a difference, but I compile and run my code in Cygwin. The problem: At run time when the program asks for the user …

Software Development c++
Member Avatar for LordoftheFly
1
308
Member Avatar for mgirl

:) Hi, Ive written a program that is supposed to count the number of people of different ages and calculate the average of valid ages. We exclude ages entered as 0, over 130 or negative. The program does run but I sometimes don't have the right number in the different …

Software Development c
Member Avatar for Ancient Dragon
1
91
Member Avatar for alleycot

write a program to create a customer's bill for Ms.B's Desk-Shop. ms. B sell only three items: grater-cake, icy-mints and corn-sham, which she persoally delivers to ezch customer upon accepting their phone order. The unit prices are $50, $10 and $30 respectively, with delivery charge of 10% on the total …

Software Development c++
Member Avatar for Ancient Dragon
1
266
Member Avatar for Newguy89

the program should print 1 this one should have six spaces and then 1 22 5 spaces then 2 333 and so on 4444 sum reason when i post here it aligns left 55555 666666 though it prints... 1 22 333 4444 55555 666666 [code=cplusplus] #include <iostream> using namespace std; …

Software Development c++
Member Avatar for Newguy89
1
109
Member Avatar for mikeregas

here is the code that I have so far and I can not seem to get it to work properly it is return 1 for any number that is entered. Any help that you can give me would be greatly appreciated. Thanks [code=language]#include <stdio.h> double square_root(double low, double high); int …

Software Development c
Member Avatar for chrissygirl
1
2K
Member Avatar for peter_budo

I created menu for mobile phone, where after you make move screen should be repainted and after that a sound should be played. However at present stage sound is played first and just after that Canvas view is repainted. Bellow is skeleton of the class [code=Java] public class ContactMenu extends …

Software Development java
Member Avatar for peter_budo
1
148
Member Avatar for cuthien

I get the right input, but its giving out the numbers unformatted in the output ie: when it should be input: 3 5 (7) $58 3,400 output: 3 5 -7 58 3400 it gives me 3 5 -7 5 8 3 4 0 0 [code] inFile.get(aa); while( ! inFile.eof()) { …

Software Development c++
Member Avatar for gregorynoob
1
95
Member Avatar for iichi07

I really need your help..well we have a project and it is called Rational Class. Create a class called Rational for performing arithmetic with fractions. write a program to test your class. Use integer variables to represent the private data of the class -- the numerator and the denominator. Provide …

Software Development c++
Member Avatar for iichi07
1
220
Member Avatar for adiel224

public void update(....){ //complete here .....

Software Development java
Member Avatar for stultuske
1
85
Member Avatar for bonnie1702

Hi there! I am just starting out in c++ and so far, its going ok. I have a small problem in a simple program that is frustrating me, so I am hoping someone will point me in the right direction of where I've gone wrong. The program basically prompts the …

Software Development c++
Member Avatar for bonnie1702
1
221
Member Avatar for Vega_Knight

how i can create control at runtime? is this possible? Regards Vega.

Software Development visual-basic
Member Avatar for Vega_Knight
1
92
Member Avatar for EkoX

Hi masters... How i can got last 3 character from string? Ex : Daniweb -> i got "web" is this possible? Please Help me Regards

Software Development vb.net
Member Avatar for Jx_Man
1
108
Member Avatar for sciwizeh

this is confusing, I wrote this a while ago, and it didn't work right, I am almost sure that it is a simple small error somewhere that I am just missing. when i wrote it I didn't think that it would be good to post it here because of the …

Software Development java java-swing
Member Avatar for sciwizeh
1
146
Member Avatar for acoxia

Hello (sorry if i break any rules on post format first time on daniweb)Have a project to make a binary to hex,Dec,octal. Now i found this code here [url]http://www.daniweb.com/forums/post598839.html#post598839[/url] and made a few changes to it but i am not familiar with a few of the parts and some help …

Software Development c++
Member Avatar for acoxia
1
87

The End.