199,114 Archived Topics
Remove Filter ![]() | |
hi i am new to the concept of object oriented programming.i would say that i have command over the C language.i am now a beginner in java. i am not able to understand all the stuff like objects,public,classes,encapsulation.................and so on. are there any easy tutorials for beginners like me on … | |
For example Class A does not have a default constructor. Class B extends A Any reason/benefits to do this? [code] public class B extends A { public B() { super(); } } [/code] | |
![]() | Hi everione, my next assinement is 2 do with classes. I dun no what they are tho and why u will use them? Can any1 explain them to me I would B greatfull. God bless. :o |
Hi, I wonder if you can give me any advice how to learn Python. My plan is to read python tutorial in documentation from begining to the end, and then to get some book (learning Python, or Python in a nutshell). How long it will take (in average) to get … | |
Okay fellows. I got a really tough one. I got it licked pretty much except for one part. This is the implementation of the ADT DigitalTime. You are to enter two different times in military format (i.e. 1:30 pm is 13:30. It is suppose to spit out how much time … ![]() | |
hi. can anyone tell me how to disable blinkin cursor from my WIN32 console Application. i have created a console app.. using vc++ but i see the cursor blinkin all the time which is not what i want. please help thanks in advance. | |
do you know of any api in c++ that could give me time in this format: hh:mm:ss I used strtime in lccwin32 but it is not compatible with other compilers | |
I want to fetch data from SQL Server 2000 using tcp/ip connection and display on the client. Q : How do i fetch data from SQL Server 2000 and put the data on a combo box. Q: My server user interface will have "Fetch" button ? Client User Interface: ___________________________ … | |
Can I wrote an object to files and later on retrieves it with its integrety intact? Is there a ready made function or do I have to write one? I am new to Java, is this what one calls serialization? | |
Can anyone give me a one-liner that adds a timestamp to the output of vmstat -n 1 Perhaps using awk? | |
My project continues... But at least I'm getting better at using C/C++ and MFC. Now, I'm at a critical point: dynamic memory allocation fundamentals. I have a data class with a number of unsigned char arrays and longs that are addressed in structs (encapsulated by the class). I'd like to … | |
I recently received an email from a DaniWeb member saying they're trying to use the blog RSS feed with the Bloglines feed reader, and it doesn't seem to be working. However, the forum RSS feed does work. The forum RSS feed is at [url="http://www.daniweb.com/techtalkforums/external.php?type=rss2"]www.daniweb.com/techtalkforums/external.php?type=rss2[/url] The blog RSS feed is at … | |
Just started a Java class and the first HW assingment was issued. I have read the chapter a million times and cant figure out what the heck am I doing wrong. The assingment is supposed change Celcius temperature to Fahrenheit using a worker class. import javax.swing.*; public class ConvertTemperature { … | |
Hello, I've just started to learn Python. I have two questions: 1. Is there any way to set up default folder for Python files (that Atest from introductionary example)? 2. can you suggest any good Python IDE (existing is OK, but I have a fealing that I'm working in ordinary … | |
Can anyone offer any advice on how to go about setting up the ability for a program to allow a user to set or change configuration options? I can create a form with certain options, but how do I [B]store[/B] the selections? In a database? XML file? In the Registry? … | |
I have a script that is called by a batch file. Whether or not the script completes successfully the batch file continues. I need to know the results of the script. Is there a way to open an IE session, and call a CF page that I can pass an … | |
Hello ! My name is Clint, I'm learning at the Ben Gurion University in Israel, I make a research about viruses, how they work, way of operation, classify them into families. Does any one know sites which can be helpful to my research ? Thank you, Clint. | |
Hello ! My name is Clint, I'm learning at the Ben Gurion University in Israel, I make a research about viruses, how they work, way of operation, classify them into families. Does any one know sites which can be helpful to my research ? Thank you, Clint. | |
Hi pros and experts. I am experiencing some trouble in doing up a code which could evaluate the input into the different data types. What i managed to acheived is to read a file and its content. I used strtok to break the string into various 'tokens'. Now the problem … | |
Hi I am using the dev c++ compiler can somebody please guide me as tohow I should integrate libtiff and its associated header files with the c++ compiler .I am on a deadline so any help would be greatly appreciated. Can somebody also be kind enough to run this code … | |
Hi hope i am writing in right section of the forum trying to create a registry for my C program which has an .exe . want to work on windows start. The program is a kind of firewall program closes ports and opens them only if they are opened from … | |
I would like to write good code, it is so east to start writing crap. Is the following bad. lets say I have the following code [code] testvar = 5 def test(testvar): print testvar test(testvar)[/code] is it a bad practice to use the name of a variable or function in … | |
Hello, I'm almost done with my program however I'm having trouble getting what I want printed to a file. I'm familiar with the printf function and what I want is to print out to the file in scientific notation, which would be %E if I were using printf. Is there … | |
hi I need a java program that will use parallel array to hold an account number, account holders name, withraw, deposit, intial balance, balance and overdraft fee. It must also print out the account number, account holders name and balance. thanks | |
are the codes correct? because im having some errors in getting the output. tnx create a program that will generate the following display: use method declaration without return and with argument list. Input value for the height of triangle. 5 54 543 5432 54321 5432 54 5 import java.io.*; public … | |
What are the benefits\drawbacks about the design below? Here is a simple example of the possible class design. What are the benefits of doing it this way? vs. just dropping the interface class all together. ================================= Public interface Car { public String getColor(); public void setColor(); } ================================== public class … | |
what about this question.........what is a default comstructor? how are an object's data members initialized if a class has only an implicitly defied default constructor? explain the purpose of data member. << moderator edit: split thread (was a reply to [thread=15829]this[/thread]) >> | |
I’m having trouble entering data from a file into an integer and character array. Basically, in this file, some the data I want transferred into a character array. Other parts, I want transferred into an integer array. I am able to get data into the arrays, and the char array … | |
ok,i'm suppose to read all the "CP0X"(where x is a number) from a file and save it into a array.Then read the name(the YYYYY,ZZZZZ,etc) and save each them into array. Example: CP01 YYYYY CP02 ZZZZZ CP04 WWWW CP01 RRRRR CP03 UUUUU . . . CPO2 TTTTT So....i did this for(int … | |
Kindly help me. I am new to VB and also in SQL database programming. I am doing a small library system consisting of 3 tables namely: Member which has Mem_Code as primary key, Name etc., Book which has Book_Code, Book_Name etc.and Issue which has both Mem_Code, Name, Book_Code and Book_Name … | |
Hello all, I have ddlA that loads another ddlB on a postback. I AM Able to get ddlA to load in the page load event;however, i can not get the ddlB to load from the selected value from ddlA. Can someone please help me with this. * I am very … | |
hi, i have two tables and i want to search in two tables and show info about the user. i have: ususarios id name age login 1 ruan 14 ruan1 boleto id name money login 5 ruan 43,00 ruan1 and i have this code: [PHP] if (isset($_POST['usr']) && isset($_POST['pwd'])) { … | |
For this assignment i must replace all unprintable characters by escape sequences. So, the program must do the following: Read each character of the file, and 1) if that character has an escape sequence, print the escape sequence, even if the character is printable. 2) if the character is printable … | |
Hi everyone, I am currently trying to serialize parts of a jtextpane using the java ObjectOutputStream to write it to disk and when i am reading the object back i am using the java ObjectInputStream. When i read the api about the streams here is what they say [QUOTE] Warning: … | |
hello everybody I want to overwrite the names which are already existing and to append the new names in a file. can anybody plz help out. if i use the FileWriter(Fname,boolean true), it appends the even the ones which are existing, i want to append the new ones only. regards … | |
I am taking Java next year but am wondering whether C++ is more difficult than Java? | |
Hi All, I've just started using java and created a "HelloDate" program which works 100%. After that I created a "HelloWorld" program which didn't work because I had made a mistake in the code. I then rectified the mistake, deleted the class and then recompiled the "HelloWorld" program and it … | |
This has been bothering me for a while now. When I try to clear a vector it just *pretends* to clear it, and the data is still in memory. This led to some obscene memory leaks, so I dug around looking for a way to really clear out a vector, … | |
i have: [PHP] function numero() { $R .= rand (1,100000000000000); } $sql = "INSERT INTO boleto (`numero`) VALUES ('".numero()."')"; $comsql = mysql_query($sql) or DIE("ERRO Mysql: ".mysql_error()); [/PHP] and why no insert the rand number? why? | |
hi im constructing a rectangle in main method, i wrote: [CODE] rectangle t = new rectangle();[/CODE] but i get message on compilation: [CODE] cannot find symbol symbol:constructor retcangle() location:class rectanlge() rectangle t = new rectangle(); ^[/CODE] what is wrong? | |
Hello, somewhere I wrote this assignment_ "Write concurent service to keep track of students records" I'm wondering what term concurent service means, does that mean multithreading or what? I know this question is not specified enaugh, but i found that on one .edu page of some university. Do you know … | |
Hello everybody, I just signed up, 'cause I looked through the internet over days to find a solution for the BASIC function GetKey(). It simply returns the Scancode of a key pressed by the user or 0 by default (if no key was pressed). I found the well known BIOS … | |
Hi there, Apparently i have developed a tea auction system and one of the requirements that have come up is; [B]To generate invoices for each client, check the email address of the client and then generate emails for each client. So when the user opens the default mail browser he … | |
| |
Why is VC++ 2005 beta2 telling me this and how do I solve it. .\Test2.cpp(42) : error C2664: 'FindFirstFileW' : cannot convert parameter 1 from 'char *' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Please note that this problem does not exist … | |
hi I have this source [code] env = {} env['SERVER_SOFTWARE'] = ''+self.version_string() env['SERVER_NAME'] = self.server.server_name env['GATEWAY_INTERFACE'] = 'CGI/1.1' env['SERVER_PROTOCOL'] = self.protocol_version env['SERVER_PORT'] = str(self.server.server_port) env['REQUEST_METHOD'] = self.command uqrest = urllib.unquote(rest) env['PATH_INFO'] = uqrest env['PATH_TRANSLATED'] = self.translate_path(uqrest) env['SCRIPT_NAME'] = scriptname [/code] how I can print arrays in this format [code] [HTTP_GET_VARS] … | |
I am trying to build a scientific calculator. However, I have two major problems. 1. The decimal to separate the tens from the tenth 2. Modulus which outputs the remainder of the division of two numbers. Remainder = dividend – quotient * divisor; I can get the rest, but I … | |
Find a six digit number that gives its digits reversed when multiplied by an integer between 2 and 9 inclusive. For example, if the original number was 654321 and the chosen integer was 8, then 654321 x 8 should equal 123456 if it was the magic number (which of course … | |
hi im new to database and still figuring out how to use them... this is very urgent.. i want to retrieve a particular user's data from MS Access to my tab page of textboxes/radio buttons/combo boxes.. i want to allocate specific data in specific textboxes/radio buttons/combo boxes without using data … | |
Hi! I need help! Im a graduating student and Im sick and tired of thingking and surfing the net of what Thesis Title would I propose :mad: , then I got hooked in this cool site(thank GOD! :lol: ) Im quite good in VB6, not exactly good in JAVA, C++ … |
The End.