480 Topics

Member Avatar for
Member Avatar for Stefan_2

I need a way to print(and later on compare - but for now just print) characters 2 by 2 as in: I have a string of 1F190307091810 and I have to print out: 1F 19 03 04 09 18 10. I need this for Baudot code(I have segments of code …

Member Avatar for Stefan_2
0
349
Member Avatar for john123doe

initialize passes to zero initialize failures to zero initialize student to one while student counter is less than or equal to ten input the next exam result if the student passed add one to passes else add one to failures add one to student counter print the number of passes …

Member Avatar for EnergeticJet
0
526
Member Avatar for chubbyy.putto

I dont know what is wrong. The output didnt show anythin. FYI I have p6.dat on same dic. it just the out put didnt print the number. #include <iostream> #include <fstream> using namespace std; const int mySize = 15; const int myStop = 3; void impliedTask(int *&,float *&); int main …

Member Avatar for Ancient Dragon
0
174
Member Avatar for Gaven

Hi I would like to use randint from random to get random numbers, and after doing this I would like to add it to Dict or List and check if the number already added and which Postions this an have so it shoudl print out which possition this number have, …

Member Avatar for ZZucker
0
308
Member Avatar for Garidius

Hello to all, HAving a hash where its keys are associated with arrays like below: myHash = {"A"=>["HYU"], "B"=>["TU6"], "C"=>["11", "09","88","2"], "D"=>["01", "11"]} Each key represent one header and the arrays elements represent the values for each header. How to print each key in different column separated by comma "," …

Member Avatar for Taywin
0
401
Member Avatar for Anna123

Dear All , I have a single file, which I need to rearange, The file format is, A1 ID* 3/2 A2 ID 3/3 A3 RM* 2/6 A1 RM 4/4 A2 D* 1/2 A5 D 5/3 A7 T 5/13 I need the output as this ID ID* RM RM* D D* …

Member Avatar for Taywin
0
175
Member Avatar for bejfake

Hi, I have such simple structure in unmanaged C++: struct Cam { char ip[16]; char login[16]; char pass[16]; char name[16]; }; and C# marshalled structure: [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)] public struct Cam { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)] public string ip; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)] public string login; …

Member Avatar for bejfake
0
2K
Member Avatar for quackyeji

CharToString.java: Declare a character variable (char ch). Read a character into the variable ch and then store it in a String variable using the valueOf method. Print out both the char and string value at the end to test your program. (Note that the valueOf method is static... this means …

Member Avatar for jwenting
-1
226
Member Avatar for ankit.baphna

Code1: <input id="text" type="text" name="fname" value="First Name" onclick="this.value='';"/> Hi Friends, Code1 - this print in my text box value "First Name". onclick this value gets erased so I can type Name. but if I go to second text box and come back to this text box to modify or add …

Member Avatar for ankit.baphna
0
415
Member Avatar for wids101

I wanted to know how i can print the purhcase that the user got. Thank you. import java.util.Scanner; public class VendingMachine { private double chips; private double cookies; private double soda; private double gum; private double candy; private double energyDrink; private Scanner kb; private int dollar; private int quarters; private …

0
202
Member Avatar for Garidius

Hello to all, Having to arrays of the same size like below. A = ["SL","MW","OP"] B = ["RU","YF","L2"] How can I concatenate in columns to print in parallel like below? SL - RU MW - YF OP - L2 I've tried with code below but is printing all in one …

Member Avatar for Garidius
0
439
Member Avatar for josh.leong2

Hey guys, I am almost at the end of my assignment but when I showed my code to a friend and also my demonstrator I was told the way I was passing the data between the three classes for "menu prompt (2)" was wrong. My original program had methods I …

Member Avatar for josh.leong2
0
208
Member Avatar for primero

I am running Windows 7 with a HP printer after a period of inactivity on my pc I have noticed sometimes that when I want to print something the link has dropped out and does not go straight to print like it does normally do but the printer spool icon …

Member Avatar for SaintAce
0
319
Member Avatar for rashad fares

i need answer for this Q is that how we can write program in C++ to eccept any number and print it with its digit? and thanx^^

Member Avatar for Ancient Dragon
0
151
Member Avatar for ZenMartian

Hi Folks! This is probably an easy one for most of you php people :-) I've got a PHP form that's working fine, yet after I SEND the form, it goes to a web page with a "Thank You" message on it (ala the php {print} command), ok... what I …

Member Avatar for rahulyadav1916
0
15K
Member Avatar for zegarnek

Hi, I am just playing with C code in the console under Linux. In the old times a fair bit of code was written for a console; programs were operating in text mode, creating menues was quite a fun. I coded very simple c routine to print a strings of …

Member Avatar for N1GHTS
1
3K
Member Avatar for GilbertB

Hi, I have this list : CompanyID CompanyName Involved Party Involvement C 10001 GRAF LIMITED GRETA PACE BONELLO Director C 10001 GRAF LIMITED GORDON PACE BONELLO Director C 10001 GRAF LIMITED DAVID PACE BONELLO Director C 10024 J.P.F. TRADING COMPANY LIMITED PATRICIA FERRIGGI Director C 10024 J.P.F. TRADING COMPANY LIMITED …

Member Avatar for Reverend Jim
0
217
Member Avatar for DS9596

I have to make a program that simulates a lottery. The program should have an array of 5 digits named winningdigits, a randomly generated number in the range of 0 through 9 for each element in the array. The program should ask the user to enter 5 digits and should …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Anna123

Dear All, I have two files file1 looks like this,the test file ENSG00000000003.10 0 ENSG00000000005.5 0 ENSG00000000419.8 392 ENSG00000000457.8 24 and the GTF file like this, chr1 HAVANA 11869 14412 . + . + . gene_id ENSG00000223972.4 transcript_id ENSG00000223972.4 gene_type pseudogene gene_status KNOWN gene_name DDX11L1 transcript_type pseudogene transcript_status KNOWN chr1 …

Member Avatar for Anna123
0
422
Member Avatar for RikTelner

Is there any tool (not from system ^1) that I could put in RAM disk and on normal disk. Run both and see the outrageous speed? Some kind of tool, which will print me Read/Write in MBs? ^1 - Not from system, because I want to see how independant programs …

Member Avatar for RikTelner
0
251
Member Avatar for DkgMarine

So i'm new to C and i have a problem with struct, so when i run the program it goes to the_struct2 asks for first name and thats it. why does it stop working? is there a way to make the code more efficient? and is there a way to …

Member Avatar for Banfa
0
258
Member Avatar for jtjudge

Hello, Working with structures and C++. Our teacher in class attempted to show us how to over load an "<<" operator. I've tried to do that here in the program below without much luck. I have commented out some parts of the code while I am trying to debug this …

Member Avatar for Ancient Dragon
0
319
Member Avatar for saif.shafqat.5

can any body please tell me that how to take input size of a matrix in 2 d array an then print the table of it.... sample output 1 2 3 4 5 2 4 6 8 10 3 6 9 12 15 4 8 12 16 20 5 10 …

Member Avatar for Ancient Dragon
0
322
Member Avatar for Satyam_1

I have form with many labels and textbox. All these generates a report . I want to print it out in MS Word format and also set print privew. Here is my code for print for single textbox but i don't print in MS word. So what to do? Private …

Member Avatar for cgeier
0
939
Member Avatar for nekoleon64

My Name is Leonard E. Norwood Jr. I'm Undergraduate student from Norfolk State University in Norfolk Virginia. Getting down to the point, my program is supposed to print out a list of pre-set numbers in reversal. I used pointers for this, however, something went wrong so I'm trying my best …

Member Avatar for iamthwee
0
361
Member Avatar for brittney_2

I need to print out the titles for family members being stored in an array, but I am having issues with the report. It prints out all the stored names, instead of the ones that belong to each family member and one line for each. I'm new with arrays so, …

Member Avatar for Steve_O
0
242
Member Avatar for Ndey yassin

Create a class called PrintStars. In the main method, use nested-for loops to print 2 diagonal lines of stars accross a 9x9 grid.

Member Avatar for JamesCherrill
-3
122
Member Avatar for kswag18

Can someone please write this program for me? Your program will accept as input only unsigned integers in the range 2 .. 65535. If the user enters a value that is invalid, your program must print a helpful error message and prompt the user to enter a new integer. Your …

Member Avatar for Schol-R-LEA
-2
725
Member Avatar for LegendX

I need help with this problem, if someone can help me with this it would be appreciated. Part 1: Write a program that uses a while loop to loop 5 times. Each time it should prompt the user to input an integer and should add it onto a sum. After …

Member Avatar for JamesCherrill
0
141
Member Avatar for COKEDUDE

I know this is how you read from a file. I also want to print my output to the same name of the file plus ".txt". So if my file is called "text" I want to print it to a file called "text.txt". #include <stdio.h> #include <stdlib.h> #include <stdbool.h> int …

Member Avatar for Ancient Dragon
0
333

The End.