Problem of using scanner to get space in JAVA


 
Thread Tools Search this Thread
Top Forums Programming Problem of using scanner to get space in JAVA
# 1  
Old 09-13-2010
Problem of using scanner to get space in JAVA

May I know how to get a string with space by using scanner class in java?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Java 7 installation problem

Hi, I am trying to install java7.6 on redhat 6.2 but got the below error message. In fact this error comes up for all the supported OS of JDK 7 and JRE 7. I am running this as root and I dont have any other Java version installed. # rpm -i jre-7u6-linux-x64.rpm Unpacking JAR files... ... (5 Replies)
Discussion started by: nvk_vinoth
5 Replies

2. Programming

can i have an optimal solution for this java code ? Facing Java heap space problem even at 3GB heaps

My desired output is run: for this 1 for this 2 for this 3 for this 4 for this 5 for this 1,2 1->2 for this 2,3 2->3 for this 3,4 3->4 for this 4,5 4->5 for this 1,2,3 1->2,3 (2 Replies)
Discussion started by: vaibhavkorde
2 Replies

3. Programming

Java import problem

In a default package, there are BankTest.java and package bank wich contains Account.class . // File: BankTest.java import bank.*; public class BankTest { public static void main(String args) { Account account; ... } } Trying to compile BankTest.java,... (0 Replies)
Discussion started by: Luke Bonham
0 Replies

4. Programming

Java sting up path problem

Hi java programmers I'm a newbee to the Java. Could please help me to set the path correctly. I'm getting the following error. ----jGRASP exec: javac -g C:\Documents and Settings\bogugk\Desktop\HelloWorldApp.java ----jGRASP wedge2 error: command "javac" not found. ---- This command... (1 Reply)
Discussion started by: repinementer
1 Replies

5. Shell Programming and Scripting

Problem with java in crontab

Hello everybody, I have made a java program which runs when i do : java telemesures But when i want to put it in a cron i do /j2sdk1.4.1/bin/java -cp :/web/WEB-INF/classes/Dany4/ telemesures i have got Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver ... (2 Replies)
Discussion started by: totollix
2 Replies

6. Shell Programming and Scripting

problem in java process

Hi, My operating system is centOS. I am running a java process on this os. But my process is killed automatically before completion. The timing of process killing is uncertain. Please help me. Thanks in advance, (0 Replies)
Discussion started by: Mrs. Deswal
0 Replies

7. Filesystems, Disks and Memory

java application holds lot of disk space

Hi, I am running a java application in unix box to process 20000 files. Each file sizes around 300 bytes. Application keep polls the input folder and moves to the respective output folders. The disk partition sizes 5GB. df -k shows only 900 mb free while running the application. When I stop the... (0 Replies)
Discussion started by: balajilinks
0 Replies

8. Shell Programming and Scripting

empty space in java command through unix

I need to pass an empty space in the command ="java ......... " as one of the arguments where java calls some java command.... (It accepts it in windows as " ") Thanks in advance SD (2 Replies)
Discussion started by: shweta_d
2 Replies

9. OS X (Apple)

Java resousebundle problem

Hi Masters, I am runing a java application on Mac os x10.4, java version 1.5. I had this errors regarding chinese language issue. Could anyone have a hint? Thanks a ton. > java -classpath clinic.jar com.scsl.main.MyClinic Exception in thread "main" java.util.MissingResourceException: Can't... (0 Replies)
Discussion started by: mskcc
0 Replies

10. UNIX for Dummies Questions & Answers

Java vm problem

I am using Redhat 7.2. I am trying to install LimeWireLinux. I downloaded the latest versions of LimeWireLinux and JavaVM. I have been trough Limewire, and Sun's setup documents and have done the workarounds for any known problems. My problem is: I get the following error when tring to install the... (3 Replies)
Discussion started by: jeremiebarber
3 Replies
Login or Register to Ask a Question
FLEX(1) 							   User Commands							   FLEX(1)

NAME
flex - the fast lexical analyser generator SYNOPSIS
flex [OPTIONS] [FILE]... DESCRIPTION
Generates programs that perform pattern-matching on text. Table Compression: -Ca, --align trade off larger tables for better memory alignment -Ce, --ecs construct equivalence classes -Cf do not compress tables; use -f representation -CF do not compress tables; use -F representation -Cm, --meta-ecs construct meta-equivalence classes -Cr, --read use read() instead of stdio for scanner input -f, --full generate fast, large scanner. Same as -Cfr -F, --fast use alternate table representation. Same as -CFr -Cem default compression (same as --ecs --meta-ecs) Debugging: -d, --debug enable debug mode in scanner -b, --backup write backing-up information to lex.backup -p, --perf-report write performance report to stderr -s, --nodefault suppress default rule to ECHO unmatched text -T, --trace flex should run in trace mode -w, --nowarn do not generate warnings -v, --verbose write summary of scanner statistics to stdout Files: -o, --outfile=FILE specify output filename -S, --skel=FILE specify skeleton file -t, --stdout write scanner on stdout instead of lex.yy.c --yyclass=NAME name of C++ class --header-file=FILE create a C header file in addition to the scanner --tables-file[=FILE] write tables to FILE Scanner behavior: -7, --7bit generate 7-bit scanner -8, --8bit generate 8-bit scanner -B, --batch generate batch scanner (opposite of -I) -i, --case-insensitive ignore case in patterns -l, --lex-compat maximal compatibility with original lex -X, --posix-compat maximal compatibility with POSIX lex -I, --interactive generate interactive scanner (opposite of -B) --yylineno track line count in yylineno Generated code: -+, --c++ generate C++ scanner class -Dmacro[=defn] #define macro defn (default defn is '1') -L, --noline suppress #line directives in scanner -P, --prefix=STRING use STRING as prefix instead of "yy" -R, --reentrant generate a reentrant C scanner --bison-bridge scanner for bison pure parser. --bison-locations include yylloc support. --stdinit initialize yyin/yyout to stdin/stdout --noansi-definitions old-style function definitions --noansi-prototypes empty parameter list in prototypes --nounistd do not include <unistd.h> --noFUNCTION do not generate a particular FUNCTION Miscellaneous: -c do-nothing POSIX option -n do-nothing POSIX option -? -h, --help produce this help message -V, --version report flex version SEE ALSO
The full documentation for flex is maintained as a Texinfo manual. If the info and flex programs are properly installed at your site, the command info flex should give you access to the complete manual. flex 2.5.36 July 2012 FLEX(1)