199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for indianscorpion2

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 …

Member Avatar for proghelper
0
130
Member Avatar for Sailor_Jerry

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]

Member Avatar for proghelper
0
196
Member Avatar for iamthwee

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

Member Avatar for proghelper
0
383
Member Avatar for Micko

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 …

Member Avatar for bumsfeld
0
213
Member Avatar for konacious

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 …

Member Avatar for iamthwee
0
326
Member Avatar for sleevetrick

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.

Member Avatar for sleevetrick
0
1K
Member Avatar for Mahen

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

Member Avatar for vegaseat
0
178
Member Avatar for charlie_help

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: ___________________________ …

0
110
Member Avatar for bumsfeld

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?

Member Avatar for mmiikkee12
0
106
Member Avatar for nwc

Can anyone give me a one-liner that adds a timestamp to the output of vmstat -n 1 Perhaps using awk?

Member Avatar for gritty
0
284
Member Avatar for Drowzee

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 …

Member Avatar for Ancient Dragon
0
318
Member Avatar for Dani

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 …

Member Avatar for Dani
0
213
Member Avatar for splifficus

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 { …

Member Avatar for splifficus
0
133
Member Avatar for Micko

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 …

Member Avatar for vegaseat
0
407
Member Avatar for Toulinwoek

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? …

Member Avatar for Toulinwoek
0
241
Member Avatar for mccarthp

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 …

Member Avatar for vegaseat
0
198
Member Avatar for Clint1982

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.

Member Avatar for Evenbit
0
104
Member Avatar for Clint1982

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.

Member Avatar for jwenting
0
66
Member Avatar for kokopo2

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 …

Member Avatar for Dave Sinkula
0
457
Member Avatar for thiru.y

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 …

Member Avatar for Ancient Dragon
0
616
Member Avatar for johnroach1985

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 …

Member Avatar for johnroach1985
0
198
Member Avatar for shanenin

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 …

Member Avatar for vegaseat
0
156
Member Avatar for altheastronut

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 …

Member Avatar for altheastronut
0
354
Member Avatar for visual one

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

Member Avatar for server_crash
0
432
Member Avatar for dummy00

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 …

Member Avatar for proghelper
0
108
Member Avatar for Sailor_Jerry

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 …

Member Avatar for proghelper
0
202
Member Avatar for mugilan

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]) >>

Member Avatar for nattylife
0
1K
Member Avatar for BioTechNoob

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 …

Member Avatar for Ancient Dragon
0
302
Member Avatar for DeVilSoul

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 …

Member Avatar for nattylife
0
264
Member Avatar for Nonie

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 …

Member Avatar for jwshepherd
0
184
Member Avatar for erikkl2000

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 …

Member Avatar for Letscode
0
479
Member Avatar for eugui

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'])) { …

Member Avatar for techniner
0
211
Member Avatar for sx3

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 …

Member Avatar for Ancient Dragon
0
153
Member Avatar for freesoft_2000

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: …

Member Avatar for jwenting
0
402
Member Avatar for vps

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 …

Member Avatar for jwenting
0
172
Member Avatar for ayk-retail

I am taking Java next year but am wondering whether C++ is more difficult than Java?

Member Avatar for Phaelax
0
101
Member Avatar for randallnefdt

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 …

Member Avatar for Daishi
0
284
Member Avatar for Daishi

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, …

Member Avatar for Daishi
0
234
Member Avatar for eugui

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?

Member Avatar for eugui
0
107
Member Avatar for sam1

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?

Member Avatar for hooknc
0
145
Member Avatar for Micko

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 …

Member Avatar for Micko
0
142
Member Avatar for sDJh

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 …

Member Avatar for sDJh
0
223
Member Avatar for mwaora

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 …

Member Avatar for jwshepherd
0
586
Member Avatar for ayk-retail
Member Avatar for jwenting
0
155
Member Avatar for Mahen

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 …

Member Avatar for Stoned_coder
0
254
Member Avatar for peaceofmind

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] …

Member Avatar for bumsfeld
0
175
Member Avatar for paladin4service

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 …

Member Avatar for Ancient Dragon
0
249
Member Avatar for nanosani

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 …

Member Avatar for Daishi
0
318
Member Avatar for c#dummie

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 …

Member Avatar for c#dummie
0
140
Member Avatar for switty

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++ …

Member Avatar for switty
0
97

The End.