132,726 Archived Topics
Remove Filter ![]() | |
i have a simple text file as input.i have to print that file in paragraph format.whenevr it finds "\n" in the input text it should start printing in next paragraph in output file.also a fixed amount of space should be given before start writing in every paragraph. the input and … Software Development file-system perl unix | |
Hey friends , is it possible to send email using program in C/C++? ![]() | |
Hi all, I am trying to use the class as a vector and pass parameters to the class. In loop.run(), I do certain things, then I would like to delete all the elements of the class. [code] 1 class SampleMarketDataClient 2 { 3 .... 4 }; 5 int main() 6 … Software Development c++ | |
Hi I am trying to write a simple J2ME application, (I've only started learning it), and am getting the following error: Unable to create MIDlet null java.lang.NullPointerException at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at com.sun.midp.midlet.Selector.run(+22) I don't know what's wrong. Any suggestions would be greatfully received. My code is as follows: [code] import javax.microedition.midlet.*; … Software Development java | |
Hey i need with this program it works, but i cant figure out how to make it not print out zeros when it is reversed. for example when the user types in 123000 it should print out 321. but my program prints out 000321 what can i do to make … Software Development c++ | |
is there a way to tell the program to remove a certain charecter or number from a string with out giving it a position. for example i have a program that asks the user to enter a set of numbers and the program reverses the order of the numbers. so … Software Development c++ | |
Hi, I am using SWIG to generate the wrapper for python i.e. I am tring to correlate the c++ and python2.4. I am using the windowsXP platform with Visual Studio 2005 Editor and the Turbo c++ complier. The problem is that after Generating the c++ file and the python file … Software Development python visual-studio | |
I have a question: I have a file named "data.inp". This file have numbers: 6 3 5 4 5 2 5 3 1 5 8 7 9 2 5 6 3 5 8 4 6 If I want more line of numbers, I will add numbers. But I don't know … Software Development c file-system | |
hi, i'm using c++ in cygwin environment under win32 .my classes use the xercesc c++ libraries which i have built with cygwin on windows. my c++ source code compiles into .o files but the linker just wont work. my LIB env. variable is set to /cygdrive/c/lib , lib directory exists … Software Development c++ | |
[code] enum MenuOptionInitial { TEST_ONE = 1, TEST_TWO, TEST_THREE}; switch(selection) { case TEST_ONE: //.... case TEST_TWO: //.... case TEST_THREE: //.... } [/code] the problem is that i want to have another selection base on other options [code] i.e. enum MenuSecond { TEST2_ONE = 1, TEST2_TWO, TEST2_THREE}; switch(another_selection) { case TEST2_ONE: … Software Development c++ | |
Hi, I am writing a little GUI application and I want to set them up, so that they have a Windows look and feel. So far I can't seem to find anything workable. Software Development gui java java-swing | |
hi, i dont know how to disable the maximise and minimise button in title bar.....so please give me the idea for that......... regards, vani Software Development java java-swing | |
yay this first time that I develop something larger ;) My problem: main method display a frame with buttons where you choose what function/action you want to perform. Once you press a button I want the main window become invisible and windows with option for function to become visible. So … | |
hi i m a final year student of computer systems engg, i have selected wireless information sharing systems as my final year project, i want 2 bulid an apllication like sql2gsm ,to accsess databas through sms,any body hav any idea, i wll appreciate it Software Development java | |
How do you do this? I can assign each random values into arrays, but I cannot increment the value so that I can display each values with another for loops. It needs to be 5 to the right.. [code=java] import java.util.Scanner; import java.util.Random; public class LabAssgn_laksmono { public static void … Software Development java | |
I know that you can do integer calculation in Python with astronomically large numbers. What is the precision limit when using floats? Software Development mathematics python | |
Is there any way to adjust the volume per sound when using the sndPlaySound function? I am using an MMControl for background music, and currently using sndPlaySound for all other sounds. The issue I am having is that the sndPlaySound sounds are alot louder the the background. Thanks, Mike Software Development visual-basic | |
each of them have different number that is dependent on the user's input. how to find the smallest number? I usually use math class library in java with min and max method, what to use in C#? Thanx >.< hehe Software Development | |
Consider the two equations p = cos(p), p = sin(p) with solutions 0.7390851332151607 (approximately) and 0 respectively. Implement three programs for the solution of these two equations. (a) Fixed point iteration: pk+1 = g(pk). (b) Fixed point iteration with Aitken acceleration. (c) Steffensen’s acceleration. In each case, begin with p0 … Software Development c++ | |
Never done this before, but here goes... I write VB6 applications and have had little problem installing them on computers at office sites scattered across the country. Now the IT people are putting the clamps down on "non approved" apps and will not give anyone admin rights to the pcs. … Software Development visual-basic | |
hi can anyone help me how to compare user and password from a database like access... for example i have registered a user and password in access then when i input the user to VB and the password it will compare if the user exist and if the password is … Software Development visual-basic | |
Hey, i am trying to do a sort in C++. I have a strucutre of different records such as Quote number, Surname, Total cost and Deliverycost. I am trying to sort in order of Quote Number. Im using a bubble sort to do this: [INLINECODE] for(i = 1; (i <= … Software Development c++ | |
[COLOR=#0000ff]for[/COLOR][COLOR=#000000] (i = 0; i < length; i++)[/COLOR] { [COLOR=#0000ff]for[/COLOR] (j = 0; j < width; j++) { [COLOR=#0000ff]for[/COLOR] (k = 0; k < height; k++) { interpolated_1D[i* j *height + k] = interpolated_input[i][j][k] ; } } } Doesn't seem to work,,, What am I doing wrong... Everything is allocated … Software Development c++ | |
I know you can get the present time this way: [code]import time now = time.asctime(time.localtime()) print now # Mon Feb 19 10:41:32 2007 [/code]How can I make sure that 'now' does not fall on our lunchtime break, let's say 11:30AM to 12:45PM? Software Development python | |
hi , thanks for the code , I have changed it a little bit , I have also added two buttons (+,-) I have written the code for (+) but it does not work , can you tell me what the problem is , the last lines which are commented … | |
Hi all, I want to write every given number of lines into the different files, which I will be passing as an command line argument. I have written a function for just dividing the file into two, but how would I divide the files for every given number. If anyone … | |
I've been having a lot of trouble with the [inlinecode]after[/inlinecode] method. What I want to do is show a series of images at the push of a button/press of a key -- each image should appear for 500ms, then be replaced by the next image, which should go on indefinitely … | |
I know I've been told before to use C++ sockets...and I will if this doesn't work out, but that was before I even knew python had sockets. Now. The problem here if that my socket enabled program seems to work perfectly well on a LAN, but not over the internet … Software Development client-server python | |
I have this program to write thats a guessing game. the user specifies the amount of rounds and only 5 attempts per round is allowed a round is over when the user guesses correctly or the number of attempts are up. A Message is displayed to inform the user whether … Software Development c | |
Hi, I want to develop a form in which i have a grid like structure(rows and columns). i can enter data in as many lines as i want. And in one cloumn i want to add a checkbox. When i click the Save button on the form then only those … Software Development data-structure vb.net | |
Hello, I am a newb of Java applets. In the recent day, i got with a java code and is working properly with my current web page. I'm herewith attaching that source code. You just cut and paste it, save it as name.htm, and run it. Interesting pop up. am … Software Development java | |
Hi. I have a bunch of Java codes I have done and I was wondering if there is a possible software or program to convert it into c++? This is because I've done it in Java and now my lecturer wants it to be in c++ >< The concept is … | |
i have a BaseClass and a DerivedClass. i need the BaseClass to register a glut callback, but i need the DerivedClass to determine what the callback does. heres the code: (.h) class BaseClass { public: BaseClass(); ~BaseClass(); protected: static void _renderCallback(void); virtual void Render(); }; (.cpp) BaseClass::_renderCallback(void) { Render(); } … Software Development c++ | |
For this assignment I need to implement a c++ class that creates a ring buffer. A ring buffer still uses an array, but its has two indices, i..e., the head and the tail. Note: The head is the index of the first data point, and the tail by definition is … Software Development c++ | |
Hello friends, Can anyone plz tell me the difference between a using declaration and using directive ? I know this: A using declaration adds a particular name to the declarative region in which it occurs. whereas, A using directive makes all the names in the namespace available without using the … | |
Hey guys, I need help again :sad:. I'm doing really well in the class, it just seems like these past couple assignments have been really rushed (i.e., we went over chapter 5 the day after I finished reading chapter 4 =/). I'm getting sort of discouraged, because up to now … Software Development c++ | |
I have overloaded the << & >> operators and I though I could access private data members of the class if I declared the functions friends of the class. I am getting four errors in the two overloaded functions that are trying to access the private members firstName and lastName. … Software Development c++ ![]() | |
ok so im scanning this text file for the string "model=" the problem is, i need to pull the numbers after that string until it reached the end of that line, this is an easy script but for some reason its just not happening. If someone smarter than myself could … Software Development c++ file-system ![]() | |
hi everyone im shazna i got this mate that has been working ahrd on her java coding and now she is stuck as she lost her original file of the coding she is starting from her older version and she is lost because she cannot figure out what is wrong … ![]() | |
How do you create static methods using C#? How do you specify each items in the static methods? thanx.. I'm a C# newbie >.< | |
I am supposed to create a hit the target class with multiple classes. First place a ball that moves horizontally on the cavas, then create another class with a square that shoot up three balls when the user click the mouse. This class extends Active Objects. Any ideas? Software Development java | |
Low level VB Scripter. I am trying to write the code to import all the Sysinteral EXE files into the program so i can use this tool to launch them from a thumb drive or over a network drive without linking to the files on a network device or shared … Software Development vb.net | |
i've got a project wherein the server listens only from one client on one port...i want a program to make the server lsiten to multiple clients on same port or different ports...watever....can anyone help me out. the foll is my Server side Code [code] Private Sub cmdStartListening_Click() 'listens for client … Software Development client-server visual-basic | |
Now I have anoother problem. i use Disqlite for database and i don't know how put in values the column number with another values Code:[code] sqlite3_check(sqlite3_exec(DB,pansichar('insert into utilizatori values ('#$27+pansichar('COLUMN NUMBER') +#$27+ ','+ #$27+ pansichar(ComboBox1.Text) +#$27+','+#$27 +pansichar(parolaa.text)+#$27+','+ #$27 + pansichar(utilizator.text)+#$27');')nil, nil, nil),DB)[/code] . PLS HELLLLP. Software Development pascal |
The End.