132,726 Archived Topics
Remove Filter ![]() | |
Hy everyone...I would like to make a thing like the function "like" in php but in C#...It is something already implemented?I've searched on the internet and all i've founded was about regex... I'w waiting for answers..Thnx | |
I have windows form lab created in which I enter plane name and location, direction, speed and send it to listbox.. I need to show how many have i created in a lbl form.. which goes like this: Number of planes created: (number) how can I write this in code? … Software Development | |
Hi Dears I want to print text throu a termal printer of embedded device.I implement it's code in c# but it doen't print.please guide me any one that know the below code lpt dll for printer and Nazanin.ttf is font that i will print my text my code : [CODE] … Software Development printer | |
I really need help on my latest C++ assignment. The program was due a week ago and I'm still beating my head against a wall here. This is supposed to be a VERY SIMPLE linked list implementation. I have rewritten this dang thing countless times in as many different configurations … Software Development c++ linked-list | |
I wrote this script for my classmates where we shoot at each other, but after it compiles it says that there was an error and exits out. heres my script, if there is anything in there that needs to be fixed please help me. [CODE]#include <allegro.h> #include <process.h> #include <stdio.h> … Software Development c++ | |
This is program that return a concatenated string to the main() [CODE] import java.io.*; class ConCat { public static void main(String args[]) { String a, b ,c; a = "Animesh "; b = "Pandey"; c = concat(a, b); System.out.println(c); } } static String concat(String s1, String s2) { String C; … Software Development java | |
So I have this assignment to create a dynamic stack with template and I've got it nailed pretty much. My question, though, is: I tried to implement "stack2" originally with data type as string. It would not work. The compiler threw all kinds of errors. Could somebody tell me what's … Software Development c++ | |
Hello All I want to learn PERL language. Till today I know C, C++, HTML and little bit JAVA. So is there any prerequisites for learning PERL? Which book you will recommend for me (that book must be available freely :) ) for quick learning PERL? Software Development perl | |
Hey guys! I'm trying to write a program that calculates the area of the convex hull of a set of points in a plane. I can find which points construct the convex hull but calculating the area is a little bit difficult for me. I guess the problem is that … Software Development algorithm c++ mathematics | |
Hi ,There I hope you can help me with this I need a Java algorithm to help me find how much % is string A relevant to String B Example : String A => Java ,C++ ,C# ,Assembly String B => java ,c++ then Result should be => 50% relevant … ![]() | |
This is homework. Please do not write my code for me. I did look for this but only found things related to buttons or making a background, none of which had the answers I needed. I have been working on a game. The game has some images floating around and … | |
i have some formula. (find kubik feet) aswer = ((height(inch)/12 * height(inch)/12 * width(feet))/16 i want to solve this formula and asnwer in kiubic feet i am using double data type and c# language; ex: height = 48inch ,width =12feet double height_in_feet = 48/12; double width_in_feet =12; double ans=(4*4*12)/16; Messagebox.Show(ans.toString()); … Software Development | |
I'm trying to create a Chat program for people to talk to each other through. So far I have it so multiple clients can connect to the server and send/receive messages to/from the server. The problem I'm having is because of the way Clients that are connected to the server … Software Development c++ client-server | |
I literally hate to ask this question but I am having trouble with Qt 4 basically all I am trying to do is clear the textEdit area with clear() but I am not sure of what to do. In C++ I would just [CODE]textEdit->clear();[/CODE] and it would do so. I … | |
Hi, I am developing a Java SE console application that needs to connect to a web page, get its contents (using HTTP GET) and get the value of a timer that was written in Javascript. If we take [URL="http://www.elated.com/res/File/articles/development/javascript/creating-a-javascript-clock/clock.html"]this[/URL] example page for instance. When I retrieve its contents using HTTP … Software Development html-css java javascript | |
how can i take only the letters that after the dot (.) in the word? if i have the word: "Yes.No" i want that my string a will be equal to "No", but that should work in every word, not just in Yes.No Software Development | |
Write a program toconvert from Fahrenheit to Celsius : Tc =(5/9)*(Tf-32) Tc : Celsius Tf : fahrenheit Software Development assembly | |
Hi again, With silly question... I read about generating random numbers random(10); but it gives numbers from 0 to 10 and i need for example from 10 to 100. I tried random([10..100]); but i can't compile this :/ Could somebody help me? Software Development pascal | |
Hi, I am trying to convert a word xml into another xml file format using XSLT. Here I need to check the all the following siblings with some condition. If that condition is satisfied, the control should exit from that loop. How can i achieve this, I am desperately need … | |
Hi guys! Can anyone provide an accurate code for me to do this please. I'm not having any luck finding particular codes on Google that work. Software Development java | |
Hello, I'm working on a snake based game in pascal. I'm using graph window. But here is the problem: Yesterday i was doing great my project compiled and everything, today i turned on my computer, open my project and it wouldn't compile... I checked the code the was nothing strange … Software Development pascal | |
I just bought and read Jim Waldo's "Java The Good Parts". (ISBN 978-0-596-80373-5) It is a very interesting book that gives you insight in what happens under the surface. This is not a book about learning how to program in Java. It is rather a book for those who have … Software Development java | |
Hi, I don't know where i when wrong... But my program doesn't want to loop properly. I was ask to make a Simple calculator that will loop the ans till giving a exit. here is what i got... #include <iostream> #define NEWLINE "\n\n"; using namespace std; int main() { char … Software Development c++ | |
I wasn't sure if this should go in games development or here but it's java so I put it here. This is homework so please don't write my code for me. My assignment is to create a game. It has to have moving parts, keyboard controls, buttons, the works. I … | |
i NEED A PERL SCRIPT TO CREATE NAME_DIRECTORY FOR ALL TRAJECTORIES. i've trajectory files like this, rep2.tra3M.bz2 rep2.tra4M.bz2 rep2.tra5M.bz2 rep2.tra6M.bz2 rep2.tra7M.bz2 i want a scipt to list all replicas,copy zipped replicas and unzip all replicas and create a file with list of replicas and call make_pdb.pl for all trajectories. Software Development perl | |
Hello DaniWeb, this is my first view at this forum as a member! I have an issue with my code. The application interacts with a MySQL database on a remote server, I have access to this server. When my app is running the insert into code I m getting this … Software Development mysql open-source vb.net | |
Can someone please show me the best way to achieve this with the least amount of lines? Im a recovering PHP coder, I have one solution. I was wondering if there was a quicker more pythony way to do this: I have in "results" [ICODE][('Basp1', 'Aen2'), ('Basp1', 'Ahy18'), ('Basp1', 'Ahy26'), … Software Development python | |
Hey; I have an assignment. My assignment includes the following tasks to be implemented under Linux: – Display a list of all available files (with their types) in the working directory, – Display a list of only regular files in the working directory, – Display a list of only directories … Software Development c++ | |
hi all i hav a list like list = ['0', '344', '1', '345', '2', '346', '3', '347', '4', '348', '5', '349', '6', '350', '7', '351', '8', '352', '9', '353', '10', '354', '11', '355', '12', '356', '13', '357', '14', '358', '15', '359', '16', '360', '17', '361', '18', '512', '19', '513', '20', … Software Development python | |
I'm trying to launch an .exe from a JButton on a java Jframe, any1 knows how to make it execute. [CODE]private void OKButton3ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: } [/CODE] Software Development java | |
This is my class project to be made in pythonCard : A local community centre desires to have a user friendly application to keep track of their community members. The application must allow a user to display information about community members, including the list of activities that individual members are … Software Development python | |
This worked in VC++ 6 but in Visual Studio 2010 assign needs a second parameter, in the context of this function would it be a better idea to use resize or reserve and why? [CODE] bool CN3ShapeExtra::Load(HANDLE hFile) { bool bSuccess = CN3Shape::Load(hFile); int iPC = m_Parts.size(); m_Rotations.clear(); if(iPC <= … Software Development c++ visual-studio | |
hello friends, i am doing my final project in which i have chosen to operate electrical appliances through cell phone in which i am going to use Linux and Perl to connect to cell phone and so on.... i am little stuck in the Perl way,can't figure it out that … Software Development perl | |
hello, small question if i may :-) [CODE] try: x=int(input()) except ValueError as var: print(str(var.args[0])) [/CODE] if i input a string like - abcd this code prints me the full error message invalid literal for int() with base 10: 'abcd' while i need only the input - abcd to be … Software Development python | |
I am running into an error with NoSuchElementException, Please help! Here is the error: Exception in thread "main" java.util.NoSuchElementException at java.util.Scanner.throwFor(Scanner.java:838) at java.util.Scanner.next(Scanner.java:1461) at java.util.Scanner.nextInt(Scanner.java:2091) at java.util.Scanner.nextInt(Scanner.java:2050) at Project.answerKey(Project.java:292) at Project.findMyAvg(Project.java:344) at Project.printMyResults(Project.java:269) at Project.printHeader(Project.java:203) at Project.main(Project.java:30) The code at line 292 is: [CODE]answer[count] = inScan.nextInt();[/CODE] the method is: [CODE] … Software Development java | |
How do I call a batch file in jython? thanks!! Software Development python | |
Hi, I try to reach Start->Control Panel->Regional and Language Options->Customize->Decimal Symbol and change of that value from windows forms app written in c#. I search different solution from this : [CODE] System.Globalization.CultureInfo ci = System.Threading.Thread.CurrentThread.CurrentCulture; string decimalSeparator = ci.NumberFormat.CurrencyDecimalSeparator;[/CODE] because these System.Globalization or culture things can't see if the user … Software Development c# | |
how to clear lines drawn on a panel.on some event i want to clear lines which r previosly drawn Software Development vb.net | |
Hello, im searching a Packer wich can protect hackers from "Reverse Engineering". It has to work for Net DLLs which are made with visual studio 2008. and it would be awesome if it would be free. Cheers :) Software Development c++ engineering visual-studio | |
I am having a bit of a problem building my app. This is what I'm doing. Perhaps someone may be able to point out where I'm going wrong. When ready to build I click on solution explorer, properties and open, build tag. Output path is bin\release\. Yet when I do … Software Development | |
Hello, i m using vb.net with MS Access database & oledbconnection in my project. now i want to mail my crystal report in pdf format to respected email-id, how can i do this????? i spent lot of time for searching some helpful bt didn't get | |
Hi I've seen a function in numpy ([URL="http://docs.scipy.org/doc/numpy/reference/generated/numpy.gradient.html"]http://docs.scipy.org/doc/numpy/reference/generated/numpy.gradient.html[/URL]) for calculating the gradient of a 2-dimensional array. Numpy also provides 2 examples on that website (I'm more interested in the second one). I now want to use such a function in C++. Does anyone know if there is such a function … Software Development c++ | |
I,m having a problem with my program. [CODE] float num,num1,score; cin>>num; score=num/num1; cout<<score; //if num and num1 is a digit, continue program; else, end program[/CODE] I already tried using (isalpha and isdigit), but it seems to be working only in int and char data type, also tried using stringstream approach, … Software Development c++ | |
Hi all, I'm busy writing a generic textfile reader class and I'm struggling to write the code to deal correctly with end-of-line (EOL) characters for Mac, Linux and Windows. I've done a fair bit of reading on the issue and I came up with the following function within my TextFileReader … Software Development c++ | |
timer i have two labels in C# windows Application and i want make it visilbe for once. on form load : label1.visible = true; label2.visible.false; and on timer tick event: label1.visible.false; label2.visivle = true; now after it perform one tick it display another form. how to do it. in my … Software Development c# | |
Hi, I'm a beginner with Java and I need help with an assignment: Write a program that will help the Toronto Blue Jay's scouts decide which players they should draft next year. For each player the scouts have been watching, a record has been prepared showing the player's name, age, … Software Development java | |
Im trying to learn c++ and i got a book which is not that great in my opinion, due to errors. one of my problems im having with one of the exercises is trying to set values for food, land. every time i run the program i get a bunch … Software Development c++ | |
Hello I wanna create an application that, inserted words an English and words an another one language will show you this in a random mode. Also you should be able to insert new words and carry on like this. I'm not smart enough so I got stuck. If someone would … Software Development c | |
Hey everybody. All my Google searches for help led me here so I thought I'd post my actual problem directly. I'm in a 101 programming course and this is only our second Python assignment. What I need to do is use one-dimensional parallel arrays to allow input of four different … Software Development python |
The End.