Questions tagged [reader]

Reader specifies a software that can read files of a specific format or a hardware gadget that can read some memory card or similar device.

Reader specifies a software that can read files of a specific format or a hardware gadget that can read some memory card or similar device.

554 questions
-2
votes
2 answers

PDF reader not working

import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import…
-2
votes
2 answers

How to count number occurrences of a word in a file using BufferedReader in Java

the task is to find number of occurrences of a particular word in a file that person wrote herself. public void reader() { BufferedReader myR = myReader("enter the name of a file: "); int count = 0; String substring = readLine("enter…
Student
  • 107
  • 4
-2
votes
1 answer

Export PDF Page contents to individual pages

I have a pdf document which contains more than one page within each page. The original document is only 2 pages - size A4, but has multiple pages on each of the 2 pages. I need to export each of these "pages within each page" to an individual pdf…
user2502658
  • 115
  • 3
  • 16
-2
votes
1 answer

How to add an existing PDF viewer to my WPF project?

I have an application which I am developing in WPF and C#. I am currently looking into adding the functionality to be able to load and view PDF files (and files with custom extensions) inside my application. I have managed to get PDF files displayed…
Noble-Surfer
  • 3,052
  • 11
  • 73
  • 118
-2
votes
2 answers

WebService only returning first row using a sql queryC#

I have the following code public class dthvendas: System.Web.Services.WebService { public class typVenda { //public string campanha; public string id; public string contact_moment; public string nome; // few more…
-2
votes
1 answer

print list python <_csv.reader object at 0x104be66d8>

import csv positive_vocab = [csv.reader(open('SentiWS_v1.8c/SentiWS_v1.8c_Positive.txt', 'r'), delimiter='|')] negative_vocab = [csv.reader(open('SentiWS_v1.8c/SentiWS_v1.8c_Negative.txt', 'r'), delimiter='|')] print(*positive_vocab) How can I…
simplesystems
  • 839
  • 2
  • 14
  • 28
-2
votes
3 answers

The Reader interface change value

I have a question about the reader interface, the definition looks like: type Reader interface { Read(p []byte) (n int, err error) } I have following code that use the reader interface: package main import ( "fmt" "os" ) // Reading…
softshipper
  • 32,463
  • 51
  • 192
  • 400
-3
votes
1 answer

Why does it show error for reader? I also tried to import reader

My code: import java.util.Scanner; import java.io.Reader; #I also tried to do this, it didnt help public class firstClass { public static void main(String[] args) { System.out.println("how many player?"); #this output works if I…
plsHelpMe
  • 15
  • 6
-3
votes
1 answer

How to read fixed length file in java

I’m reading flat files in java with fixed length I’m new to this can anyone help me out how to do fixed length reader ?
Kalpesh Z
  • 3
  • 1
  • 4
-3
votes
1 answer

How to create PDF viewer for android on C# with preview

I want to create or find the app which reads PDF file on Android with the preview option. So it puts the thumbnails of all pages on 1. How can I do this on Xamarin with C#?
-3
votes
1 answer

C Read file content into string just with stdio libary

Im struggleing by trying to read the files content into a string (char*). I just have to use the stdio.h libary, so I cant allocate memory with malloc. How can I read all the content of a file and return it into a string?
reByte
  • 83
  • 7
-4
votes
1 answer

How to explicitly send an EOF to an io.ReadCloser in golang?

I hope this message is received by you in good health. So there is this bug in a golang program I am working on where this blocking method, stdCopy.StdCopy() in the codebase can cause everything to hang. This problem occurs because Docker is…
Ali Syed
  • 37
  • 6
-4
votes
1 answer

How do i search through directories and return a file to a JTextArea

I want to be able to go through a folder containing files and display the files that have been specified. I currently have it hard coded... Cc public void searchResult(String a) throws IOException { FileReader inputFile; a =…
mitch
  • 67
  • 2
  • 11
1 2 3
36
37