- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 17
- Posts with Upvotes
- 17
- Upvoting Members
- 13
- Downvotes Received
- 7
- Posts with Downvotes
- 5
- Downvoting Members
- 7
Im pursuing my Computer Science Bachelor's degree in India. Love C++ and C#. Like Java and Ruby as well!
Wanna be a programming polyglot!
- Interests
- Coding Football Gaming
- PC Specs
- Win 7 Intel Core 2 Duo 1.8Ghz Intel 946, 2 GB Ram, 620 GB HDD Nvidia 9800 GT 512 MB Viewsonic 17"…
139 Posted Topics
Re: [CODE]"Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will make you a better programmer for the rest of your days, even if you never actually use Lisp itself a lot." - Eric Raymond[/CODE] How many of you agree with … | |
Re: Nice. Im a UG student and the stuff he said about what he expects from ug grads and pg students was really useful! :D Now I know what to master! :D What to learn! Awesome guy :) | |
Hi, I am working on a problem. I have a set of advertisements that I need to print on a paper. The ads may be half page, quarter or full page. The advertiser may specify the location (geographical area - out of finite set of areas), intensity (number of flyers … | |
Re: If you have your data as an .sql script, you can use MySQL's own tools to import the data. just do, mysql -u user -p database_name < data.sql on your terminal. | |
Re: If you know the order of the matrix, then everything should be straight forward... Instead of using a BufferedReader, use a Scanner to "decorate" the File stream. Now you can use nextInt() method to read ints one by one. And as you do use the simple nested forloop to store … | |
I have been developing a rails app for a week now. I use jquery-rails gem to use jQuery and everything was working fine. But today, when I started the development server, jQuery just wasn't loading. The console gave the error `jQuery not defined` and `$ not defined` and so forth. … ![]() | |
Alright. I am a beginner and I am unable to find a solution to this problem. I am developing this quizzing application. I have built the part that allows you to create and manage questions classified by difficulty and tags. But Im not able to think of a proper quiz … | |
Im from Chennai, India. And my university is Anna University. Our results are published in their website and in couple of others. Our college staff go into each url for each student and copy marks and do analysis stuff. Im working on a project to help them do it automatically. … | |
Re: Roses - RPWL Progressive Rock at its best! [URL="http://grooveshark.com/s/Roses/2CdbC0?src=5"]http://grooveshark.com/s/Roses/2CdbC0?src=5[/URL] | |
Hey guys. Im designing a web app with rails for storing and analysing college students' marks. Ive come up with a database design like this:  Now IM not sure how to set the associations. Can you please help me? And is the design ok? | |
Re: Been involved with programming for 5 years. Slight VB before that. I love C,C++, C# and Java. Extremely addicted to Java nowadays. Haven't done many projects. Coded Minor applications and stuff....out of enthusiasm... Want to learn some web technologies and launch a web app!!! | |
Re: [QUOTE=jwenting;1689943]once you get into the real world, certifications are pretty much useless as professionals generally understand that most people holding them didn't study to understand the subject matter but merely crammed to pass the exam.[/QUOTE] Well, Im a college junior. IF I get a certification, say OCJP, now will it … | |
Hello guyz! Im conducting a debugging contest... Im writing some questions... I wrote a code implementing virtual functions.. Im not sure where to include bugs here.. Can anyone help me add bugs to this code?? Please bugs must make people think.. THey must not just be syntactical errors.. Thank you.. … | |
When I compiled this program... [CODE]#include<iostream> using namespace std; class base { public: virtual void show() { cout<<"\n Base class show:"; } void display() { cout<<"\n Base class display:" ; } }; class drive:public base { public: void display() { cout<<"\n Drive class display:"; } void show() { cout<<"\n Drive … | |
Re: What is the error message(s) that you're getting? | |
Re: [QUOTE=LondonJava;1697015]I have configuration properties implemented as a java.util.Properties Object with the mappings saved in a config.properties file. I have managed to update the properties in a user input panel, so the user can change any settings while the application is live. However I want any changes a user makes to … | |
Re: What about Memoization through using dictionary Class? | |
I wanna know what type of parser is used in the gcc and turbo c++ compilers. whether a top-down or bottom-up parser is used..... ? | |
I wanna know what type of parser is used in the javac compiler. whether a top-down or bottom-up parser is used..... ? | |
I need to parse this document with email ids and convert them to a csv file... source. [CODE]xxxx@xxx.com; hello@gmail.com; John (john@hotmail.com);[/CODE] and so on.....lots of emails are there :D output: [CODE]NickName, Email ,xxxx@xxx.com ,hello@gmail.com John,john@hotmail.com[/CODE] Please help me. This aint a homework. Im trying to recover my emails... hehe. I … | |
Re: ead [URL="http://www.dummies.com/store/product/Beginning-Programming-with-Java-For-Dummies-2nd-Edition.productCd-0764588745.html"]Java For Dummies[/URL]. It should give you a good headstart. Then you can look at Core Java Volume 1 (Cay Horstmann) and get yourself completely into Java. Then if you are interested you can look at Core Java Volume 2. | |
Re: are u making a transition from c++?? "hehe". anyway, in Java a string is stored in a single String object and not a String array. You use character array in C++ [pre Ansi string object era]. and so donot use the "[]" and also... refer the documentation of Scanner class … | |
IM new to Ruby and RoR. I have very less prior experience with web techs. I know how web works and worked with pre coded php code (edited em)... and ran websites with template scripts and wordpress cms. But never built em on my own. Now I wanna learn a … | |
IM new to Ruby and RoR. I have very less prior experience with web techs. I know how web works and worked with pre coded php code (edited em)... and ran websites with template scripts and wordpress cms. But never built em on my own. Now I wanna learn a … | |
Re: ou could use the convenience method : entering() of the Logger API [URL="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/logging/Logger.html"]http://docs.oracle.com/javase/1.4.2/docs/api/java/util/logging/Logger.html[/URL] | |
Re: Well I cant understand what problem you are gonna face if you construct both apps from a same main class... could u explain how ur apps are structured and what event handling u wanna do.. | |
Re: As far as I know JNI is the way to go. But I think I dont have enough experience to guide you further. | |
Re: You can read the object first and you the following check to see if its an instance of String or Integer class. if(object instanceof String) or if(object instanceof Integer) and then you can convert using casting. String a= (String)object | |
Re: [QUOTE=BenzZz;1698290]Hi, Does anyone know a method or some code to find out whether two numbers have at least one common factor? I currently have a gcd method that finds the greatest common divisor between two numbers however an arithmetic exception is thrown if the two numbers have no common divisor. … | |
Re: You have to read the number and find a way to extract individual digits from the number. You can do this in two ways: 1. Read the number into a string. And use String ops to extract each number and parse it to integer and test for odd or even … | |
Re: What do u mean it will not return anything? Actually IT3 is index "2". and do u have a b[2]?? {u have only b[0] and b[1] } so ull get an exception (ArrayIndexOutOfBoundsException) As stultuske says it is doing exactly what u want it to do. You are not making … | |
Re: Algorithm: [URL="http://en.wikipedia.org/wiki/Bubble_sort"]http://en.wikipedia.org/wiki/Bubble_sort[/URL] | |
Re: A gorilla, a donkey, a cup of tea, ME, stultuske? ..... One a serious note, yeah as stultuske said please post the entire code so that we could help you out. | |
Re: Well I cant understand a thing.. sorry... English. If you could post your entire code it would be helpful. with variables translated. But someone here may be able to help you... your choice.. | |
Re: Im sorry but the looping logics uve used doesnt make much sense at all. I suggest you come up with a proper algorithm for doing this problem and then write a pseudocode with that algorithm and then proceed to coding. When U come up with a proper algorithm post it … | |
Re: What do u get when you call [CODE]jTextPane.getFont().canDisplay("\u0169"); [/CODE] ?? | |
Re: If your expression contains only { (,),digits,*,+,/,- } then you can use the "Javascript" Engine. Your choice... But I do recommend what others have said. Convert the expression to Postfix and then use a stack to evaluate the expression. That way it would be a fun and joyful experience doing … | |
Re: A simple solution would be to enclose everything in a do while loop: Like this: [CODE] do{ //stuff to repeat // // // System.out.printn("Do again? [Y/N]"); choice=console.next(); } while(choice.trim().equalsIgnoreCase("Y");[/CODE] | |
Re: PLease use CODE tags to enclose your code. And please tell us what you want to do... what the program is for... etc. and whats the output and what do you want as output. Please state clearly. And your current code will only print Average of j[0] = 0 d[0][0] … | |
Re: Well actually java Random class uses System.currentTimeMillis() for seeding the Random number. So you can copy that code.. Here is the source code: [CODE]int next(int bits) { seed = (seed * 0x5DEECE66DL + 0xBL) & ((1L << 48) - 1); return (int) (seed >>> (48 - bits)); }[/CODE] This will … | |
Re: You need to use the unicode value for every arabic character to print the arabic characters.... check this out... [URL="http://unicode.org/charts/PDF/U0600.pdf"]http://unicode.org/charts/PDF/U0600.pdf[/URL] You could do that manually... or you can use many online arabic to unicode convertors found online... like this one.. [URL="http://www.arabunic.free.fr/"]http://www.arabunic.free.fr/[/URL] I donot know arabic... and Im giving you the … | |
Re: I would also love to see someone share their experience with doing such a thing. Like Creating a DataGrid like thingy in Java.... | |
Im a college junior. Ive got fairly good experience with C++, C#, and Java SE. But I dont have any experience or knowledge in the web application side of things. I really want to add one technology to my skill set. I donot know Php well. All I know is … | |
Re: So lets see each option: A: private int blipvert(int x) { return 0; } [QUOTE]Since the signature matches the one in base class method overriding comes into action. BUt the problem is you you cant lower the accessibility of a method i.e you can assign override a protected method as … | |
Re: From what I read from the docs DES cipher needs an 8 Byte Key. If you change your pin to 8 bytes you can run without problems. Since you are gonna do this ciphering and deciphering, you can add a 0 to front or end of the pin cipher it … | |
Re: Ok. First of all what is stored in classList String??? And also... when classList() method is called should it return the "ArrayList" or a "String array" of all the students in the ArrayList?? BTW, the reason for the syntax error is you have added a "()" after "return classList" statement. … | |
Re: Well, call gameLoop() from actionPerformed() of the button and pass the cmd as argument... [CODE] statsButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e){ gameLoop("stats"); } }); [/CODE] [CODE]public void gameLoop(String cmd){ //do stuff with cmd }[/CODE] And since you say they are in two different classes, you can create an instance … | |
Re: On which OS are u doing this? Have u setup ur classpath properly? |
The End.