dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Priya456

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    5,777

    Re: Counting Vowels in an array of strings

    import java.util.Scanner;

    public class Countingvowel {
    public static void main(String[] args) {
    Scanner in = new Scanner(System.in);

    char letter;
    String sentence...
  2. Replies
    2
    Views
    3,522

    Re: c++ graphic class/library

    C++ has no graphics library.
    C has no graphics library.
    I didn't know C# had one but apparently it's part of the (.NET) Framework.

    Of course you can just use an already made graphics library.
  3. Replies
    1
    Views
    1,295

    Re: Soap message Gzip Content

    SOAP messages generated by both the sforce API client and the sforce API service can become very large. This can have adverse performance implications due to increased transmission and reception...
  4. Replies
    6
    Views
    5,591

    Re: detecting removed network cable?

    Uninstall the network adapter in Device Manager and restart Windows.

    Alternatively or additionally, find a later driver for the network adapter (probably part of a multi function chipset) at...
  5. Replies
    2
    Views
    1,525

    Re: How to reinsert deleted columns in a Jtable

    The DefaultTableModel supports a setColumnCount() method which effectively will allow you to remove columns from the end of the model only.

    If you want to remove columns from the middle of the...
  6. Thread: Arrays

    by Priya456
    Replies
    1
    Views
    1,050

    Re: Arrays

    There is a better way to access elements of an array by using looping construct .



    class ArrayExample {
    public static void main(String[] args) {

    int[] age = new int[5];

    ...
  7. Replies
    1
    Views
    2,792

    Re: JBOSS deployment issue

    All of the deployments are war files. There isn't an error message. Typically it will have the following description for undeploy:

    Timestamp INFO [TomcatDeployment] undeploy, ctxPath=name

    and...
  8. Thread: AVL tree

    by Priya456
    Replies
    9
    Views
    2,511

    Re: AVL tree

    An AVL tree is a variant of the binary search tree. Like a binary search tree, it is made up of a "root" and "leaf" nodes. Every node has at most two children, where the left child is less than the...
  9. Replies
    1
    Views
    1,633

    Re: Parsing PCAP file

    I would use python-dpkt.

    This is all I know how to do though sorry.

    #!/usr/local/bin/python2.7



    import dpkt
  10. Replies
    1
    Views
    1,412

    Re: Parsing PCAP file

    I am trying to parse through a pcap file in python. My goal is to be able to pull out the type of TCP or UDP file it is and the time they start/end. Does anyone have any advice in any certain...
  11. Replies
    1
    Views
    3,515

    Re: function 2 only one time execute in thread

    You can create an ExecutorService that only allows a single thread with the Executors.newSingleThreadExecutor method. Once you get the single thread executor, you can call execute with a Runnable...
  12. Replies
    7
    Views
    2,741

    Re: String Object to Path?

    Use a library like Guava or Commons / IO. They have oneliner methods.

    Guava:

    Files.toString(file, charset);
    Commons / IO:

    FileUtils.readFileToString(file, charset);
    Without such a library,...
  13. Replies
    2
    Views
    1,308

    Re: Javac not recognized in cmd prompt

    First make sure you have installed jdk and jre, both are installed with the java software development kit. The installation folder is typically C:\Program Files\Java.

    Now go to Computer >...
  14. Re: what isthe difference b multitaking and multithreading ?

    In multitasking, several programs are executed concurrently e.g. Java compiler and a Java IDE like Netbeans or Eclipse, while in multi-threading multiple threads execute either same or different part...
  15. Replies
    3
    Views
    2,124

    PHP Re: Mysql Row Deletion Fails

    It means you are testing, evaluating, or printing a variable that you have not yet assigned anything to. It means you either have a typo, or you need to check that the variable was initialized to...
  16. PHP Re: Which One To Use ? mysqli_stmt_fetch Or mysqli_fetch_array ?

    mysqli_fetch_array() is an extended version of the mysqli_fetch_row() function. In addition to storing the data in the numeric indices of the result array, the mysqli_fetch_array() function can also...
  17. Replies
    4
    Views
    1,066

    Re: Code malfunction

    The first thing you need to do is find out what malfunction code(s) are presently set in the ECM. You can read these malfunction codes in several different ways.
  18. Replies
    4
    Views
    3,124

    xHTML Re: Iframe loading and processing

    Older browsers definitely use 1 thread. Most current browsers use 1 process. Chrome does additional tabs & iframes out of process.
  19. Re: Java JSP - using if()-else() inside scriptlets

    The if / else version is syntactically different from the ternary operator. It doesn't "return" anything.

    In order to make something like that work you'd need to do this

    <%
    if (state) {
    ...
  20. Replies
    3
    Views
    5,352

    Re: "ERROR Unable to open NSF file."

    Verify that the nsf file is present in the path specified. The TSV file row for that particular user can be edited to enter the correct path to the mail file, and then attempt the migration again.
    ...
  21. Re: Servlet thread safety of a local session attribute

    The problem was indeed that one browser (Chrome in my case) shared the session between all running tabs. Shared the cookie, as you explained. I tested now with rather running the servlet in Chrome...
  22. Replies
    5
    Views
    1,472

    Re: Very new to assembly language . Please help

    movl $10,24(%esp)
    means: move a literal decimal-10 long (4-bytes) into a 4-byte memory location that begins at the address pointed to by (the esp register plus decimal 24)--basically it is a local...
  23. Re: Servlet handling its own outputted HTML form

    Servlet API provides support for custom Exception and Error Handler servlets that we can configure in deployment descriptor. The whole purpose of these servlets are to handle the Exception or Error...
  24. Replies
    9
    Views
    2,657

    Re: Synchronizing on servlet instance variable

    The first solution is to avoid declaring servlet variables at the instance level by either passing objects from method to method or declaring variables local to a method. The clientRequest variable...
  25. Re: Launching servlet in browser - error "The requested resource is not available"

    The error log actually shows that line 42 of the web.xml file has an error. I examined that line and found a very stupid typo right at the beginning - the comment beginning tag was incorrect. Almost...
Results 1 to 25 of 39
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)