- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 88
- Posts with Upvotes
- 78
- Upvoting Members
- 50
- Downvotes Received
- 11
- Posts with Downvotes
- 11
- Downvoting Members
- 10
- Interests
- Programming, Algorithms, Web Design, SEO, Movies, Books etc
- PC Specs
- VAIO E-Series Intel i3 , Windows 7 , 4GB Ram ,ATI Radeon Graphics Card
581 Posted Topics
Re: Can we see the total program that you are trying to compile :) Because i cant find any reason to understand what might have gone wrong. | |
Re: SHOULD you decide the winner by looking at the number of possibilities of winning? As in if bob has 300 strategies of winning and Alice has 299? Should we decide Bob as the winner? | |
Re: I've been to a seminar in which the guy made up a website in C# with Visual Studio. However on later observation. Only the backend was written in C#. All of the front end was generated in HTML and php codes itself. Maybe you should check it out then.It myt … | |
Re: > Thanks a lot in advance for help. We can surely help you out. Put in some effort and let us know where you're having trouble. Just posting the question and expecting an answer is not what this forum is all about. | |
Re: The compiler does a very good job in telling you what is confusing it. Its your job to figure out what can you do to fix it. Lets just examine few of the errors that you've got. symbol: variable product location: class inventoryTest F:\Java Programming\inventoryTest.java:16: error: cannot find symbol product[0] … | |
Re: Interesting, So you wish to write a script that upload files via HTTP. The key to this would probably be in 2 steps. 1. Authenticating yourself with the server. You would probably need some way to authenticate yourself, Maybe a session id or other cookies will be returned to you. … | |
Re: System.out.println("Old Password: " + new String(oldUnicodePassword)); System.out.println("New Password: " + oldUnicodePassword); System.out.println("Old unicode Password: " + new String(newUnicodePassword)); System.out.println("Old unicode Password: " + newUnicodePassword); This snippet doesn't match to your output. Have you made any modifications? | |
Re: Are you having any errors when you try to compile this? Giving out the errors or behavior would surely be beneficial :). | |
Re: Could you please implement the event-driven simulation for us too. Please provide snippets of your work or possible questions rather than pasting your assignment. | |
![]() | Re: To add to what snippsat said, Just consider, What would happen if your code comes through an anchor like the following `<a class='sd-link-color'></a>` Since it doesn't hold an 'href' attribute, I am assuming that `url = (line.get('href'))` would result to None. That's causing your error. Since the get method defaults … |
Re: Hi Ritu, Could you post some code of yours and then discuss where you are having problems. That way, we would have a better understanding of what you wish to do. | |
Re: What exactly does the OP mean by shorter? Shorter in code ? Or Shorter in execution time ? Or something else? I dont see why there is a need to change the current program into something shorter. However, I would sure recommend you to use a newer compiler. | |
Re: You can do something like try to give the computer coordinates and then take a whole screenshot of your computer After that cut of all other parts except the selected coordinates. OOPS LATE ANSWER | |
Re: http://www.easeus.com/resource/install-ide-hard-drive.htm read the topic about the "Jumper Settings" carefully I believe you have ATA hard disks and Jumper settings alone can set up the configuration to MASTER or SLAVE etc. Once you do that, you will need to update your configuration on the BIOS. | |
Re: I am not good at using TEX, because I have never used it before. However I would like you all to make an assumption Let Capital 'C' mean or [TEX]C[/TEX] mean the Combinations. Or [TEX](n!)/(n-r)! * r![/TEX] Where '!' represents the factorial values. So next we just take the normal … | |
Re: Well i have seen your code. It actually can create random numbers from the whole integer set. Therefore i have just edited the whole program and made it such that it will get random numbers from 0 to 50. Please dont copy the code but, Check out how the loop … | |
Re: I remember the time 3 years ago where in I was facing the option of choosing what is a secure skill set (Accounting) in India or doing a degree in Computer Science (Undergraduate). With the recession coming in and some IT companies going into Severe losses. It took a while … | |
Re: Umm maybe your code will help . | |
Re: Hi, I'm assuming that the Java Content Security Policy is not allowing the applet to read the file. ( if you are running the application through appletviewer etc. ) Or do you have the images and applet bundled in a jar file? | |
Re: I dont think you need the '/i' at the end when you already have RegexOptions.IgnoreCase . The whole p Try this out. Match large = Regex.Match(file, @"^.*(_Large).(jpeg)$", RegexOptions.IgnoreCase); | |
Re: Hi, Welcome to Daniweb. `die("Invalid Key. Script Stopped!")` should be followed by a ';' semi-colon. :D ![]() | |
Re: `time.clock()` gives different outputs when we look at its implementation in linux vs the implementation in windows. thereby we need to first determine which OS are you making the game for. Stating that, line 25 and 26 of the above snippet seems to indicate that you re-assign `clock_start` everytime in … | |
Re: Yes, the source files contain the c++ source where as the BIN files contain the actual executable or some times the "Disk Images". So no-wonder you get those errors as they arent even declared anywhere. | |
Re: Well Xls files are written in BIFF format. therefore i think that we should read them in hexadecimal and then convert them into ASCII. If it is possible for you to edit the excel file i think you should store it into ".csv" extention. CSV stands for Comma Separated Values … | |
Re: There are many Mistakes in your Program. Some of them i have found. But i will not post the total code for you i will only point the mistakes and you should solve them on your own. So here Goes: 1)In your Program You are using functions like "cout<<" and … | |
Re: Next isn't likely an operator or method. I believe its just a member variable with a reference to the next Element | |
Re: Maybe you should try type-casting it into "bool" or an "int". As stdClass is rather a dynamic Object. I think it would do some good. | |
Re: Hi , Please try without the base64decode and secondly double posting is bad! | |
Re: Make sure the file actually exists! | |
Re: you're just calling showf() for menu1,3,4,5 whereas hidef() with menu2. Try thinking of calling show and then hiding other menu instances. | |
Re: Firstly , `iostream` is spelt wrong. Secondly, Please use a better "new" compiler. the ".h" has been deprecated ages ago! | |
Re: I am unsure about this, However I assume that you maybe to some extent using Entities that basically override the Java Runtime Environment default policy. Try running the JFrame directly with security features. java -Djava.security.manager Executable If that works, then we can consider it to be other factors . However … | |
Re: I believe in line 7, u mean mysql_connect.... right! | |
Re: ftemp is a string, you will need to convert it into an integer in order to calculate `(ftemp - 32)*5 / 9` why not try `ftemp = int(self.entry.get_text())` in your current code :). | |
Re: srand( static_cast<unsigned int>( time( NULL ) ) ); Just to add up on the above point. Maybe its time for the static_cast to kick in and try a safe conversion :) | |
Re: > 1) While int max is declared, why is substring.length() is subtracted from searchMe.length() ? Let us take an example,(and think that we donot have the subtraction of lengths ) you wish to find sub-string "xy" within a string of "abcx"; Your program starts working from a, the string doesn't … | |
Re: Post in your ideas or some initial code and try to get started. Then we can make it interactive to get to the final result :) | |
Re: Your for loop has a local variable `i` which is being used in the `System.out.println()` method. The scope of the variable `i` only extends within the `for loop` therefore according to the compiler it is uninitialised. A simple solution is to declare it in the scope of `main()` int i; … | |
Re: Well then, Start writing the functions :) .or refer your textbook. | |
Re: The ArrayIndexOutOfBounds is happening due to the while loop. `while (p<11)` this executes 0-10. However our range is from 0-9. (Because we have an array of 10 integers) change `while (p<10)` and I guess your code should work fine :) | |
Re: you are missing the ' " ' double quoute on line 5. Secondly I don't think base64_decode is necessary. Just check it out. I've worked with the same system before. And i directly echoed the data rather than a base64_decode. | |
Re: You seem to be missing a ')' closing bracket on line 6. :) | |
![]() | Re: In the above code, you are typically asking JQuery to get the whole page.. And it does bring in the whole page. What you can do is.. implement a page where-in it only brings out the content and not the layout part. And then you could query that with `$.get()` … ![]() |
Re: Hi there, Welcome to daniweb. Please post down the code that you have written :). So that we could explore upon whats going on :). | |
Re: Hi, and Welcome to Daniweb Your function getWord() is already posting the contents over into the file.. Maybe you should be looking towards 2 options. 1) getWord() returns a string, and you decide if the string overfills your limit. If yes move into the next line or else.. let it … | |
I have just noticed a small bug in the new design.. This is a small issue when it comes to Posting or replying onto a particular thread or article. Please check my attachment to notice how its appearing on my system on (IE 8, Firefox and Chrome ). I have … |
The End.