19,161 Topics

Member Avatar for
Member Avatar for Jaguar

I have just started a basic class in programming and I am totally lost. Can someone help me out? I have to write pseudocodes and create flowcharts and don't have a clue. I need help. Create flowcharts and pseudo-code for the following problems: 1. You're trying to figure out where …

Member Avatar for Dave Sinkula
0
112
Member Avatar for purplegerbil

I have a list box containing a list of field names. The user would select/hi-light a number of these so they can find out quantities. The file the fields are from is in csv format ie: List box contains- Title Initial Surname Address1 Address2 Media Code Ref Number If the …

Member Avatar for Comatose
0
120
Member Avatar for eparadis

Hi, New to Matlab, having a slight problem figuring this one out. I'm reading in a series of matlab structures entitled 'v1', 'v2', etc..., needing to plot some info in these structures. Not sure about the best way to do it, so far: for i = 1:100 n1 = join('','v', …

0
110
Member Avatar for reezin14
Member Avatar for vegaseat
0
333
Member Avatar for ruwach

Hello all. i have a strange problem with some python cgi scripts. the deal is..... i keep loosing permission to write to a file created by a cgi script. the file is created in a directory created by a python script. but after the file is created by the cgi …

0
129
Member Avatar for G-Do

Hi, I am a Java programmer dabbling in Python for the first time. Mostly, the transition has been pretty smooth, but this week something stumped me. Please forgive me if the answer to this is completely obvious - I've read van Rossum's tutorial and can't figure it out. I am …

Member Avatar for G-Do
0
269
Member Avatar for swets_here

If your input is "abc". What would be the logic to accept the strings, bca,acb,bac,cab,cba,abc (ie. the same string with chars placed in any order) and reject all other input strings like aab, cdb, xyz etc ? Note: The reference string("abc") is not fixed, logic should work for any constant …

Member Avatar for winbatch
0
201
Member Avatar for ruwach

Hey there, i am trying to write an online application using the cgi module. what i want to do is have an html form display a drop-down list and have the values of that list be the lines of text written in a file. this would be updated almost every …

Member Avatar for ruwach
0
229
Member Avatar for Lunaticrr

I am new to pragramming and also Python. I was reading the intro and basics for beginners in the sticky of this forum and tired it out. It was cool and all but after saving the files, I click F5 to run it and i get the error message : …

Member Avatar for Lunaticrr
0
408
Member Avatar for netrajarshi

Hi, I am looking for learning scripting language for network security vulnerability tests. can anybody help me out in this regaard. I dont have any knowladge regarding Network Scripting language. Which site (s) can teach me from the scartch. Thanks in advance.

Member Avatar for zeroth
0
88
Member Avatar for ruwach

Hey there, i need some help with a simple cgi script. i cannot get it to write output to a file. here is the script. [CODE] #!/usr/bin/python import cgi form = cgi.FieldStorage() Customer = form['Customer'].value Field = form['Field'].value data = [Customer, Field] reshtml = """Content-Type: text/html\n <html> <head><title>Customer Data</title></head> <body> …

Member Avatar for ruwach
0
263
Member Avatar for philip.xavier

I'm trying to write an Ascii STL file ysing a poly_shade command in IDL. basically it outputs vertices and polygons where the first numbe rin polygons is the number of vertices and the following numbers are the vertices that are connected. I havn't been able to find any software or …

Member Avatar for philip.xavier
0
429
Member Avatar for koolhead17

HEY EVERYONE THERE I WUD LIKE U TO TELL THT FUTURE IS "python" everythin is "python" atleast 4 those who hates writin in creepin c,c++ programmin languare which is error prone

Member Avatar for vegaseat
0
181
Member Avatar for missdiva
Member Avatar for nelly_1005

Hey there people basically i am currently doing my final year project,about decreasing the time taken to locate functions within mobile phones. therefore i am required to create a menu for a mobile phone which will solve the issue. I am looking to create a search faciltated menu which is …

Member Avatar for gearscout
0
272
Member Avatar for Auron

Hey everyone. I am not sure of any of you are familiar with the term MUD (which is Multi User Dungeon, a text-based game). If not feel free to go over to [url]www.mudconnect.com[/url] to check it out. Anyway, back to my post. What I am currently planning on doing is …

Member Avatar for Libertate
0
424
Member Avatar for idris

hi,, the program i made is soppost to reads 3 integers from user and solve the average, the maximum, the minimum and their median value..the problem with the program is that the median section is not working, can u please have a look at it.. [code]#include<stdio.h> main( ) { int …

Member Avatar for idris
0
249
Member Avatar for warriorwarren

Hi, I have the following interface for a 35 day month calander script that I am writing. The interface is called for use with an html page. I am supposed to collect user input which includes day, month and their event. blankEventsJan = [ ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'], ['<br>','<br>','<br>','<br>','<br>','<br>','<br>'] ] …

Member Avatar for vegaseat
0
377
Member Avatar for mneaker

I have a program due and I cannot figure it out! I have read about 30 tutorials to no avail! I need to have data read into python from an input file. The data is suppossed to be info from a pretend university that only has 10 students. Once I …

Member Avatar for mneaker
0
688
Member Avatar for rharvison

Hi, all. Thie following is an additional step in the program I previously mentioned [and, by the way, thanks for the responses; most helpful!] The final part of this project is to create [I believe it is called a histogram] of the grade frequency distribution. The program asks for grades …

Member Avatar for rharvison
0
190
Member Avatar for shak187

hi there i have some python coding which i need to convert to java can ne1 help me please email me back if you can help then i will show you the coding much apprieciated or can ne1 give me some complted java code to look at

Member Avatar for shak187
0
1K
Member Avatar for Iron_Cross

This was orginally posted by ShadowBoxer: Because of some suggestions, I'm going to try to gather some good programming resources in this thread. If you know any good websites, either post them here, or PM me and I'll add them to this post. [b] Tutorials, Books, Utils, Misc[/b] [list] [*] …

0
102
Member Avatar for WhataNerd

I didn't know which thread to post this question in so i just chose the visual basic one(random). My question is what do you guys recommend as a first programming language to learn for a highschool student interested in game programming....i'm sure there are a few that would do fine, …

Member Avatar for Iron_Cross
0
490
Member Avatar for Qatar

Hello ... I must do a mini project on Inheritance .. It's about 2-D and 3-D shapes.. The base class is point .. and we must define as many derived classes as we could such as circle .. rectangle .. triangle .. Cylender .... and so on ! The most …

Member Avatar for Narue
0
173
Member Avatar for Potsuki

Hi to all I have just joined this lovely community today. I was wondering if someone would be willing to help out a newbie gal with a pseudocode problem.... Basically I am trying to write some pseudo code for the following problem - A company has some data for each …

Member Avatar for murschech
0
215
Member Avatar for mneaker

I have a program do for a class and I cannot figure it out. I have read the tutorials but I just do not understand what I am doing. Basically I need to have the program read an input file and then take that information and be able to print …

Member Avatar for alc6379
0
121
Member Avatar for Harvester

So there are test results in a txt file. (In this format: student id (int), First Name (String), Last Name (String), points (double). One student/line). I need to make an ArrayList<Student> using the txt file (Student has a student id, first name etc.), . I know how to read the …

Member Avatar for Harvester
0
175
Member Avatar for s-sriram

Hi I am trying my first try at Python. I want to do something very similar to what sprintf does with C. I want to concatenate a string with a number and store it into a new string. I wrote a snippet like this username='user' for i in range (1-100) …

Member Avatar for s-sriram
0
353
Member Avatar for oleerik

Hello! I am new and are gonna make a "write'n'print" appelication, i have readed many samples(et.c) but i cant' find my answar! How du i print from my textbox with name textb?

Member Avatar for Iron_Cross
0
144
Member Avatar for cblue

i was wondering how to strip off digits one by one and store them into an array so i can sort them. For example if the user entered 7216. take the 7 stor into cell one, take 2 store it cell 3 ettc and then sort it so it looks …

Member Avatar for Narue
0
247
Member Avatar for vegaseat

Just want to get ideas on which modern language could replace good old Basic, so the learning curve isn't too galling. I am partial to Python. The reasons: 1. It is an interpreted language, but can be compiled. 2. It has a very efficient memory manager built-in. 3. Lots of …

Member Avatar for Puckdropper
0
168
Member Avatar for ch1ck3n

[CODE] #include <iostream> // required for input and output #include <fstream> #include <cstdlib> // required for rand() function using namespace std; // function prototypes void storeData(char cellArray[][18]); void printArray(char cellArray[][18]); int checkNeighbors(char cellArray[][18], int row, int col); void makeContagious(char cellArray[][18], int dayArray[][18], int row, int col, int neighbors); int main() …

0
74
Member Avatar for computerages

Hello everyone! I've been programming in PHP for 1 year and now I am looking forward to learn a computer programming language, but I am confuse...since there are several langauges out there. So what language you recommend? Thanks!

Member Avatar for vegaseat
0
335
Member Avatar for ibmackin

how the hell do you do this?! please help asap! a. This problem is similar to the problem in your last assignment. However, this time you will need to keep track of all integers input by the user. b. Create a program that will read a series of ten (10) …

Member Avatar for 1o0oBhP
0
187
Member Avatar for tat2dlady

I have a problem that I am not sure how to even come up with a solution. So, I was wondering if anyone would have any input to the problem at hand. I have to divide a matrix that is defined by an input file into 2 distinct regions so …

Member Avatar for murschech
0
193
Member Avatar for Member #25180

I've used "if and else" statements to test for conditions, but if's can get very "iffy" sometimes. Specially when you need to test for several possibilites. I was wondering if there is another way to do tests for conditions instead of using the IF. Just for better programming. example: tic-tac-toe …

Member Avatar for Member #25180
0
124
Member Avatar for mackverick

this is my first Java course and i am having troubles doing one of the assignments... well i am suppose to read a file containing grades of students...here is an example 034-23-8901 45 78 85 34 342-67-1231 98 45 67 45 452-57-2351 49 78 61 52 the first 9 digits …

Member Avatar for mackverick
0
278
Member Avatar for crypter

Hey guys, i got this program im making. It encrypts and decrypts files. The problem is that whenever an error occurs while encrypting or decrypting ( having put a read-only file, a running program, input wrong keys, enter wrong encryption type...) the program tells me that an error occured. Thats …

Member Avatar for crypter
0
148
Member Avatar for Sphyenx
Member Avatar for vegaseat
0
273
Member Avatar for sara_pullen

Just needed some assistance w/ designing a program to convert files from Reference Manager (ref. database) to Excel in order to delimit authors (when there are multiple authors of a publication), country, and institution (university, etc.). Currently, I am able to open the files as text within Excel and analyze …

0
63
Member Avatar for Justup

i am pretty new at programming but i want to make a program that will download a file from a TFTP server and then execute that file in command prompt with specific paramete. Can someone give me some general coding i should use?

Member Avatar for Justup
0
94
Member Avatar for jillas

I have a question on how to program my nested loops. This is the output i am supposed to have. Enter the number you want to sum to: 8 0 = 0 0 + 1 = 1 0 + 1 + 2 = 3 0 + 1 + 2 + …

Member Avatar for jillas
0
128
Member Avatar for labomba1424

i have to write this program Create a simple game program that guesses a number. Ask the user to think of a number between 0 and 7. Then ask three yes or no questions and a binary search to discover the answer. Input and guard the users answer with an …

Member Avatar for Narue
0
117
Member Avatar for dearlymom

I have been searching for information on CS for about a month before I found this web site. :p After reading "Programing FAQ" I have decided to start with python and then to move onto a version of C(although I have not decided which one yet). Would this be a …

Member Avatar for dearlymom
0
144
Member Avatar for Asif_NSU

After having us write codes to convert decimal numbers to another base my faculty has now asked me to write codes to convert a number from ANY base to another. He explains that itz simple since i already wrote the program to convert integer to another base. So i just …

Member Avatar for Asif_NSU
0
219
Member Avatar for chound

Just to attract your attention. :cheesy: :lol: :cool: ;) Here's the problem: I have this string "flames". Then I get a number from earlier part of myprogram. Let the number be 4. Now 'm' is the 4th character. This should be removed. Then the remaining string is "flaes". Now 'e …

Member Avatar for Narue
0
237
Member Avatar for cymbalistic1

Hello, I'm new to this site and this is my first post. I got an assignment where I have to do a QuickSort on 100,000 numbers first and then combine QuickSort and BubbleSort so that the BubbleSort comes in for the last 1,000 numbers. The information is to be exported …

Member Avatar for cymbalistic1
0
128
Member Avatar for fopah

i am trying to make a program that displays to the screen the prime factors of a given number. i have it all the way to the prime number checking i dont quite understand how to extract the prime numbers any help would be much appreciated

Member Avatar for Asif_NSU
0
384
Member Avatar for LoS_RoOcKoO

Hello, i want to write a program to print out a table showing time in 0.1 sec, soldier’s position, arrow’s position, and the distance in feet between the arrow and the soldier every tenth of a second until the arrow hits the soldier or he escapes, if he was X …

Member Avatar for steveh
0
198
Member Avatar for jenman77

I am taking a basic java programming class. Unfortunetly it is an online class, and I am unable to find a tutor. We are using the book Java How to Program sixth Ed. and are going through two to three chapters a week. I am soo lost!! My next lab …

Member Avatar for jwenting
0
216

The End.