Hi i am converting code from c to java and i wanted to know how to rewrite the structures , pointer variables , pointers to pointers , unions embedded within structures, self referential structures, extern variables/functions and header files into java .
Anyone who had done the conversion please guide me.
Thanks in Advance
Praveen
User Profile
Collapse
-
Sort Problem in C ( For Data > 3 GB )
Hi Friends
I am writing a program in c where i am sorting more than 3 GB of data (data is in a file , Input from a file) , i am using the sort command provided by unix . I am running the program in Fedora Core 5.
But the Sort Command is not sorting this enormous amount of data (Greater than 3 GB) .
First it was giving Error " Insufficient Space Left on Device "
Then i freed some space, but... -
Thank you DeManfor the response and reply.
I wanted some clarifications regarding csv from you all
1) Should we include the column header in csv for example consider the below data
Age Location
25 California
26 London
27 Rome
28 Amsterdam
In my csv file should the header Age,Location be placed or only the data should be there .
For... -
Thank you for your reply. I solved the problem by writing some programs ....Leave a comment:
-
TEXT Files to CSV
Hi Freinds ,
I want to convert the files that are in text format (.txt) to CSV file. I am working on Linux. So can anyone guide me.
Here is my problem Description
I have some result files which contains text fields and numeric fields which are seperated by tab and also there is a - between two numbers 10-20 .
Another thing is that colons are also present in between in files
name :: praveen... -
Hi Friends
Thank you for ur suggestions. The problem got solved
praveenLeave a comment:
-
I have a file in which there are a list of keywords like
AB123
AB124
AB125
AB126
AB127
AB128
AB129
AB130
AB131
AB132
AB133
Then i have to extract each keyword for example AB123 and create a file with name AB123.txt (and insert some other information which i will do).
So i needed help in creating file names .In C++ i am creating first filename as follows...Leave a comment:
-
C++ Files Generation
Hi Friends
I am writing a program in c++ where in i will extract a word (AB2345) from a input file and then i have to create a filename by this word , i.e AB2345.txt . Like this there are around 100
words with different numbers (eg, AB123,AB521.... ..), i.e i have to create 100 files .
How should i implement this using fstream . Please Guide Me.
Thanks in Advance
Praveen -
Artificial Intelligence Using C/C++
Hi Friends
I Wanted to know , whether any one in this forum has worked on , i.e written programs for Artifiical Intelligence(AI ) , Applications in C/C++ .
I need some example programs for me to start programming in C/ C++ for AI.
So please let me know some good websites and programs demonstrating the AI over C/C++
Thanks in Advance
Praveen -
Tutorials for Boost Libraries in C++
Hi Friends ,
Please help me in finding some good sites that provide some resources , tutorials or code snipplets that will be helpful for me to program in c++ using boost libraries .
My main intrest in Boost library is regular expressions .
I searched in google and in google codesearch , but the resulting code snipplets didnt match my requirements . So if you know some good links or resources let me know . ... -
i think you have to use setw() function available with c++ . search it in google and you can find. you can also start learning programming with help of good text book....Leave a comment:
-
Thanks a lot. I got solution to my problem . I installed boost library and its working on my system...Leave a comment:
-
Follow the logic mentioned below and u can solve ur problem.
Example 1: To find the median of 4,5,7,2,1 [ODD].
Step 1: Count the total numbers given.
There are 5 elements or numbers in the distribution.
Step 2: Arrange the numbers in ascending order.
1,2,4,5,7
Step 3: The total elements in the distribution (5) is odd.
The middle...Leave a comment:
-
Try it out . I have the solution ready , i.e Program is up and giving results. I want you to try and program it. if u find any dificulties i am there to help you out.Leave a comment:
-
hi i am giving a easy method for calculating , see that whether you can implement it
Example 1: To find the median of 4,5,7,2,1 [ODD].
Step 1: Count the total numbers given.
There are 5 elements or numbers in the distribution.
Step 2: Arrange the numbers in ascending order.
1,2,4,5,7
Step 3: The total elements in the distribution (5) is odd....Leave a comment:
-
hi i am giving a easy method for calculating , see that whether you can implement it
Example 1: To find the median of 4,5,7,2,1 [ODD].
Step 1: Count the total numbers given.
There are 5 elements or numbers in the distribution.
Step 2: Arrange the numbers in ascending order.
1,2,4,5,7
Step 3: The total elements in the distribution (5) is odd....Leave a comment:
-
Give me the formula and other necesary inputs.I will try to help you...Leave a comment:
-
Regular Expression in C++
Hi Friends,
I wanted to know whether there is any kind of support i.e, BuiltIn libraries in C++ to implement the regular expressions. The library should work on all types (Linux Based) Operating systems. I am working on Fedora Core 5 at present .
I am writing my own code in C++ for Regular Expressions right now but that is very length process and is consuming a lot of time.
Please help me in finding a Better...
No activity results to display
Show More
Leave a comment: