- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: Hi 'Kronk Vaesir', try [CODE]String number = null;[/CODE] and I think you meant number2 > largest | |
I trying to get text only from html code (no tags and exec) I used the next command (regular expression): htmlSurce = htmlSurce.replaceAll("\\<.*?*\\>", ""); it works fine but all the text between <!-- --> is not removed how can I remove it??? | |
Re: I have the exact same problem, (sorry i opened new thread on the same thing, some how i missed this thread.) | |
I have very very simple web service that run perfectly on my computer but on the host i get run time error (i using visual web developer 2008 and hosting on somee.com) here is the given error: [QUOTE] Server Error in '/' Application. Runtime Error Description: An application error occurred … | |
Can I access a web service via software? I'm writing a client – server application and I wish to upload the server part as a web a service so I could access it from any computer while the application is stored on some server, how can I do it? | |
Re: its depends, if the numbers is between 0 -9 you can create an array of counters that will update in a loop for etch row and than will be printed, and if the numbers interval is un limited it will be more tricky , you will have to allocate new … | |
I have a conflict, using asp.net and c#. Probably there is no big different between the two, what is faster? Using function (with efficiency of n^2 - loop in loop) or taking data from small data base (simple query) | |
Im working on shell like software under Linux, In my shell the main process print ">>" than the user enter the command. The main process forking new process that will execute the command And than new ">>" will be printed To run the wanted command im using execl (I have … | |
Re: Well, I don’t see the ChatHandler class , but it should have a run method , in the run method (assuming you work with sockets) you shall ask for username, password exec,and use InputStreamReader and / or PrintWriter, For exemple: [CODE]requestOut = new PrintWriter(socket.getOutputStream(), true); [/CODE] and than [CODE]requestOut.println(userInput);[/CODE] the … | |
Hi, I have java code, in the code there is about 5 lines that I wont to open in new Thread, I don't wont to crate all new class for 5 lines , can I can I implement the Thread inside the method without new class? | |
hi, im working on java on some client server project... in the project the client and the server can send files, but im failng to do so, the resiver get only part of the file... here is my code sender: [code] public void uploadByteFile(String fileNameToGet, File fileDst) { try { … | |
Hi I am using jmf to build some music player and im want to add some equalizer that will "jump" up and down according to the music, how can I do it? | |
Hi I'm working under windows and ubuntu and cant find a good lex editor . I'm looking for a good lex editor \ workspace. take out the eclipse plugin | |
This is my code: [code]public boolean SetYear (String year) { if (year.matches("[0-9]{4}")) { _year=year; return true; } return false; }[/code] Instead of return false I want to make a runtime error with my massage. Something like "the value must be 4 digits" How can I do it? | |
Hi I have database on spss file and i need to use it on c#, how can i do it? | |
Hi , i want to load txt file that build from tow columns separator by 'tab' every column go to different list how can I do it ? how can I read until 'tab' and then continue from my last stop. example to the file one 1 tow 2 three … | |
Re: Hi, this is the algorithm to calculate pi, Pi = 4-4/3+4/5-4/7+4/9...= 4*((-1)^n+1)/2n-1 It's very similar to your need [code] #include<stdio.h> #include<math.h> int main() { float delta; //precision float pi=0,temp; int n=1; scanf("%f",&delta); do { temp = (pow(-1.0,n+1)/(2*n-1)*4); pi+=temp; n+=1; if (temp<0) temp*=-1; }while (temp>delta); printf("%f",pi); return 0; } [/code] I … | |
Re: This function resave number, if the number is 0 its return true else its return false. The Boolean " a & 7 ;" says if a != 0 and 7 != 0 then 1 else 0 Has you see the 7 is not needed | |
Hi… I want to use graphics and I don’t know how. All want is few lines… | |
Re: Maybe the problem is in the include you need to add (#include <string>) [code] #include <string> #include <iostream> using namespace std ; int main() { string sName; cin >> sName; return 0; }[/code] |