63 Posted Topics

Member Avatar for eranga262154

Hi all, I have a console application, and I want to run it though a GUI. Its a simple GUI. Say there is a button called "Run", when I click the button need to execute the application do the task. Can you guys guide me to do it. I'm really …

Member Avatar for n.aggel
0
173
Member Avatar for tinamary

I think system independent and pure object oriented are the main difference.

Member Avatar for ~s.o.s~
0
142
Member Avatar for eranga262154

I'll explain my issue in this way. I've use a structure to get some data of a byte stream as follows. [CODE] 1. struct pac_cont 2. { 3. unsigned int des_list ; 4. unsigned int mem_ID ; 5. unsigned char dm_con ; 6. unsigned char ser_ID ; 7. unsigned short …

Member Avatar for eranga262154
0
1K
Member Avatar for eranga262154

Hi all, I want to use a function to write some values to a text file. That function is called from the main function. Every time when I can that function from main, the perviously written value is overwrite. That's true, it wont work. So what I have done is …

Member Avatar for eranga262154
0
154
Member Avatar for jjt

I think it is not much difficult to start work with applets and swing by referring a best tutorial. Actually try with worked examples. Sun official web site always provide the best tutorials on that. All the time I used sun web site to find such informations. [URL="http://java.sun.com/docs/books/tutorial/2d/index.html"]Here is a …

Member Avatar for jjt
0
194
Member Avatar for alsoumhi

All about the String class. Check the [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#valueOf(char)"]documentation[/URL] for more.

Member Avatar for eranga262154
0
188
Member Avatar for maheshmohan

I don't think that explanation of such topics on a thread is not easy. As jwenting says, better to refer a book or whatever and question after you comes with. On the web you can find a lot. One of my recommend is the Sun official web site, as most …

Member Avatar for orko
0
103
Member Avatar for eranga262154

I've read 4 consecutive bytes from a binary file, and store the value as follows, [CODE] int main() { char next4[4] ; while(!fileopen.eof()) { fileopen.read (next4, 4 ) ; } } [/CODE] What I want to do is, that value in next4 want to convert into a decimal/int value. How …

Member Avatar for eranga262154
0
200
Member Avatar for eranga262154

I have a binary file, contain set of stream, and I want to find some information there. What I have done up to now is read the file, open it and count the number of streams three. I'm stuck now. Just consider one stream. I want to skip first 4 …

Member Avatar for eranga262154
0
2K
Member Avatar for subbu.vemparala

So, use a array. That's the simple way I think you have to do it. Count the number of elements and handle it with the length property of the array and your conditions.

Member Avatar for eranga262154
0
86
Member Avatar for eranga262154

Can someone explain, how can read a binary file. I'm really nervous with this.

Member Avatar for eranga262154
0
324
Member Avatar for eranga262154

I have a binary data block(a byte), and I want to convert it to decimal. Is there any inbuilt function to do that.

Member Avatar for eranga262154
0
109
Member Avatar for eranga262154

Hi all, I have just start to work on C++. I want to open a text file, then write few text there. This is the code I wrote for that. [CODE]#include <iostream> #include <fstream> using namespace std; int main() { ofstream file; file.open ("example.txt"); if(file.is_open()) { file << "Write a …

Member Avatar for eranga262154
1
170

The End.