User Profile

Collapse

Profile Sidebar

Collapse
Man4ish
Man4ish
Last Activity: Jan 11 '13, 05:18 PM
Joined: Mar 25 '08
Location: Malaysia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Man4ish
    replied to How to use map in multithreading in C++?
    in C
    As per my project guidelines, i am not supposed to use Oracle. I have 1000 core processor I want to make use of each core for storing it. I need to write my own program. There is not one file but folder having million of files. I need to store all the records in a file.

    Regards
    See more | Go to post

    Leave a comment:


  • Man4ish
    started a topic How to use map in multithreading in C++?
    in C

    How to use map in multithreading in C++?

    Hi,

    I have one input file having almost trillions of records.


    Input:
    Key Value
    a XYZ
    b xyz
    . ...
    . ...

    How to store the above data in multithreaded map and retrieve in the same manner...
    See more | Go to post

  • Maven managed project takes too much time running/downloading

    Hi,

    I m working on Java application (Spring) Demo Application(Hel lo World) in Netbeans. It takes too much time in downloading maven repository. There is only one line that need to printed in spring framework but it start downloading applications from maven repository first which takes arnd 15 mins. Then actual program runs. Is there any way to disable this downloading.

    Regards
    See more | Go to post

  • Man4ish
    started a topic Is it necessary to use Maven with Advanced Java?
    in Java

    Is it necessary to use Maven with Advanced Java?

    Hi,

    I m newbie to advanced java and learning advanced java by open source example on net. I found most of the examples are using maven on netbeans. Is it necessary to use maven for developing web application?

    Regards
    See more | Go to post

  • How much easier is it to learn Java for C++ programmer?

    Hi,

    I m C++ programmer (2.5 years exp). Now i m learning java since i found there is limited scope in C++ for application programmer. So i m learning java and developing web applications with JAVA beans.
    Is this a right move to switch from C++ to Java and build career in this field?


    This is general question so i need some suggestion from experienced programmers.
    See more | Go to post

  • But i want to write data in such a way that 3 should be stored at 1200 loction and like others and i can easily read the data from there also.

    Regards
    See more | Go to post

    Leave a comment:


  • Man4ish
    started a topic How to read and write data in C++ (random access)?
    in C

    How to read and write data in C++ (random access)?

    Hi,

    I have one input data.

    1200 3
    1234 4
    1235 6
    1236 2

    I need write this in binary file in such a way that i can easily write and read the data.

    I know using fread and fwrite it is possible to do it. we can access data randomly. But how can i implement it? Any working example will help me.
    See more | Go to post

  • How to expand table row on mouseover/mpouse click?

    Hi,

    I have one column which has text information (too lenghty arnd 5000 words). I don't want to show everything in table. I want them to visible once i click on table cell. How can i implement it?

    Regards
    See more | Go to post

  • How to remove content displayed on browser during ajax call?

    Hi,

    I am fetching mysql database by jsp via ajax.I am calling jsp from ajax function for database access and display the content in popup window. It is working fine. But when i mouse over the text i am getting content gets printed on web page too.


    ajax.js

    Code:
    /* 
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    ...
    See more | Go to post

  • Man4ish
    replied to How to call jsp function from javascript?
    in Java
    This will definitely solve my pblm.Thank you very much.
    See more | Go to post

    Leave a comment:


  • Man4ish
    started a topic How to call jsp function from javascript?
    in Java

    How to call jsp function from javascript?

    Hi,

    I am working on one project where i need to fetch data from mysql and show in popup window. I found some info abt it.

    1. On mouse over call java script
    2. Javascript will call Jsp funcntion.
    3. Jsp will connect to mysql and fetch data
    4. data will be sent back to javascript function and displayed in popup window.

    How is it possible to call jsp function from javascript?
    ...
    See more | Go to post

  • How to enable onclick event for checkboxes dynamically?

    Hi,

    I need to generate check-boxes dynamically and enable onclick color change event for each check box. But I am unable to implement it by integrating Javascript code with Java.

    // javascript code
    Code:
    out.println("<SCRIPT language= 'javascript' type='text/javascript'>function swapcol(item){if(document.getElementById(item).checked){document.getElementById(item+'bg').style.background='#D3D3D3'}else{document.getElementById(item+'bg').style.background='#FFFFFF'}}</SCRIPT>");
    ...
    See more | Go to post

  • Man4ish
    started a topic How to read zip file?
    in C

    How to read zip file?

    Hi,

    I am working on one project where i have to read zip file without unzipping it. How can i read the file line by line without unzipping it?

    Thanks
    See more | Go to post

  • How to handle missing values in C++ using strtok function?

    Hi,

    I am parsing one tab delimited file with some missing values. When i use the strtok function, I can not get the values based on index in vector. The code shown below explains my pblm.

    Code:
    #include <iostream.h>
    #include <string.h>
    #include <vector.h>
    
    using namespace std;
    
    int main ()
    {
      char str[] ="XYZ 2 a sample      data";
      char * pch;
    ...
    See more | Go to post
    Last edited by Banfa; Sep 9 '11, 11:09 AM. Reason: Added code tags round the code, please start using them

  • Man4ish
    replied to How to sort binary file?
    in C
    Sort means quick sort or need to write own function?
    See more | Go to post

    Leave a comment:


  • Man4ish
    started a topic How to sort binary file?
    in C

    How to sort binary file?

    Hi,

    I am working on one practical problem where file size is around 100 GB(binary). I need to sort the file. How can i do it?

    Regards
    See more | Go to post

  • Is it better to use MPI vs Pthread to write results into multiple files?

    Hi,

    I am working on one project on multi core (80 core) server. I have to write my results into multiple files (here 24 ) simultaneously. Which one will be better to use, MPI or pthread?

    Thanks
    See more | Go to post

  • Man4ish
    started a topic How to deploy a project onto the web?
    in Java

    How to deploy a project onto the web?

    Hi,

    I am C++ Programmer turning into web development. I learnt JSP + Servlets + MySql and developed one project named "Employment ". I need to deploy this project on website lets say 192.168.3.4. How to do this? Thanks in advance.

    Regards
    See more | Go to post

  • Hi,

    I just noticed, it is slower than sequential writing. My hardware configuration is good (24 core).Why it is slower than sequential writing?

    Thanks
    See more | Go to post

    Leave a comment:


  • Thank you very much for your quick response. I can write to multiple files simultaneously but speed is (processing time for one file)*24 times. There is not much speed improvement. Is there any way to speed up the process?
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...