132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for masijade

[QUOTE=madhavireddy]Hi, I am new to java I have a project to be done with early deadline. Can u please help me how to write code in java to send GET request to server from client. Thank you in advance.[/QUOTE] So, you accepted a job you're not qualified for, or you're …

Software Development api client-server java
Member Avatar for madhavireddy
0
128
Member Avatar for rinko

Dear all I am currently trying to find a java source code with which either HTTP POST or GET request can be sent. Unfortunately I have run into bunch of snippets that I can not run. Is there anyone that can tell me where I can find complete source code …

Software Development first-post java
Member Avatar for madhavireddy
0
313
Member Avatar for usama

Hi All How i can send SMS by Java Mobile Application. I want the Class which used. Thanx Osama

Software Development java
Member Avatar for masijade
0
363
Member Avatar for LateNiteTippin

I'm very new to python, so this is very basic. I'm using the same basis i used on an add row program, which is probably why it comes up adding a row. When i read it back to myself, it seems to make sense. Thanks in advance for any help. …

Software Development python
Member Avatar for LateNiteTippin
0
2K
Member Avatar for coolbuddy059

I have to make a database in oracle and connect it with Java. But I'm not able to do so. Please help.

Software Development java oracle
Member Avatar for stephen84s
0
159
Member Avatar for pscha3

Hello, I just started C++ and I have this assignment to write. I started writing it but I can't seem to get this one thing and that is [U]how to create a new contact and store it in a file. [/U] I need to know if I used the structure …

Software Development c++ data-structure display email ios
Member Avatar for adam1122
0
393
Member Avatar for jbennet

Okay im working on a java program which will get peoples system info and save it to a text file so i can help them with problems (designed for members of my family to use as i seem to be their own personal IT guy lol) [code] package sysinfo; import …

Software Development java
Member Avatar for stephen84s
0
369
Member Avatar for bebe11bebe

I am supposed to change an ordinary for loop into an enhanced for each loop. I have the following two problems: 1. for(int i = 1; i<data.length; i++) sum = sum + data; 2. for(int i = 0; i<data.length; i++) if(data == target) return i; These are the only pieces …

Software Development java
Member Avatar for BestJewSinceJC
0
92
Member Avatar for BLY

create 3 class,InputForm,Manager and Student.use only class below is the inputform class public class InputForm { public int input; public double getInput(){ return input; } public void displayMessage(char grade){ return grade; } } Student class public class Student{ private double score ; public Student (){ } public Student(double score){ this.score …

Software Development java
Member Avatar for BestJewSinceJC
0
167
Member Avatar for lehe

Hi, I was wondering: if the memory allocation in the following codes is static or dynamic, why the upper limits on their sizes are different, why some of them would cause segment fault? what you would suggest to allocate array according to different need? 1. [code] double data[1048000]; for(int i=0; …

Software Development c++
Member Avatar for VernonDozier
0
94
Member Avatar for free radical

Hello all, I am trying to make a lottery number generator. So I need 6 random numbers. The current code below displays the same number 6 times. Thoughts? [code] #include <iostream> #include <cstdlib> #include <ctime> using namespace std; char userchoice; int main() { cout<<"Welcome to The Lottery Wizard!"<<endl<<endl; cout<<"This program …

Software Development c++
Member Avatar for Danny_501
0
96
Member Avatar for edb500

I have the following class called Advanced Account, which inheritis from MobileAccount. The constructor for advanced account is defined below. AdvancedAccount::AdvancedAccount(MobileNumber & rnum, string & rname) :MobileAccount(rnum,rname) { mFreeCalls=0; mMaxFreeCalls=3; mMinTopup=1.0; } I then also have the following overloaded operator described below which makes LHS=RSH. AdvancedAccount& AdvancedAccount:perator= (const AdvancedAccount& raa) …

Software Development c++
Member Avatar for adam1122
0
99
Member Avatar for waldchr

I am working on a fairly large project for my chemistry teacher (NOT homework!). I thought that it would be nice if the program could search a file for a user entered string and display all lines that had that string. I have gotten it as far as I can …

Software Development c++ ios
Member Avatar for waldchr
0
79
Member Avatar for sfrider0

I have an assignment to use templates for a linked sorted list. The SortedType.h file is in our book and that is what we have to change. I understand how to do all of that and it compiles and everything. When I create a driver to test it, I just …

Software Development c++ linked-list
Member Avatar for sfrider0
0
482
Member Avatar for Argo54325

Hello, I'm getting the following error with this code, also i would like to know how to add the path and filespec together with a and be able to split the 2 so it would be 3 args not 4. [B][I][U]ERROR:[/U] error C2664: 'std::vector<_Ty>::vector(const std::allocator<_Ty> &)' : cannot convert parameter …

Software Development c++ regex
Member Avatar for adam1122
0
163
Member Avatar for rabbithaveit

Hey guys thanks for viewing this post. I have created an array to store usernames and passwords. Im tryning to get the array ReDim-ed mid program. Here is the array: [code] Public Sub Usernames_Passwords() [COLOR="green"]'Assigns names to array space 1[/COLOR] arrNames(0, 0) = "bnsjon" arrNames(1, 0) = "bnsjack" arrNames(2, 0) …

Software Development visual-basic
Member Avatar for hkdani
0
150
Member Avatar for hassanaj

Hola. I went through the forums and found that NOORA000 asked this question before, but the thread is dead by now and no answer was given. I have a program that i need to send an SMS from as soon as it produces a certain output. Does anyone know of …

Software Development c++ visual-studio
Member Avatar for adam1122
0
1K
Member Avatar for Talguy

Can anyone point me in the direction on how to develop a plug in system for my application. so that the user can extend the functionality of the program by including more hardware to it. Evan

Software Development c++
Member Avatar for Talguy
0
107
Member Avatar for CPPRULZ

It is my understanding that in C++ objects of derived classes invoke the derived class' constructor but before the body is executed the base class' constructor is invoked and takes effect and then the derived class' constructor's body is executed. If this knowledge is correct, then what happens if the …

Software Development c++
Member Avatar for ArkM
0
99
Member Avatar for stickboy

Okay so I have a problem that involves assigning random masses to cars and assigning these into random positions (on a "grid" if you would like to picture it that way) which will eventually move around and cars with a bigger mass will destroy the smaller ones and then I …

Software Development c linked-list
Member Avatar for IVR_Developer
0
95
Member Avatar for fortune2k

Hi im trying to make a program to the following specifications: 0) initialise a temporary numerical value to 00H, base value to 10H and count value to 00H 1) Read in a character 2) Apply series of checks against ‘0’-‘9’ and ‘A’-‘F’ and convert the digit to a numerical value …

Software Development assembly
0
101
Member Avatar for jmeson79

i'm writing a program that takes a string and list of files and prints all the lines that contain the string. i'm having problems with my findString method. i did some debugging and it turns out when i call strcmp on strings that are the same it returns -1 or …

Software Development c
Member Avatar for IVR_Developer
0
100
Member Avatar for sudeep123

ITs a simple textbox ITs works as a ID no in a program. So a person cannot have similar id no..so how to do that..anyone>>> If user enters the same number then display error message " you entered the same number" --when the user clicks the cmd.submit button.....

Software Development visual-basic
Member Avatar for jonc
0
103
Member Avatar for samdajam

You are a member of CIA. And your duty is to decrypt encrypted data sent by the spy of Iraq. They send four strings. 2nd one is a subsequence of 1st one and 4th one is reverse subsequence of 3rd one. To decrypt the message you need to replace each …

Software Development c++ encryption
Member Avatar for vmanes
0
103
Member Avatar for Pacman21

In VB 2005, I want to be able to make a window and then have a program i already created RUN in the window INSIDE VB 2005.. So for example: I want to be able to make a Window inside VB 2005 and be able to run MS Word.. Is …

Software Development vb.net
Member Avatar for Pacman21
0
109
Member Avatar for Mostafa Adel

Please, I need an active solution for 2-Dim dynamic array, the code I have written is that: int x , y; // size of the the array (Array) char* array = new char [x][y]; // Decleration of the Dymamic array There is syntax error in the decleration of the array, …

Software Development c++
Member Avatar for MosaicFuneral
0
214
Member Avatar for Duki

Hey guys, Can anyone tell me why this doesn't work in VS2008? I've commented out the #includes and whatnot so you can paste it into a single .cpp file and run it. Here are my errors: [quote]1>test.obj : error LNK2028: unresolved token (0A000320) "int __cdecl eval(class Tree<struct InfoNode> &)" (?eval@@$$FYAHAAV?$Tree@UInfoNode@@@@@Z) …

Software Development c++ linked-list queue
Member Avatar for Duki
0
411
Member Avatar for BountyX

I would liek to invisibly run a console application, capture it's output, and save its contents into a log window with an edit control. I know it's possible becuase i've seen it done, but how can I capture terminal output?

Software Development c
Member Avatar for krunalpatel1410
0
290
Member Avatar for metal_butterfly

hai I am new to socket programming.Its greek and latin to me.can someone tel me wat actually happens with socket programming.Or can u plz suggest some good links for socket programming tutorials

Software Development c socket-programming
Member Avatar for jephthah
0
93
Member Avatar for srk619

hi, does anyone have or know were i can get some coding for a fractual curve any curve that is or may be a Dragon Curve. thanks

Software Development python
Member Avatar for srk619
0
98
Member Avatar for johny123

Hi all, In my application i will be writing data to a text file periodically (assume every 5 min.) after some time i want clear the old contents without halting the application and with out deleting the file. thanks in advance johny

Software Development c
Member Avatar for jephthah
0
5K
Member Avatar for rahul8590

Hey every one , well i was writing program which inputs "[B][U]Statistical data for example x 1 2 3 4 5 y 1 4 9 16 25 and analysing the data my program must suggest a suitable algebraic equations like looking at this one it should tell me the equation …

Software Development c++
Member Avatar for rahul8590
0
145
Member Avatar for tschafer204

I wrote my rock paper scissors game for glass, but i used a recursion and not a while loop. I haven't been able to get my while loop to work at all, part of the reason i didn't put it there in the first place. Also, i have to test …

Software Development python
Member Avatar for jlm699
0
936
Member Avatar for drew7py

Hi pythonians I am trying to sort a Numpy array by field, but I am having trouble setting up the fields. I think I may have the dtype wrong. I keep getting a TypeError: "expected a readable buffer object". Here is a sample of the infile: 1480 CL 9 2004 …

Software Development python
Member Avatar for drew7py
0
2K
Member Avatar for jhonnyboy

Hello everyone, I have a program that i am working on using more than one Form. The way i am going through forms is by minimizing my first form then showing the other forms. I was wondering if i start the program from a module maybe i can unload forms …

Software Development vb.net
Member Avatar for jhonnyboy
0
164
Member Avatar for clutchkiller

[code=c++] #include <wx/wx.h> class Hello : public wxApp { public: virtual bool OnInit(); }; IMPLEMENT_APP(Hello) bool Hello::OnInit() { wxFrame *frame = new wxFrame(NULL, -1, _T("Hello"), wxPoint(60, 70), wxSize(500, 600)); frame -> show(true); SetTopWindow(frame); return true; } [/code] C:\Documents and Settings\Levi\Desktop\C+++\Makefile.win [Build Error] exe: *** [Output/MingW/Project1.exe] Error 1 Why do i …

Software Development c++
Member Avatar for clutchkiller
0
86
Member Avatar for jhonnyboy

Hello everyone. I have a small problem. I have a Streamwriter writing things to a file. But when i write more than one thing, the previous item gets overwritten. I.E. Write 1111, Write 2222. 1111 gets replaced by 2222. Here is some of my code: [CODE] Dim fileOut As New …

Software Development vb.net
Member Avatar for jhonnyboy
0
118
Member Avatar for DanielB2

Here is my code [url]http://rafb.net/p/noi06840.html[/url] Now I will paste a list of errors that I keep getting, Any help appreciated 1>c:\users\vypr\documents\project0809\Board2.h(19) : error C2061: syntax error : identifier 'boolean' 1>c:\users\vypr\documents\project0809\Board2.h(28) : error C2079: 'RandomPlayer::moves' uses undefined class 'MoveList' 1>c:\users\vypr\documents\project0809\Board2.h(29) : error C2079: 'RandomPlayer::cm' uses undefined class 'CheckerMove' 1>c:\users\vypr\documents\project0809\Board2.h(33) : error …

Software Development c++
Member Avatar for Ancient Dragon
0
219
Member Avatar for Robtyketto

Greetings, I am creating an applet to draw a shape based on the selected item within the awt choice object. It currently draws the selected shape based on selection and quickly dissappears. I believe that I should be doing all drawing elements from the paint method (which I am not). …

Software Development image java
Member Avatar for Ezzaral
0
671
Member Avatar for rajeev_vlal

a question was given to me some time back...now im wondering how to do it in my free time ....it would...please see the atteched document to see the question...dont laugh as im still a novice in programming in java

Software Development java
Member Avatar for BestJewSinceJC
0
72
Member Avatar for dollycharm

What are some of the advantages of using XSLT and XPATH version 2.0 over their 1.0 predecessors? Any disadvantages?

Software Development xml
Member Avatar for fpmurphy
0
77
Member Avatar for dev_kc

This is the code i am using for displaying data into the DataGrid,bt its not working,plz help Set DataGrid1.DataSource = rs If rs.EOF And rs.BOF Then MsgBox "Invalid Entry", vbOKOnly, "Stop!!" Exit Sub End If Do DataGrid1.Columns(0).Caption = rs!PS_NO DataGrid1.Columns(1).Caption = rs!Name DataGrid1.Columns(2).Caption = rs!DT_PREP DataGrid1.Columns(3).Caption = rs!ADV DataGrid1.Columns(4).Caption = …

Software Development display visual-basic
Member Avatar for KSS
0
108
Member Avatar for n1ke

Hi everyone! First, sorry for my bad English! I have a problem with httplib... I must send XML contain throu HTTP protocol, and here is my code [CODE] import sys import httplib xml = """ <?xml version="1.0" encoding="utf-8"?><!DOCTYPE Doc SYSTEM "TenorOAM.dtd"> <Doc date="1196693972484" from="10.1.1.180" nid="CMS000001" sid="94" to="85.90.74.15"> <ReqMsg><MsgHead mid="1"/><Cmd><New><ObjPath><Instance otype="Null" …

Software Development first-post http-protocol python xml
Member Avatar for donnygat
0
121
Member Avatar for Willco

Hi, Is it possible (using VC++6) to change background and forground text colors when builing a simple console application?

Software Development c++
Member Avatar for NicAx64
0
167
Member Avatar for Dewey1040

ok so im creating a program minmax to find the minimum and maximum numbers of an array. heres my code but i get segmentation fault where do you think im going wrong? [code=C] #include <stdio.h> #include <stdlib.h> void minmax( int numberlist[], int n, int *p_min, int *p_max ); int main( …

Software Development c
Member Avatar for Dewey1040
0
201
Member Avatar for SDS20

Hi! im trying to create an object in python, but when i try to call the length of that object, it says "Mp3tag instance has no attribute '__len__'" i know i can define a method on the "object"(i dont know if im creating the object in the right way) called …

Software Development python
Member Avatar for SDS20
0
129
Member Avatar for AirmanTheGreat

Hello, I am to write a program that is capable of taking an array of doubles from the user, then calculating each numbers square, cube etc. and then displaying it to the screen. The program itself is fine, but one aspect of the program is that if a user enters …

Software Development java java-swing
Member Avatar for AirmanTheGreat
0
82
Member Avatar for metal_butterfly

When i tried to make the structure members(res_name,res_loc) as char pointer, i am getting error. i don't know how to convert res_name[25] to pointer.plz help me in this [icode] #include<stdio.h> #include<stdlib.h> #include<string.h> #define MAX 10 struct resource { int res_type; char res_name[25]; // i want to use this as char …

Software Development c data-structure
Member Avatar for metal_butterfly
0
143
Member Avatar for taylormsj

Hey there :) [IMG]http://img.photobucket.com/albums/v374/taylormsj/rascalshelp.jpg[/IMG] I am currently creating a program for my mums business. I have a .mdb access data base with member details. In the screen above, i want to type the ID number into the text box, click search and their data to be filled into the text …

Software Development vb.net
Member Avatar for taylormsj
0
141
Member Avatar for manoj_582033

Hi Friends, I M Working In Vb.net, I Want that, to which form i m opening that must be top,while i don't close that,i could'nt open any other form,for this i m doing [B]topmost=true[/B](Property of form) ,& It 's working also but that is not showing the messages which i …

Software Development vb.net
0
108

The End.