132,726 Archived Topics
Remove Filter ![]() | |
I'm trying to do something like this: [code]public: ULONG dispatch(char *command, size_t length, Stream<T> *stream);[/code]<< moderator edit: fixed code tags >> Where Stream is a template. I can make the class I'm putting it in a template as well - no big deal, I just don't know how anyways. Here's … Software Development c | |
I would appreciate any help (I am very much a beginner in Java) what is this error message and also do I use init() or main() for applet? Thank you so much //JavaAirlinesApplet.java ERROR MESSAGE: /*JavaAirlinesApplet.java:8: JavaAirlinesApplet is not abstract and does not override abstract method actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener public … Software Development java java-swing | |
i cant belive that you have to have a .net framework on the computer to run the C# apps. because of this no my friends cant use them. there should be away around this does ne body know if there is? Software Development | |
i have the following code that reads user input characters and displays the string entered in reverse order. import java.io.*; /** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */ public class ReverseString { public String reverse(String … Software Development java | |
kinda like the last program.. just does different things.. anyway, im getting a seg fault i dont understand one bit its off of the menu function. when you input an invalid number like 8 - it says invalid but if you input 7 to quit the program it seg faults. … Software Development c++ | |
Hi everybody. I am a student taking up C programming and I need some help from you guys. My main problem is that I do not know how to start with programming, aside from that, I would like to know also whoever knows how to understand discrete structures in programming. … Software Development c++ | |
Hi everyone, I am trying to to read and write large files about 600M. The thing is when i use the normal FileOutputStream methods an exception gets thrown saying [code] java.lang.OutofMemory [/code] This is how i am trying to read the file [code] FileOutputStream out = new FileOutputStream("C:/my_life_story.zip"); InputStream in … Software Development file-stream java | |
Hi everybody i spent the last few months playing with .NET(c#). i'm considering to do a project work using c#(.net) just for my own experience. so can any one help me to pick an interesting topic to work with. Thanks | |
Hello all, I'd like, very much, to understand linked-lists.I've read many texts on the subject and tried many source codes but none of them seemed to fit my needs (one from daniweb is pretty close but it's in C) so I, as desperate as I can be, beg you for … Software Development c++ data-structure display first-post linked-list | |
Hi I am having a bit of trouble with a do while loop. I either can't get it to stop, or it doesn't do exactly as I need it to. I am using a array called nums to insert random numbers into a binary search tree. Once the tree has … Software Development java | |
Hey, i get the following annoying link errors when i try to build my program: [quote] Compiling... power level.cpp Linking... power level.obj : error LNK2001: unresolved external symbol "int __cdecl YesNo(void)" (?YesNo@@YAHXZ) Debug/power level.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.[/quote] The program compiles ok, but it … Software Development c++ | |
ok so i have this program that i made that reconizes shortcuts and does certain thing like bring in and out of taskbar. the oonly problem is when the form loses focus the shortcuts dont work. is there any way that when the ofrm does lose focus if i press … Software Development | |
As I said before im new to python and stink at math(great combination huh?) Well I've looked at Thinking in Tkinter but I still don't fully understand the concept of classes. Could you provide any help\tutorials on this subject? Help Appreciated :cheesy: | |
Hey guys, I was just wondering when using classes to obtain a name or something like that when a pointer is used how come you don't have to use the new and delete key words. [code] class LibBook { private: char *name public: LibBook( char* = '\0') void showBookName() }; … Software Development c | |
Hello all :p I was working on this simple program with a formula for calculating parallel resistance. I was getting all kinds of errors at first but I am still getting these few. Compiling... ResistancePar.cpp G:\VC++60\ResistancePar\ResistancePar.cpp(5) : warning C4518: 'float ' : storage-class or type specifier(s) unexpected here; ignored G:\VC++60\ResistancePar\ResistancePar.cpp(5) … | |
Python Version: 2.1 Platform: HP Windows XP I am using Python scripts generated by ArcGIS/ModelBuilder in order to automate geoprocesses. Currently I am calling a series of scripts from a batch file that is called by the task scheduler. My problem is if there is an error the process stops, … Software Development file-system python windows-xp | |
Hello, Im rather new to C, but I was struck with one curiosity as I delve into it. From what I understand, there is not supposed to be any support for string-datatypes in the language itself; you need to import libraries to get this support (where the strings are actually … Software Development c++ | |
what all do i have to do to make this work... this is my class and functions... and the errors are at the bottom... do i have to overload operators or is there a much easier way? thanks. and i know the return function isnt written yet. [CODE]#include <iostream> #include … | |
hey friends i m facing one problem that on sever their is fedora core 4 and when ever temp(/tmp) is filled server go show. can any one provide me with the script that can automatically cleans up /tmp after some days or when temp is going to fill thanks Software Development shell-scripting | |
Hi, I was hoping if anyone could help me really quickly. A section of my program needs to discern between java primitives. I've had to make regular expressions which look for the different characteristics between each primitive, but I don't know what some of them are. Below are all the … Software Development java | |
On windows operating system How can we make a window an active window (focussed window) using c/c++ programming. I tried using SetForegroundWindow() but it is not working. AllowSetForegroundWindow() will work on Windows XP? Any how please give me an idea regaurding this. Software Development c++ operating-system windows-xp | |
Hi I have a JTextpane where i will be adding instructions. I know this will not be large enough, but there is no further space on my interface, so I need to add either a scrollbar or scrollpane. I have tried a few attempts at this but cannot get either … Software Development java java-swing user-interface | |
I need to create a mp3 id3v2 tag viewer using assembly for a project.The problem is I don't know where to begin. Does anyone know any resource sites or tutorials on how to begin? thanks! Software Development assembly | |
hi this is srikanth from india. it would be highly appreciated if a separate forum is put up exclusively for C language.it would be very much useful to beginners. clubbing c and c++ in one forum is a little uncomfortable for the user to browse c related threads. Software Development c++ | |
I am trying to put together a string that can be sent to the clipboard and then pasted into a spreadsheet (in this case a works spreadsheet). The problem I have is the space characted seems to be being ignored when it is a the start of the next line. … Software Development visual-basic | |
Hey there! I'm making a break timing device for work (so I can be more aware of how long I'm taking on my breaks. I'm bad at keeping track.) If someone could help me out, it would be greatly appreciated. [U]What the program does:[/U] - After I click "break" it … Software Development display visual-basic | |
hey every1, can any one tell me how to draw a ball or a circle in an console application vc++ and make it move around various coordinates.. basically the ball shud move arnd 4 directions. i tried printin chars but dont quite know how to go about paintin the ball … Software Development c++ | |
I wrote simple python program that rips, encodes, and gets song data from the cddb. I would like to give the user the option of customizing it to there taste. So I want to make a config file that I can store in /etc(linux fiel location). for example it would … Software Development file-system python | |
Hi i have a programming problem ;) I have a set of number(there is no limit must be dynamic) and i want to find out the unique numbers from the set i.e numbers which are not repeated. Observation: 1) No. of element in set should not be limited 2) Algorithm … | |
Below is a program in C that I am trying to use to read in a spreadsheet (in CSV form), which I will eventually be doing calculations on and then writing out to a new file. I'm currently trying to figure out the following three things: 1) How to make … Software Development c | |
While running the older version of jdk1.3.0 my bdk1.1 worked fine. Recently i installed the latest version of the j2sdk1.4 and the problem surfaced. Whenever i run the run.bat file, lot of exceptions are thrown at the command prompt. And some of the inbuilt beans won't be shown. As for … Software Development java | |
Hi everyone, I am trying to write some bits to the parallel port using the java communications port and all is okay except that i need some clarification on something. The parallel port is connected to circuit board that needs nine inputs(or better known as nine bits) Now this is … Software Development java | |
Hi Everyone, I'm making a Java chat application, but it freezes whenever I click "Connect." My code is attached below. Thanks. [CODE] import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.net.*; public class CinnaChat extends JFrame { JLabel lblServerIP = new JLabel("Server IP:"); JTextField serverIP = new … Software Development client-server java java-swing | |
Ok new problem, I want to build off of a program I saw in a tutorial that has a "menu" and can calculate two different shapes. The two shapes are circle and rectangle. I've built it into a working order.(event bindings, buttons, area calculation programs) The program works all the … Software Development python | |
Does neone know the code instruction to store an array of CD objects. Each entry in the array has to be a single object describing a CD. i.e: Artist Name , Album Name, Number of tracks i've written the program out but i cannot seem to get the above right. … Software Development java | |
I'm making a program (using MFC) that opens a file using the c-style FILE* format rather than C++ style streams. I'm doing this because I'm lazy, and so I can use as much pre-existing code as I can. When I close the program, a destructor is called. [code] CGrid1Doc::~CGrid1Doc() { … Software Development c++ file-system | |
Hello ladies and gents, Have a few questions about the following example that is given: [code] #include <iostream> #include <fstream> using namespace std; int main() { char ch; int n=0; ifstream ff("aa"); if (!ff) { cout << "Can't open file aa for input.\n"; return 1; } ofstream gg("bb"); if (!gg) … | |
I am ahving a problem with the do/while loop. When the YesNo function returns a yes, main() repeats;however, it prints out what is stored in the string from before. How do you clear the string in order to run the program over and over. Also, when the piglatin result is … Software Development c | |
hi to all.. i need help about C programming i have problem with my project, its about that how to determine the max number using for loop ill give the output and pls give me the code plss Output: Enter Numbers: 5<--input Enter first number:1<--input Enter second number:2<--input Enter third … Software Development c | |
How to i get cubic numbers into a program? Ive tried ^3, but in this line: x = creat^3; y = lines*20; z = x+y; cout<<"Your zenii for this post is " << z << ".\a" << endl; If i change the cout to call out x it calls it … Software Development c++ first-post | |
Suppose i have a main.cpp file and a test.h file: /////////////////////////////////////////// //main.cpp #include <iostream.h> #include <string.h> void test(); char foo[200]; int main() { strcpy(foo, "testing"); test(); return 0; } ////////////////////////////////////////////////////////////// //test.h void test() { cout << mir << endl; } WHY IS "mir" AN UNDECLARED IDENTIFIER Software Development c | |
Ok I've gotten py2exe because I have friends that want to test my programs, but they don't want to download the python program. Well I have tried to run the compiler out of MS-DOS and the Python version of MS-DOS. But every time I wind up with an error. I … Software Development python | |
Hi every one Please help me: How can i found, if there is any disk in a removable drive (floppy drive or cd drive). I am programming with C++Builder. If there is any Win API function for this. Thank you very much. | |
hello ppl this is my 2nd post and as i said earlier, im writing a cpp program for an exam project. the project is designing a school database system neways the problem is that the the compiler hangs and terminates whenever a wrong type of data is entered i mean … Software Development c data-structure display email first-post | |
hi everyone i am doing this course work, where i have two classes. one is the point2d that models a two-dimensional point. The second part, the rectangle class, require the use of the Point2D class developed in the first part of the coursework. i am stuck in following two functions: … Software Development java | |
i need to store the piglatin words returned by each function into one string so that I can then check it for lowercase or uppercase words and change as required. I can't seem to get the return 'temp' to store into a string in main. Also, when printed out, the … Software Development c | |
![]() | Hi I am from a Visual Basic background, and if you're still reading this after that admission I could use your help.. I'm trying to learn VC++ and MFC and I'm just trying to work this out. In VB, you could have either a Winsock ActiveX control or use the … Software Development api c++ daniweb-api visual-basic |
hey guys, have a challenge for you guys, i am making a rpg game in c++ and need some help figurin out the creatures, and items the player will have, i know i won't get many replys to this so don't expect to get all of what i am looking … Software Development c++ |
The End.