197 Topics

Member Avatar for
Member Avatar for lupacarjie

Hello! I am creating an assembly program that accepts a single character and displays the alphabet in reverse. The requirements are (1) The input character should be displayed (2) The alphabet should be displayed vertically and (3) Only the letter 'Z' should be accepted as input. I have managed to …

Member Avatar for lupacarjie
0
9K
Member Avatar for strongpot

Hello, Self taught guy here. Thanks for reading my post. I've made a app to track the sales of floating rubber ducks for a duck race. I have a database which contains data similar to this: id soldby package ------------------------ 1 John 6 2 John 25 3 John 1 4 …

Member Avatar for strongpot
0
285
Member Avatar for DeadH34d

I've been reading through this introductory book on Python, and I've been following along fairly well. Compared to C++, Python seems to make more sense to me. That is, until I reached a section on Logical Operators. I don't completely understand what I just typed in to IDLE, and the …

Member Avatar for Gribouillis
0
406
Member Avatar for ing

Hi. I have a noobish UNIX question. I have a password-protected section of my website for testing (named 'sandbox') and I'm trying to write output to a plain text file in that directory. But I'm getting the following error due to permissions settings. `Warning: file_put_contents(testdb.txt) [function.file-put-contents]: failed to open stream: …

Member Avatar for rubberman
0
451
Member Avatar for zaphoenix

hi, Please can anybody help me with this problem, i am creating an application that outputs to a notepad file on windows 7, i would like to know if there is a python module that i can use to invoke a notepad file(example trial.txt) to output into.THanks

Member Avatar for pbj.codez
0
238
Member Avatar for abra_ka_dabra

I am using the following code to write to the file out1.txt: try{ FileWriter fostream = new FileWriter("out1.txt"); BufferedWriter out = new BufferedWriter(fostream); out.write("jlsdfjdlsfhsdkjf"); out.close(); }catch (Exception e){ System.err.println("Error: " + e.getMessage()); } Now i want to write to multiple files in the same code (let us say 2 files). …

Member Avatar for JamesCherrill
0
6K
Member Avatar for techman41973

When using the Grep command to find a search string in a set of files, is there a way to dump the results to a text file? Also is there a switch for the Grep command that provides cleaner results for better readability, such as a line feed between each …

Member Avatar for JeoSaurus
0
297
Member Avatar for Nubitol

anyone can help me? i have a task from my teacher. He asked me to make a simple image processing program that can process 2D image with this feature: -the program can make a translation, rotation (an angle of rotation with arbitrary), scaling, and shearing. -the program can make an …

Member Avatar for JamesCherrill
0
329
Member Avatar for Social_psych

Hello, Has anyone ever repeatedly wrote to the same text file, using the append mode, and when examining the text file, several lines were missing? Here are the specifics to my code: 1. Each line in the output, the text file, contains data from one experimental session (e.g. the session …

Member Avatar for Social_psych
0
219
Member Avatar for teo236

I am writting a simple C++ programm and I want to generate outputs to the console but with the functions 'fwrite' and 'printf'. However, I can't print special characters like 'á', 'é', ... Here is a simple code: printf("Special character: 'ñ'"); Were the output was `±` I found that those …

Member Avatar for tinstaafl
0
356
Member Avatar for robert.speciale

I'm still a bit of a newbie and have what is probably a minor issue, but for some reason I can't wrap my mind around it. I have a program that does a whole bunch of stuff to text from an input file. The input looks like this: MArch 9, …

Member Avatar for deceptikon
0
149
Member Avatar for Kiefchief

How would I put the output is rows of ten? public static void main(String[] args) { int count = 1; int j = 0; // for (the numbers from 100 to 200) for (int i = 100; i <= 200; i++) // if (this number is divisible by 5 or …

Member Avatar for stultuske
0
2K
Member Avatar for iEpic

I hate being a perfectionist it's driving me crazy. I can get it to resize to the words, but when I replace them with small 3 letter words, the design messes up and everything gets out of place. I'm a beginner and you guys are probably going to laugh at …

Member Avatar for nullptr
0
2K
Member Avatar for Nethran

Hi again! So, I have an object that gets appended to a linked list now. Now I need to have all of that item's data output in a formatted manner - something similar to this: CD Artist CD Title CD Length Track Name Track Length Arist name here Title here …

Member Avatar for Nethran
0
384
Member Avatar for atikah8890

Hi all. I have two tables (question and answer) with q_id as the link. I would like to output the data that each table holds alternately like this: [Question 1] [Question 1 Choice of Answers] [Question 2] [Question 2 Choice of Answers] ...and so on. I've managed to filter the …

Member Avatar for broj1
0
438
Member Avatar for neondroid

new to I.T. need help about the problem analysis ,algorithm design, formatting the output package gasolinestation; import javax.swing.JOptionPane; public class GasolineStation { public static void main(String[] args) { float total, money; String yesno; JOptionPane.showMessageDialog(null, "Welcome to Gasoline Station!"); do { String select = JOptionPane.showInputDialog(null, "1 = Diesel .................... $ 39.00\n" …

Member Avatar for stultuske
0
268
Member Avatar for maddiem1994

the book is title a guide to c++ progtraming by Tim Corica Write a program that accepts a two digit number and displays the digits each on a single line. The program output should looke similar to : Enter a two digitnumber :27 The frst digit is 2 The second …

Member Avatar for Ancient Dragon
0
131
Member Avatar for 123386761

Hello! I'm new here, so correct me if this is the wrong location... but I'm trying to make a program for the Minecraft server I'm on, and it requires that if someone wants to make a map that is used on the server, that there's a .xml file that shows …

Member Avatar for 123386761
0
184
Member Avatar for kdar

Hello everyone, I am working on one program that generates a lot of data...eventually it can be in GB range. And the way I am doing it now is just by writing to ascii file everything time... like this: ofstream flowC("outputfile.out"); // declared at the start flowC << prevsid << …

Member Avatar for L7Sqr
0
479
Member Avatar for PrimePackster

Well Guys! I was learning how to read and write class objects from & to file respectivily. And here is a small code that i made...... As far as the code goes its all well.... And i am getting what i want.... But what i want to know is, **where …

Member Avatar for Ancient Dragon
2
186
Member Avatar for primzon

Hello guys! Please help me with a little problem. I have one table(Person) where are some values. My current syntax is: SELECT Status, COUNT(Name) AS Number FROM Person WHERE Status = 'Married'; Result: Status_________Number --------------------- Married__________3 But I want to get the result for each status. That would be something …

Member Avatar for JorgeM
0
194
Member Avatar for mmathew

I need to do the following: input First and Last name Output initials. Output however many letters Input Middle name Output Full initials. then redo the process. input First and Last name Output initials. Output however many letters Input Middle name. Output Full initials. Example: Enter your first and last …

Member Avatar for Ancient Dragon
0
5K
Member Avatar for Secone

I have a template in a 1-file .h file, and I need it to be adjusted and modified to work properly with only a partial amount of the items in it used. The testArray.cpp file I include is how I test if it works properly. As it is now, it …

Member Avatar for Secone
0
183
Member Avatar for anova

I need help and thank you in advance for any advice. I'm new to Php and Mysql. I've put three drop down menus in one cell of a table and I want to display results of a simple query (4 fields per record) in another cell of the table. Only …

Member Avatar for AndreRet
0
290
Member Avatar for atkinsonsits

Hi I am attempting to build my own cms (although very basic) using php and mysql. Instead of having a static homepage, I want the content displayed to be dynamic. In other words, I want the homepage to be flexible/changeable based on whatever the latest 'content' entry into the database …

Member Avatar for Icone
0
1K
Member Avatar for jg1405

Thanks for the support! I have been working on a program with 7 classes, one the main and one starts the program, and I have been troubleshooting for a few hours trying to see why for one of the output constructors I'm not getting the classes to update the output. …

Member Avatar for Taywin
0
190
Member Avatar for GhuleVishal

I have installed php mysql and apache but when I run my php program browser ask me to download that file. but required output is not appear.

Member Avatar for broj1
0
160
Member Avatar for quantumss

I'm causing input letters to write ones into variables through an array. I'm trying to count the occurences of ones in a variable. Lets say I input aaaaa. The count output displays 12345. Instead of outputting the whole count of numbers, I want to output the biggest number in the …

Member Avatar for np complete
0
216
Member Avatar for nickcolb

Hey everyone, I was wondering if there was a way to cycle through the individual bits of a port without having to write each one out individually i.e. P1.0, P1.1..etc. I need to light up some LEDs and just wanted to save myself from lengthy code. I'd be particularly interested …

Member Avatar for mathematician
0
172
Member Avatar for Labdabeta

Hi, I am wondering if there is a somewhat simple way to output extended ascii values in c. Basically I am thinking actually about unicode characters, stored in ints. Is there an easy way to do this, or would it require a custom gui console?

Member Avatar for Labdabeta
0
230

The End.