132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
I have installed JDK 7. Is it possible to write code in JDK without Netbean IDE ? | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
Hi how to export perl script results to HTML files? | |
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 | |
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 | |
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 | |
[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) … | |
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 ![]() | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
How I can generate reports in pdf in python print screen to print? | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 = … | |
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 | |
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 | |
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 | |
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 … Software Development microsoft microsoft-access vb.net visual-basic visual-studio | |
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 | |
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] … | |
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 | |
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++ |
The End.