132,726 Archived Topics
Remove Filter ![]() | |
Hi, I am new to Java. Id like to know if I can use system commands in Java applications. Thanks in advance, Jan Software Development java | |
How can you make a program ends when the user enters the string "terminate"? Software Development c++ | |
Dear , I have a assignmnet due on tuesday and i have 3 midterms right back to back on monday and tuesday and i don't have time to finish it. I'll include the assignmnet here and would appreciate if somebody can do it for me please. Assignment Goals: 1. Practice … Software Development caching data-science data-structure java pdf storage web-design | |
Which book would you recommend for a Java newbie? Perheps this one? [url]http://www.amazon.com/Java-Programming-Absolute-Beginner/dp/0761535225/sr=8-2/qid=1172349683/ref=pd_bbs_sr_2/002-1477243-8540045?ie=UTF8&s=books[/url] Software Development java | |
Hello to all [URL="http://www.daniweb.com/techtalkforums/post318952.html#"]programmers[/URL]: I have been working on the following [URL="http://www.daniweb.com/techtalkforums/post318952.html#"]program[/URL] but I am encountering some difficulties any help whatsoever would be greatly appreciated. My difficulty is that when I run the program, it does not perform the encryption nor decryption on the file I type in. Is something … Software Development c++ encryption | |
I'm totally new to programming, but have been getting by fine so far. I'm taking a highschool programming class, and am trying to do some of my assignments from home. We've been told to work with <iostream.h> for our input and output, but for some reason, I get an error … Software Development c++ | |
Hi Pls help me to write first non-repeated char in string . eg. If string is abcda then first non-repeated char is b . I want an efficient algo / program which will traverse the string only n times . I don't want to use hash which set bit if … Software Development c++ | |
This is a lab project we are working on, and I am at a standstill. I am in a beginner Computer Science course, for background purposes, so please don't get too technical. Any help would be greatly appreciated. Thanks [COLOR=#000000]1. [/COLOR][COLOR=#000000]A variable that counts the iterations of a loop is … Software Development java | |
I have this program I have to write about adding binary numbers. Here is the write up: "Defining a binary number as int binNum[8]; write a C++ function void binaryAdd(int* sum, int& cBit, const int* bin1, const int* bin2) to compute sum as the sum of the two binary numbers, … Software Development c++ | |
hi, hav jsut started with learnin c++ programmin, am using the dev c++ compiler(if u knw a better one plz tell me)...i just learnt basic graphics using the library graphics.h. I hav heard its a very old library but i dont knw of any other one's, so plz guide me … Software Development c++ | |
I don't understand this part... can anyone please explain it to me easier? how does this thing work? [code=C#] try { } catch(ArgumentException) { } [/code] thank you :( Software Development | |
i have problem with this code: [CODE] def __init__(self,parent): data = [(1,2), (2,3), (3,5), (4,6), (5,8), (6,8), (10,10)] self.okno=wx.Frame(None,title="Graf",id=-1) sizer=wx.BoxSizer(wx.HORIZONTAL) ram=wx.Panel(self.okno) client = plot.PlotCanvas(ram) line = plot.PolyLine(data, legend='', colour='pink', width=1) gc = plot.PlotGraphics([line], 'Line Graph', 'X Axis', 'Y Axis') client.Draw(gc, xAxis= (0,15), yAxis= (0,15)) sizer.Add(ram,1,0,wx.ALL) self.okno.SetSizer(sizer) self.okno.Layout() self.okno.Show(True)[/CODE] why plot … Software Development python | |
I am working on a program in Delphi which is intended to call up a php file on a server, with the output of the php file being dependant on the information the user enters into the Delphi form. I have access to multiple servers, and I'd like to know … | |
ok my program works the only thing i cant figure out how to do is, print the sum, average and the numbers (entered) in reverse order. after it tells my the real sum and average. her is what i got so far [CODE]#include "stdafx.h"; #include <iostream> #include <string> using namespace … Software Development c++ | |
Hello... I was given this forum address by a friend, and I am in need of some C++ help. I have just recently began learning about C++, and have been given a series of programs to do. I have completed the 4/5, and they work well. The following is the … | |
Hi everybody, I'm so new with Visual Studio 2005!!!! It has bunch of functions that I don't understand on how it works, does anybody have idea on how to debut my code? I wrote a class program that will receive 2 integers from the main methods, but I don't know … Software Development c# visual-studio | |
I want to type a word in, but i do not want to see the characters. Example: If i type "What" i want to see "****", but the words have to be stored in the '*' any ideas. I know they is a way to clear the stream after i … Software Development c | |
Hello, i am currently a First year university student, and i am taking an advanced C and C++ programming course, but i am having difficulties.. i do not know how to study for it, i did miserably on my first midterm, and i need to pass this course, does anyone … Software Development c++ | |
Hi guys..I am trying to make a program that can calculate the time difference in days from the current date..here is my code...it is bringing some bit of a problem...please help me out!Thanks [code] #include <iostream.h> #include <cdate.h> class Date { public: int month; int day; int year; static int … Software Development c++ | |
i already know how to do a login form using a .INI file, but i was wondering if it is possible to make a form that automatically downloads a file from the web on loading, and uses that as a database for passwords and users, i was also wondering if … Software Development visual-basic | |
I have a function called rounds that that carries out a round for a two player guessing game the score is calculated based on the time taken and the attempts used [code] void rounds(int rand, int guess) { int attempts=1; const int MAX_ATTEMPTS = 5; int score; long int timetaken; … Software Development c | |
[code] from Tkinter import* Label(text=u'\u2208').pack() mainloop() [/code] i am trying to do that same in Wx, but i always get UnicodeError: [code] import wx okno = wx.App(0) frame=wx.Frame(None) wx.StaticBox(frame,label=u'\u2208') frame.Show(True) okno.MainLoop() [/code] and the eror is: [code] Traceback (most recent call last): File "C:\Documents and Settings\Blu\Plocha\aa.py", line 4, in -toplevel- … Software Development first-post python tkinter | |
How can I best find out how many times a word appears in a text? Software Development python | |
this is the code that i managed to write after reading for a while. [code] CubicCurve2D cubic = new CubicCurve2D.Double (20.0, 200.0, 200.0,270.0, 30.0,30.0, 250.0, 170); Graphics2D g2 = (Graphics2D) g; g2.draw(cubic); [/code] and this is the output, [IMG]http://img221.imageshack.us/img221/7728/exampletr0.png[/IMG] Now, like u have seen , everything works fine, i get … Software Development first-post java | |
Hello Everybody, This is my first post to daniweb. i am a c# programmer and working on a spy killer project all alone. I have developed the code for finding spy ware, adware mallicious code in the system registry, drive, memory process currently executing. But i don't have any idea … Software Development first-post | |
i m working on VS.NET2003 and tried this example. [URL]http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/ActiveXInNet.aspx[/URL] i m getting the HTML page having the input box and the command button "Click Me". when i enter anyt ext in the input box and click on the button then it gives the input box string on the URL … Software Development | |
Someone plis assist me in vb.net basics. Im a beginner and have a deadline to meet, so plis post me some learner's guide or tutorials to get me started. Thanx Software Development first-post vb.net | |
Hello! I'm fairly new to VB, but I have some C, C++ background. I'm trying to open an existing Excel Document, and add data in specific ranges from Text box inputs in my VB program. However I cannot seem to be able to do this. The closest I've gotten was … Software Development vb.net | |
I have implemented inheritance and in the print function for class playertype I have called the print function from personType. When I call the playerType fucntion print() with a playerType object only the playerType variables are printed and not the personType variable firstName and lastName. [code] #ifndef H_personType #define H_personType … Software Development c++ | |
hi there everyone. I have a kinda confusing assignment this week. the question is "Write an Applet for formatting inserted data". Now, i can't understand the question and the prof is not very kind. Please help in explaining me the logic. I am not asking for any code, all i … Software Development first-post java | |
I am in Advance C++ and trying to add a class to this program that I wrote for my lab. Could someone help me to understand more on class objects and help me on this code cause I am losing my lunch on this. Thanks, Melissa [code] #include <iostream> using … Software Development c++ | |
I have read that Python does [I]not[/I] have built-in support for multi-dimensional arrays-- is this still the case or has this been developed and updated in the last few years for this language? I have researched this and seen references to multi-dimensional arrays and various work-arounds: dictionaries, lists, and various … Software Development python | |
I am to create an old-style class with a constructor __str__, and accessor methods, such that the following code: abook = Book(author = "Amy Doe", title = "Sun rise", price = 13.50) print abook.getAuthor() print abook.getTitle() print abook.Price() print abook Output should be as follows: Amy Doe Sun Rise 13.50 … Software Development python | |
Hello I'm trying to assign a value from a string via some pointer, but I got an error and I cannot figure how to solve it. Do you have an idea? I would really help me. The problematic line is marked between ********* Thanks. [CODE]// reading a text file #include … Software Development c++ | |
I am supposed to design a GUI for ls, where the user could select these options from pull down menus. After the user selects options, clicking on go should run the ls. The way I am understanding this is that could either use a text widget or labels. Here is … | |
I have a debian base install system and am having problems with performance via allegro. I made a pong game and when I ran it on windows it ran fine but on linux it lags soooo much. Whats the problem? | |
Hi! I have to problems regarding VB6.0 and Access and some other applications... [b]1. I can not open a database from access.[/b] Dim mydb1 as Database Dim myrs1 as Recordset [b]Set mydb1 = OpenDatabase("MyDatabase.mdb")[/b] Set myrs1 = mydb1.OpenRecordset("student") The error appears on the bold text. It says either "Unrecognized database … Software Development visual-basic | |
Hi Im usig SWIG with Python and facing problem in compiling the wrap file genereted by the SWIG. The error is can not open include file Python.h.And hence the object file of wrap file can not be generated, so plzzzzzzzz help me by suggesting the steps for the prob I … Software Development python | |
Hi, I was wondering if any could help out a newbie in programming. I am currently in College taking Intro to Programming and I am having difficulties with making a Phone Words program that does the following: Transform words to numbers (Phone Numbers) and Transform numbers to words (Having a … Software Development vb.net ![]() | |
hi, i have 9 textbox in a form... my problem is first i entered some numeric values in each and every textbox then automatically sum all values and then display the one lable box... suppose u can delete any one value from any textbox... at that time minus the current … Software Development vb.net ![]() | |
i have 10 different classes-objects that are controled by a another class{call it Central class). All 10 classes need to write to the same file(not at the same time). Is it better to have central class control the stream and pass it to the other classes, or each class should … Software Development c++ file-stream | |
Hey guys.. How to write a textfile..from client to server.. I have tried like this [B] lStrFile = "ErrorLog" +""+day+""+mon+""+year+".txt";[/B] [B] FileWriter fstream = new FileWriter(lStrFile, true); BufferedWriter out = new BufferedWriter(fstream);[/B] [B]out.write("Error ");[/B] in this code the error will locate in current place.. i mean in our project location... … Software Development client-server file-system java | |
How do I authenticate uid/pwd against a jbOSS realm. Like in websphere I am using [B]com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy [/B] can anyone tell me corresponding code for this in [B][U]Jboss[/U].[/B] [B]Thanks[/B] Software Development java | |
Hey guys.., Plz Help me out for this..... Is there any provision.... for giving security to a jar file.....i can easily unzip all the files from jar using winrar... and we can easily get .java file from .class so i want to know is ther any way to provide security … Software Development java | |
hi, i want to binary write the fields of class to a file.Mainly i want to serialize only the public fields not the private ones or the functions.... [code] class a { public: int a; int b; protected: void function1(); void function2(); private: int c } [/code] Software Development c | |
im newbees in doing C++ program, now i face a problem where i need to open more than one ".dat" file in a single program. the coding that i use is... ifstream input; input.open("Luc.dat"); if (input.fail()) { cout<<"Unable to open a file \n"; exit(1); }//end if while(input>>keyword>>index2) {//write to Alphabet … Software Development c++ | |
hi , im pretty new to computer science and alose to this community . i have a problem that im trying to solve and hope you guys can help me with it . im trying to create my own version of the function "atoi" that can be found in stdlib … Software Development c++ | |
Hi! Sorry, if something like this was published, but I still have a question. I'm not a C developer at all, so may it's not a correct place for the topic, but... I have many MP3s without any ID3 tags, but I would like to add some. All of the … Software Development c |
The End.