nitin1 15 Master Poster

Android Launch!
[2012-12-14 21:55:11 - myfirstapp] adb is running normally.
[2012-12-14 21:55:11 - myfirstapp] Performing com.example.myfirstapp.MainActivity activity launch
[2012-12-14 21:55:11 - myfirstapp] Automatic Target Mode: launching new emulator with compatible AVD 'myfirstavd'
[2012-12-14 21:55:11 - myfirstapp] Launching a new emulator with Virtual Device 'myfirstavd'
[2012-12-14 21:55:16 - Emulator] Failed to create Context 0x3005
[2012-12-14 21:55:16 - Emulator] could not get wglGetExtensionsStringARB
[2012-12-14 21:55:16 - Emulator] could not get wglGetExtensionsStringARB
[2012-12-14 21:55:16 - Emulator] could not get wglGetExtensionsStringARB
[2012-12-14 21:55:16 - Emulator] could not get wglGetExtensionsStringARB
[2012-12-14 21:55:16 - Emulator] could not get wglGetExtensionsStringARB
[2012-12-14 21:55:16 - Emulator] could not get wglGetExtensionsStringARB
[2012-12-14 21:55:16 - Emulator] could not get wglGetExtensionsStringARB
[2012-12-14 21:55:16 - Emulator] could not get wglGetExtensionsStringARB
[2012-12-14 21:55:16 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2012-12-14 21:55:17 - myfirstapp] New emulator found: emulator-5554
[2012-12-14 21:55:17 - myfirstapp] Waiting for HOME ('android.process.acore') to be launched...

can you please tell what is this error ? thanks.

nitin1 15 Master Poster

so according to you, it is beneficial to do android ?

nitin1 15 Master Poster

isn't android application is under the mobile development ? ( may be this question is stupid). thanks.

nitin1 15 Master Poster

actually sir, i have my placement session in coming august. amazon, facebook,google,yahoo,microsoft, bain, sail, TI these type of companies are going to come in my campus. so i was thinking that i can do somthing which make me a little bit different from others so i can have an edge from others. that's why i am asking you all GREAT people that what should i do as to improve myself. thanks.

nitin1 15 Master Poster

@ene Uran thank you for your valuable comment. i have already knitted for myself. how about knitting for you ? :-) thanks.

nitin1 15 Master Poster

@ancient dragon awesomeeeeeee presence of mind. what an answer!! :-)

nitin1 15 Master Poster

hmmm.. I think it is not a good thing to learn. right ? looking boring..

nitin1 15 Master Poster

hello dragon sir. Actually i want to learm something new in vacations. Can i learn this thing ? Will it be interesting to learn if i start learning it ? i have googled about it and find that he is exploring win32 API. what exactly it is used for ?

nitin1 15 Master Poster

thank you sir, priteaes. But can your please elaborate that what exactly do you want to convey ? i have read about the book description but didn't get much. thanks.

nitin1 15 Master Poster

hey, Can i please ask that what are you doing in this code ? looking interesting to me(as i suspect something related to window applications.)

nitin1 15 Master Poster

okay! lemme open what i know at this time.

languages: C, C++(which i am learning), Java and PHP (basic)
OS: windows, ubuntu
web development: HTML,CSS, javascript, PHP
computers : Algorithms, data structures, DBMS, networking and OS.

what will you say now that what should i learn ? :-)

@hira.syed i have worked on websites. about what you are talking ? mean how can i randomly work on any website ?

nitin1 15 Master Poster

here am in india, and today is 13/12/12 :'(

nitin1 15 Master Poster

yes, how can it be helpful for me ?

nitin1 15 Master Poster

hmm... but why do we have this feature this minutes ago in everybody's profile . Any special reasons ? i mean what it actually create difference that this person has last visit these days or these minutes ago ? thanks.

nitin1 15 Master Poster

@stuluske your each word has always some worth. (am damn serious!) . Can you please tell mewhat can i learn as new technology ? and what do you mean by get certified ? thanks alot.

nitin1 15 Master Poster

daniweb has no comparisons. truly saying! people, admins and volunteers on daniweb are extremly helpful and well maintained. no forums can compete daniweb (in context of computers ) atleast till next few decades. :)

nitin1 15 Master Poster

awesome and superb answer! really! :-) most funny and most worthy answer.. my fb status now.. :-) hahahah.. same to you sir. if we were there in 2101, then surely we will refresh this thread again. :-p ahha.

nitin1 15 Master Poster

that means having memory from heap is better than having memory from stack ?
but i have felt that malloc function usually takes longer time so as to alocate memory. (malloc also do dynamic allocation). then ?

nitin1 15 Master Poster

but, why all other do have it ? any special reason for this feature. I am asking you because i truly don't know the reason for having it (specially in the forumns). thanks.

P.S nice explaination though!

nitin1 15 Master Poster

that's mean i am in future according to you. (just joking ) :-)

nitin1 15 Master Poster

@ zick technlogy same here.. i am just 20. :-D and my retirement is soo far :-) want to earn more and more money.

@ancient dragon your suggestion was simply blossom! :-)

@michael which app ypu are talking about ? thanks to all. :-)

nitin1 15 Master Poster

very nicely explained! like if i want to allocate an int array of 10^7, then difference will be shown ? I have seen that sometimes when i change my vector to int, they run "sufficiently" fast as compared to when i was using vectors. have i observed the right thing ?
1. total memory difference used between both is negligible.
2. time difference between both is negligible.

are they both right ? thanks.

nitin1 15 Master Poster

in this world of competiton, how can i relax ? :-)

nitin1 15 Master Poster

will the differece be too large ?

nitin1 15 Master Poster

hey! i will advice you one thing here. Just read once CLRS topic AVL trees. the explaination which they have given is blossom! believe me. seen you code a little bit and seen some logical error. have made full AVL tree in last semester. just read once and you will be able to judge yourself. if you still find any problem, then post it here. thanks

deepecstasy commented: NO Idea what you are talking. +0
nitin1 15 Master Poster

hmm.. what is the problem with it ? can you specify it ?

nitin1 15 Master Poster

if i want an array of 10000 ints and i just nned to use it like array only (not the functions which vector have seprately from array), then i make an array int a[10000] and vector<int>a(10000); then memory allocation time will be different for them ? if yes, then please tell why ? thanks in advance.

nitin1 15 Master Poster

that's mean you think my each and every post as "illogical" or questions which i ask without trying myself ? really ?

P.S lol.. sir! i will suffer nothing else.. :p you can implement this thing where you think you are going to make "mocking" comments, otherwise don't implement it. my whole class may be watching this thread, that's why i feel bad. They will laugh on me after readiing your post :'( thanks.

nitin1 15 Master Poster

plzzz give advices. :-) wana celebrate it.

nitin1 15 Master Poster

11 ? 2 cases. either i am in future or you are in past. :-O so what's the case here ? wow... Time machine..

nitin1 15 Master Poster

ohh... yes! but if i were at your place, then i will prefer "NOT TO REPLY" rather than commenting like this. but at last, you have helped me , i must say THANKS. :-)

nitin1 15 Master Poster

daniweb should have a LCD looking button which will be off when that person is not online otherwise green. i have seen on many maths forumns. it is sometimes nice and helpful. we can have this feature if possible :-)

nitin1 15 Master Poster

i don't think that you don't know i "try" things or not. i am here from good time and sometimes if anyone(may be experienced) asks questions which is not even logical, than going rude is not a good option. I have also juniors sir, but i never comment on their ANY sense. sorry if i ask something which i don't need to, but i can confess that "i am a true-hearted hard worker who just need a teacher or proper guidance whenever neeeded". thanks

nitin1 15 Master Poster

no no sir! my 6th sense is little bit weak and also 7th sense which is common sense. accroding to you , it is not complex. "complexity" is a perception. according to you, 1 question can be damn tuff, according to me that same thing is just a task of few seconds. So saying rudely that "just use little comon sense as DEV c++ is not complex" is not good. otherwise you are more experinced than me, cant say anything to you. thanks

nitin1 15 Master Poster

which one ? means how to do that ? i never done this type of thing. thanks

nitin1 15 Master Poster

so you want me to change the IDE ?

nitin1 15 Master Poster
#include<stdio.h>
#include<conio.h>
int main()
{
    long double p=778.567;
    printf("%Lf",p);
    getch();
    return 0;
}

it's output is : -115403.... something... why is it so ?

nitin1 15 Master Poster

@ahmedhamdy thankyou..

nitin1 15 Master Poster

any body there ?

nitin1 15 Master Poster

OS : windows 7 ultimate 32 bit OS
IDE- DEV C++
Compiler:- gcc compiler

nitin1 15 Master Poster
#include<stdio.h>
#include<conio.h>

int main()
{
    long double p=778.567;

    printf("%Lf",p);
    getch();

    return 0;
}

it's output is : -115403.... something... why is it so ?

nitin1 15 Master Poster

hmm.. ok.. and one more thimnng here only. that when i use %Lf for long double variables in my scanf() or printf() then it print -0.0 for any value in the variable.. althoughi can use it the whole code, there is no problem, but when i print it , it print that. why is it so ?

nitin1 15 Master Poster

actually, i am confused now. for scanf() it is okay now. can you a little bit explain more about printf ? if i use "%lf" in printf will it work ?

nitin1 15 Master Poster

ohh god! what i was doing.. then why "%f" in printf ? why not "%lf" ?

nitin1 15 Master Poster

sir, if i want to print double then i have to use "%f" and when i need to input a double, then "%lf" ? is it what u said ? but i always use %f and it works fine for both cases. please clearify.

nitin1 15 Master Poster

@gavinflud very nice advice!! what will u say about android development ? is it worthful or an intesteting task so as to learn ?

nitin1 15 Master Poster

What is microsoft new enlighment ?

@gavinflud why only javascript you are emphasising ? if i wana do project , then which one ? thanks

nitin1 15 Master Poster

actually, i am not asking for fun or something. I want to learn something new in these vacations. I know C, Java and moderate knowledge of php. Can you tell me something which i can learn in the vacations ? I have 1 month as vacations and ample time to do anything. thanks.

nitin1 15 Master Poster

chill! i dont want these type of helps. I want help so as to start that how can i made an app myself. i want to make a app myself, dnt want a ready made apps ? thanks

nitin1 15 Master Poster

actually, i have given a task of a fb development. woek is that when ever any one allow the app, then that app will scan the posts and likes of that person. and that app will have database which will check that words (in posts and likes) with its database and according to that it will suggest the user with its products which that app company has. Can you tell me what is first step which i should do in this ? I have no idea in this. please try to write something, because every word will be helpful to me. thanks