132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for totalanonymity

Goals of exercise are: [LIST=1] [*]Output the value of PI (3.1419, as per exercise). [*]Prompt user to enter radius, r, and store it. [*]Calculate surface area of sphere: 4 * PI * r ^ 2 [*]Calculate volume of sphere: (4/3) * PI * r ^ 3 [*]Output the surface area …

Software Development c++
Member Avatar for WaltP
0
3K
Member Avatar for sofia85

Hi, I'm a beginner at python and I'm trying to extract a specific column from a txt file. In the file I want to extract the entire column pph2_prob (i.e. column 16). But I want to get all the values from that column without the headline pph2_prob. How do I …

Software Development python
Member Avatar for JoshuaBurleson
0
4K
Member Avatar for BleepyE

Ive just started working with Java at Uni and im doing a little project including floating, double, and integer numbers. Ive simplified the project just so you can see what the basics are. [LIST] [*]The bottom 3 print lines show how many of a single type of coin are required …

Software Development java
Member Avatar for BleepyE
0
127
Member Avatar for Dmennite

Using: MS Access 2010 Visual Studio 2010 with Provider=Microsoft.ACE.OLEDB.12.0 Connection I have tried multiple ways to do this fought through Concurrency issues current code gives no errors however when I re Fill DataSet nothing has been removed from database... Current code for Button1(reload data), Button2(delete row): [CODE] Private Sub Button1_Click(ByVal …

Software Development microsoft-access vb.net visual-studio
Member Avatar for Dmennite
0
1K
Member Avatar for sirlink99

If I have a himachi server running is there a way to send a file into a specific folder on a different computer without them having the client? For a file transfer like program that the recipient does not need to download?

Software Development client-server java
Member Avatar for sirlink99
0
47
Member Avatar for Y DIY

I would like to know how to use a list contain with file names returned from a function to search a directory based on that list then copy the matching files to another directory. Following is what I would like to accomplish in logical order. 1. Existing Function getPromptList() return …

Software Development file-system python
Member Avatar for Y DIY
0
3K
Member Avatar for cppgangster

hi, I am trying to establish a connection between two laptops, as a beginner encountered a problems that are still to be learnt, but still I would like to know. I have two app, first is server on win wista: [CODE] #include "stdafx.h" #include "winsock2.h" #include <string> #include <iostream> //using …

Software Development c++ client-server
0
136
Member Avatar for AJN25

Having a problem with my sql, I am creating program for my ALevel and when I go to create a logins page I wish to have a button that will allow me to create a new login and save it to my database. when I click the button I keep …

Software Development dataset open-source sql vb.net
Member Avatar for Netcode
0
142
Member Avatar for Onlineshade

I have installed JDK 7. Is it possible to write code in JDK without Netbean IDE ?

Software Development ide java
Member Avatar for Onlineshade
0
291
Member Avatar for guidely

Hi, I just wondering how to Passing structures of array to functions Here is my code [CODE] #include <stdio.h> struct harbour { int harbourId; int maxCap; int timeUpload; double amount; }; struct ship { int number; int shipId; int sMaxCap; int sActCap; int aTime; }; void readHarbour() { int i=0, …

Software Development c
Member Avatar for thines01
0
221
Member Avatar for felix001

What is the best way to invoke the os.system command and assign it to a variable without printing the output ? Example : [CODE]ifName = os.system('snmpwalk -v 1 -c <community> %s ifName.%s' % (switch,port))[/CODE] Also with the output of the snmpwalk I will be wanting to only assign the last …

Software Development python regex
Member Avatar for felix001
0
391
Member Avatar for dineshz

I have a problem with this code. Why this shows random symbols when i give view data ! ?[CODE]#include<iostream> #include<conio.h> #include<windows.h> #include "gotoxy.h" #include<cstdio> #include<cstring> #include<cstdlib> #include<fstream.h> using namespace std; //function declarations void out(char *); void matrix(int,int); class student { public: //class variable declaration in public part int roll,fee,ht,wt; char …

Software Development c c++ file-system
Member Avatar for VernonDozier
0
603
Member Avatar for johnnyboyslim

Why is my program failing to close? These names and phone numbers are what I am trying to load into the array and display. Yaztremski 592-48-1003 Tilden 355-71-8210 Charles 290-65-8817 Balboa 458-12-9834 Watterson 234-98-0023 Jefferson 303-41-5692 Carmichael 392-60-0932 Martin 418-77-0974 Davila 339-89-4475 Jacobs 228-42-0547 Dobbs 219-52-4058 Nastromo 628-79-2516 Rivers 611-69-7045 …

Software Development c++ ios
Member Avatar for johnnyboyslim
0
93
Member Avatar for Onlineshade

Which software is needed with JDK 7 to write this code? [CODE] import java.net.*; class OreillyByAddress { public static void main (String args[]) { try { InetAddress address = InetAddress.getByName("204.29.207.217"); System.out.println(address); } catch (UnknownHostException e) { System.out.println("Could not find 204.29.207.217"); } } }[/CODE]

Software Development java
Member Avatar for Onlineshade
0
293
Member Avatar for altarek

Hi how to export perl script results to HTML files?

Software Development html-css perl
Member Avatar for Dandello
0
158
Member Avatar for violette

Please help.why my insert doesn't insert into mysql database [CODE] Imports FISTv2.mdlDataConn Imports MySql.Data.MySqlClient Imports System.Data Partial Public Class DSO Inherits System.Web.UI.Page Private cmd As New MySqlCommand Dim myCommand As New MySqlCommand Private dr As MySqlDataReader Dim activity, issue_id As String Dim pperiod As String Dim bboard As String Dim …

Software Development vb.net
Member Avatar for Netcode
0
202
Member Avatar for Priyank19

Acutally, on daily basis, I have to open a website,log into that, navigate to a link/page,export an excel sheet and do some processing. I want to ahead to automate the same through Java Program.

Software Development java
Member Avatar for peter_budo
0
209
Member Avatar for 07-0466

Hey, What is the fastest way to learn C#?? I need to clean out some source code with bugs... Help needed urgently! Thanx.

Software Development c c# c++
Member Avatar for 07-0466
0
117
Member Avatar for inagumi

Hi, i have a problem in displaying the added value of two numbers. I know how to convert the input number into decimal. So after converting it, i added those value and got it stored in a register. My problem is how can I display if the sum is like …

Software Development assembly
Member Avatar for inagumi
0
255
Member Avatar for swissknife007

[CODE] #include<stdio.h> #include<conio.h> #include<stdlib.h> struct node {struct node * left; struct node * right; int info; }; typedef struct node node; node * root=NULL,*loc,*par,*save,*child; int item; void pre(node *); void in(node *); void post(node *); void find() { node * ptr; loc=root; par=NULL; if(root==NULL) { loc=NULL; par=NULL; return; } if(root->info==item) …

Software Development c seo
Member Avatar for swissknife007
0
257
Member Avatar for pimpingreen13

Im having a hard time figuring out what is wrong with my program. I need to write a program that looks up a phone number in a file containing a list of names and phone numbers. The user is to input the first name and last name to look up, …

Software Development c++ file-system smartphone
Member Avatar for MonsieurPointer
0
402
Member Avatar for Zssffssz

Ok in Code blocks I was commenting my code instuff and since I have a computer running xp when it is bult for winNT or win95 and a compaqu keyboard I have many tyPos, freezes, pieces of curcutry on my driveway under my window I accsedentaly typed three / in …

Software Development c++
Member Avatar for thines01
0
203
Member Avatar for johmolan

I have made a crystal report, to be able to display data from several tables in the same report I have made a few subreports. But when I display the report some of the subreports grow beyond the next report, why doesn't the next report moove further down and start …

Software Development vb.net
Member Avatar for devloper
0
82
Member Avatar for johnscanlon

Hi, trying to make a chat system with multiple servers. Server needs to send message from a client to all the other clients. But need to save the client ports that are connected to the server in order to do this. Not really getting anywhere with this, i'll post ode …

Software Development client-server java
Member Avatar for johnscanlon
0
2K
Member Avatar for sachin27

Hi , I want to write following contents in a file through shell script. below is the content ------------------------------------------------------- DATE: Wed August 01 2:20 PST 2011 PRODUCT: Quick PRODUCT_VERSION:21.0 PROJECT: QW12 BUILD: 21.1.3.10 PATH: r:\\QW\21.1.3.10 -------------------------------------------------------- Where Build is variable . It should fetch the data from system(i.e. current version …

Software Development shell-scripting
Member Avatar for ennoil
0
174
Member Avatar for alteran

I'm having a problem with adding the name, dob month, dob day, and dob year to a binary search tree from the information from the GUI. This has to happen after the "Add Person" button is clicked. I should add it inside the brackets of the "if(e.getSource() == addPersonButton)" statement, …

Software Development data-structure gui java
Member Avatar for JamesCherrill
0
192
Member Avatar for rams.prsk

Hi All, iam having a timer in my application and want it to be enabled based on the time pollings that are read from config file like below : <appSettings> <add key ="PollBetweenTime" value ="06:10-07:10;19:00-20:00"/> <add key ="PollInterval" value ="10000"/> </appSettings> Here The pollingbetweentime indicates the time that the timer …

Software Development vb.net
Member Avatar for rams.prsk
0
323
Member Avatar for ZedChu

Hi, I need to read unsigned integer and I want to read it number by number. I did this function. But it has "one bug". It can't read number like 4 294 967 295. Max what it reads is like 4 294 967 29. It's because I multiplied it by …

Software Development c
Member Avatar for ZedChu
0
228
Member Avatar for annonymous21

I started working on a select server and am encountering some issues. Heres the problem; I ran an strace on my select server and i fired it up and it creates the socket, binds, listens, and select waits for input. When you connect the client, select adds a file descriptor …

Software Development c client-server
Member Avatar for D33wakar
0
132
Member Avatar for Priyank19

Hi, This is really a nice piece of code. I want to move a bit ahead. Acutally, on daily basis, I have to open an internal website,loginto that, navigate toa link/page,export an excel sheet and do processing.Can I go ahead to automate the same through Java Program. [Note : I …

Software Development java
Member Avatar for peter_budo
0
133
Member Avatar for kaskoraja

Hi everyone, I have a huge data file and it goes on like this. [CODE] 62813, 61344, 68229, 68234, 61349, 61345, 68230 62814, 61345, 68230, 68235, 61350, 61346, 68231 62815, 61346, 68231, 68236, 61351, 61347, 68232 62816, 61347, 68232, 68237, 61352, 51631, 51573 *ELEMENT,TYPE=S4,ELSET=one 62817, 1, 2, 4, 3 62818, …

Software Development python
Member Avatar for TrustyTony
0
155
Member Avatar for Ravic85

So, I've got my program up and running, and everything is great except my problem is I can't figure out why my output for my original balance and my output for my new balance are the same and it won't do my calculation Here is my header [CODE] #ifndef SavingsAccount_H …

Software Development c c# c++
Member Avatar for Ravic85
0
171
Member Avatar for educated_fool

Hello, dear All I have the following problem: i have a .net (C#) app and a Windows Installer project to deploy it. Now i want this Installer project be able not just to install the app onto a 'bare' client machine, but also to check if some previous version of …

Software Development c c# c++
Member Avatar for narin143
0
965
Member Avatar for infantheartlyje

Hi folks, I want to check two dates. The date format [MMDDYYYY]. for e.g., 01252000 . I want separate the day , month, and year into a integer. How can i do this?

Software Development c
Member Avatar for infantheartlyje
0
364
Member Avatar for Bosterk

How I can generate reports in pdf in python print screen to print?

Software Development pdf python
Member Avatar for richieking
0
95
Member Avatar for ynwa

Hi, My code is organized in the following way projectFolder/source/all .java files and projectFolder/classes/all .class files The class path is set to project/classes Now when i compile my Main.java class from source folder, a Main.class is generated in classes folder. Now when i try to run the program using java …

Software Development java
Member Avatar for ynwa
0
230
Member Avatar for Tourbillion

I know I just listed an earlier problem I had with the encoder program, but now I am having trouble placing the decoding formula into the decoding program. In the program you will see that I have the normal decoder for the ASCII characters in there. everytime I try to …

Software Development python
Member Avatar for TrustyTony
0
132
Member Avatar for pelin

i am making winter greeting card using grahics.py and i need to create a code to make it snow import random random.randint(0,199) p = Point(random.randint(0,199),random.randint(0,199)) p.setFill('white') p.draw(win) so far that what i have but noting really happened please help ! thanks !

Software Development python
Member Avatar for richieking
0
114
Member Avatar for totalanonymity

The homework question said to rearrange statements and remove part of code that made it calculate incorrectly. I'm lost on this and have been searching multiple places and trying different things. This is a beginning C++ class, too, so, for homework in the first half I can't very well be …

Software Development c++ mathematics
Member Avatar for totalanonymity
0
209
Member Avatar for westknight3

Here is a snippet of the code that I have thus far (Which I wish worked): [CODE] Dim PlayedSound as string If ComboBox1.SelectedItem = "Sound 1" Then PlayedSound = "Sound1" My.Computer.Audio.Play(My.Resources.(PlayedSound, AudioPlayMode.Background) [/CODE] So basically the combobox1 item which is selected is sent to a string and is then supposed …

Software Development audio vb.net
Member Avatar for Pgmer
0
256
Member Avatar for ynwa

Hi, I am a java newbie. I am getting the following error in eclipse. Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-cocoa-3557 or swt-cocoa in swt.library.path, java.library.path or the jar file I have the following jars in my library. _swt-cocoa-32 _swt-cocoa-64 swt-cocoa-32 swt-cocoa-64 swt-gtk swt-gtk-64 swt-win Can anybody help me ? …

Software Development java
Member Avatar for peter_budo
0
898
Member Avatar for noobies

I had a problem on displaying count sql in vb. Anyone would help me? I had google about this, and I had to use executereader but I don't know how to use it [CODE]Dim dso1 As Label = CType(e.Item.FindControl("dso1"), Label) If Not IsNothing(dso1) Then Dim name As String name = …

Software Development display sql vb.net
Member Avatar for Pgmer
0
2K
Member Avatar for us0343

hi All, I've just start java have a problem with compiling an Application. First i done Coding : [CODE]/* This program Will take two arguments Hello world from the command Prompt and prints them to standard console. If you specify less then two arguments an exception Will be thrown*/ public …

Software Development java
Member Avatar for peter_budo
0
183
Member Avatar for Tourbillion

I am trying to do this simple encoding program for class. It is supposed to encode it using the ASCII chart and some slight modding of the number. Then it should be written to a file 'encryptedmessage.txt' for later reading by a decoder later. My issue is I dont know …

Software Development file-system python
Member Avatar for TrustyTony
0
265
Member Avatar for itunes89

Hello I am 13 and trying to learn c#. I have a book that is teaching me but some codes I can't get to work I would like to run them by you(Who ever reads this) and see what is wrong. First Code(I wrote this) I Put the whole code: …

Software Development
Member Avatar for itunes89
0
103
Member Avatar for kheijhei

can someone help me connecting ms access 2010 to visual basic 2008, this is the error of my program every time I run it "The 'Microsoft.ACE.Oledb.12.0' provider is not registered on the local machine." here is my code for the provider Imports System Imports System.Data Imports System.Data.OleDb Public Class Form1 …

Member Avatar for AndyPants
0
215
Member Avatar for Zssffssz

Ok I found an amazing computer CPU with ram bullt in minecraft [URL="http://www.minecraftforum.net/topic/247731-my-cpu-in-minecraft/"]http://www.minecraftforum.net/topic/247731-my-cpu-in-minecraft/[/URL] there. I have no idea what kind of CPU this is. I just want to know what kind of machine code it uses and want to know a good tutorial for it. I heard there are multiple …

Software Development assembly
Member Avatar for Zssffssz
0
233
Member Avatar for Zvjezdan23

Good evening all. I have a quick quick problem in my code. The build is successful but my debug shows up the errors: First-chance exception at 0x013c43e6 in week2_project1_gamephysics.exe: 0xC0000005: Access violation writing location 0xcccccccc. Unhandled exception at 0x013c43e6 in week2_project1_gamephysics.exe: 0xC0000005: Access violation writing location 0xcccccccc. The program '[9888] …

Software Development algorithm c++
Member Avatar for mrnutty
0
329
Member Avatar for niño_morata

hi.! Im niño morata. Can you plz solve my problem. I have a assignment datagrid search.. when I click search command botton to my program...there is problem, but when I try to click a search command botton again the msgbox say that "no record found" [ code of search command …

Software Development vb.net
0
57
Member Avatar for d4kkon

This is a ridiculously simple function that I just can not seem to get to work. I am getting a segmentation fault error for this every time I run it. [code] // LargestUsingPointers: receives an n-element integer array and returns // a pointer to the largest element; the function uses …

Software Development c++
Member Avatar for mike_2000_17
0
218

The End.