63 Posted Topics
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 … | |
Re: I think system independent and pure object oriented are the main difference. | |
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 … | |
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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
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 … | |
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 … | |
Re: 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. | |
Can someone explain, how can read a binary file. I'm really nervous with this. | |
I have a binary data block(a byte), and I want to convert it to decimal. Is there any inbuilt function to do that. | |
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 … |
The End.