cse-icons
Members-
Content Count
356 -
Joined
-
Last visited
Everything posted by cse-icons
-
Can't Install Add-on Scripts - Error Message
cse-icons replied to ket's topic in Web Hosting Support
hi,I too am getting the same error. I recently got an upgrade to package2. Earlier most of the addons were working but I did not have enough space. Is there a change in features based on hosting plan.. Admins please advice... -
hi, I agree there are many sections but most of them are for programming languages. Moreover I am not suggesting a separate section for each database but one section where all such questions can be discussed. Databases are the most important part of todays computer science and needed everywhere... I have seen a few question related to databases put up in other sections since a separate section is not available. It wud be a very valid section in any computers forum...
-
hi everyone,here is an exercise for u... I found it quite interesting... hope u like it too....The question is :How do you call a function, given its name as a string? Try it out and post the solution/example.... or post ur approach to the sol...a hint: the solution is not very difficult...I will post the solution next week....cya, keep trying... All the best. Cheers.
-
Thanks for the invite. Actually I had a personal account but needed one with my groups name.
-
hi moderators,I have a suggestion. I could not find a forum for Database. It wud be a good idea if you could create a forum where queries on databases can be posted. Since I cud not find a suitable forum I posted a topic in the Others sub forum under Software.If you create a forum, could you please move my topic too to the new forum. There are a few other database topics too that are present in the 'Others subforum'.Thanks.
-
hi friends, I wud like to share this interesting piece of info that I got from a friend of mind: its possible to create tables with no names i.e. a table with spaces as its name (unfortunately). Create table " "(EMPNO NUMBER(3));creates a table with 4 spaces as its name. When you select the list of tables from all_tables, such tables are not visible. insert into " " values(3);To access such a table use Select *From " "; (Remember you need to give exactly the same number of spaces as you gave while creating the table). This feature can be used to store information that you feel is confidential for you. This should work in ORACLE. dont know abt others. Regards,
-
hi friends,Nice to know so many friends with diverse languages..I can speak English, Hindi(National language of India), Gujarati, Bengali and Telugu(Regional languages in India).I can read/write the first four of these..I tried learning french for some time but cud not pursue long... i dont even remember what i learnt... :-)wud try to start again sometime soon.... any suggestions....
-
hi osknockout,That is a simple solution any one wud think of as first option... but the condition in the question is not satisfied here. i.e., "it shoud be determined in a single C Statement"so what i mean is some other solution in a single C Statement which does not use built in function... the solution u have give has more than that....Regards.
-
Thanks. that is a good idea... i'll check it out... btw keep posted if u get an idea on how to do it without using built-in functions.
-
That's the answer.... Good thinking.....
-
a)not bored, posted it coz.. i liked the ques...B)i am not a newbie.. c)and yeah, i have finished my comp science course... in c languge.. nything not equal to 0 in an if condition is true... got the hint.... if u directly insert a value there...... it will print either "if" or "else" but what i need is "ifelse".........
-
Hello friends, Here is another one of C Question..... (This is a pretty easy one...... if u think in the right direction. Give it a try...) main()[/br]{[br][/br] if (<CONDITION>)[br] {[/br] printf("if");[br] }[/br] else[br] {[/br] printf("else"); }[br][/br]} Fill in the condition to get the output value : ifelse Regards,
-
Hi Friends,Here is another interesting C Problem. The problem is to find whether an integer is a power of 2 or not. This must be done in a single C statement. I tried a little but have not figured it out as yet.I have been thinking on the following lines:I suppose it has something to do with bit manipulation coz.. all integers that are power of 2 will have only single 1 in binary form, we need to be able to count if it has only single one.. Is there ny way???Thanx.
-
hi friends,I suppose most of u might be using log4j for logging in ur J2EE applications.There is a gui which is an extension of log4j called logFactor5. It displays the messages in a gui and has few features like filters, sorting and coloured display for different levels.There is another utility called Chainsaw which is also a gui for logging. It can be run and will listen to a port for logging messages. u can configure ur appln to send messages to that port using SocketAppender. It can also open log files which are in XML format.Hope this is useful.
-
I suppose the following is what u need... [br]File inputFile = new File("C:\\test.java"); // put ur filename here[/br] [br] BufferedReader br = new BufferedReader(new FileReader(inputFile));[/br] [br] System.out.println(br.readLine());[/br] System.out.println(br.readLine());[br] you can read any no.. of lines using the br reader. [/br]There are otherways too in which you can read files in java... I suppose u wanted java coz... this is a Java forum... there are other methods like readLine, readInt, readLong etc.. which you can explore as per your requirements. Go thru the api of the java.io package classes. Hope this is helpful...
-
A New Gmail? maybe? or is this old? im not sure.
cse-icons replied to KazuWanna's topic in The Internet
there is one which gives 3GB...you can get an account at http://unitedemailsystems.com/ or at http://forums.xisto.com/no_longer_exists/ No invite needed... There is a choice of a few domain names also, but dont know how long it can exist.. cant understand their source of revenue except a few google ads at the bottom...The interface is cool too... -
Auto Run Java Program Run Java program on double click
cse-icons replied to eldeo's topic in Programming
Yeah, I think that is possible...Just right click on .java file and select open with...from the list select javac.exe (if it exists) or browse to it and select it.chek the box.. always open with... and there u r....double click and it should compile... I have not tried it yet.. but should def work...similarly for class files.. associate it with java.exeIf these dont work... i suppose u can write a batch file.. which compiles and runs both...There is sthg u can do in the registry so that in the context menu u get compile and it would compile with javac.exe wud try out and let u know.. -
Windows Long Horn? dunno...its wut i hear
cse-icons replied to XeNoToSs's topic in Science and Technology
yeah heard of it.. They are supposedly overhauling the filesystem. Its called WinFS. Also, it was supposed to be released a lot earlier but has been getting delayed.. lets c what ms gets out this time.... more details at: http://forums.xisto.com/no_longer_exists/ -
hi, http://forums.xisto.com/no_longer_exists/ http://www.jsptut.com/ are good links for beginners. Later on, go to the sun site and u will find lot of info. I personally use Eclipse IDE for devlopment along with jsp plugin. but some free text editors with syntax highlighting would do well too. and there's always "Google".
-
What Im Protocol Do You Use? instant messaging
cse-icons replied to BoSZ's topic in Science and Technology
i use yahoo im.i have registered with msn and icq. but prefer yahoo coz.. most of my friends use yahoo. Moreover the integration with other yahoo services is also cool...also yahoo has more services like groups, chat etc... are cool -
C Code, Can U Solve This? Another interesting problem
cse-icons replied to cse-icons's topic in Programming
yeah, that cud be a solution.... i have not tried out... My solution is also on similar lines..... here it is: fun()[/br]{[br]#define printf( i , j ) printf( i , j+1 )[/br]}[br][/br]main ()[br]{[/br]int i =10;[br]fun();[/br]printf("i = %d",i);} -
C Code, Can U Solve This? Another interesting problem
cse-icons replied to cse-icons's topic in Programming
good try tmonty...the solution wud work in a few cases, but just as i told earlier.. it cud failreason: some other memory location might contain "20"..chek out my next reply for a hint.... -
C Code, Can U Solve This? Another interesting problem
cse-icons replied to cse-icons's topic in Programming
actually, if u use pointers, u cannot be sure that it will work on all systems.coz memory allocation is compiler and architecture specific....btw, this is not an assignment and also I got the answer without using pointers....just give it a shot.... -
Hello, Look at the code given below void fun(void)[/br]{[br]/* Put your code here so that main does not print 20 */[/br]}[br][/br]int main()[br]{[/br] int i = 20;[br] fun();[/br] printf("i = %d\n", i);[br] return 0;[/br]} 1. You are allowed to put your code ONLY in fun. 2. You are not allowed to change even one character in main. 3. You should not use functions like exit(),abort() in the function fun. How do I manipulate and change the value of i? Have fun...
-
Creating a Compiler The Nightmare of a Comp Science Students
cse-icons replied to hansley's topic in Programming
yeah....first of all design the syntax... and get the patterns/ regular expressions to identify the tokens( identifier/variable, constructs, expressions etc).you can then use lex to generate a program which reads the source and generates the tokens...call this program from your program.. now that u have the tokens... process then in your program accordingly....I have heard of yacc but never used it... just find out more abt it and c if that would help...all the best...rest assured that though it is difficult, it would be very satisfying once u c the result....