19,161 Topics
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 …
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 …
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', …
I was wondering if anyone knew of a good text editor for python ?
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 …
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 …
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 …
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 …
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 : …
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.
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> …
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 …
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
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 …
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 …
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 …
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>'] ] …
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 …
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 …
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
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] [*] …
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, …
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 …
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 …
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 …
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 …
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) …
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?
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 …
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 …
[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() …
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!
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) …
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 …
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 …
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 …
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 …
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 …
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?
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 + …
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 …
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 …
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 …
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 …
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 …
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
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 …
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 …
The End.