|
VivekuniQ wrote: hey Mr.alok when i say "Mr". its not sheer respect. its FUN+RESPECT. you get me Mr.Alok?
OK you win ! and stop praising me.. good friends help you to correct your shortcoming not good thing ..
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
but i tell u VC++ is the real programming language. it talks straight to the machine. and not any Virtual Machine .i always wanted to call myself VC++ programmer rather than dot net programmer. hey still there are lots of scope for VC++ in India. have you heard about HUGES Software? they are hiring a lot. once you become strong in VC++. you'll be able to work on any domain. i'm finding it easy to manage my new CTI challenge. and also have in mind that once you conquer VC++, other languages are nothing for you. you can learn too fast. trust me.
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
So buddy you mean right now i should focus myself on vc++.(I am a 2005 passed out comp.engg. graduate working in vc++ 6.0).After i am strong enough, i should move to .net.How much time in vc++ will be okay.
thanks for guidance...
Regards,
Ankush Mehta,
erankushmehta@rediffmail.com
Ankush Mehta
|
|
|
|
|
ya you can do that. but it'll be good if you atleast study concepts about .net side by side.(if not to the implementaion level), try few samples at home, and keep you updated. during office time, you make full of the time for VC++. even i'm not satisfied with my learning curve, i need to work hard a lot. certainly VC++ will give you a strong foundation for your programming career.
Ankush Mehta wrote: How much time in vc++ will be okay.
It depends on your capabilites and commitment, for people like alok, i guess 6 months would be enough to get grip of VC++.
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
if u want to work in backend programming then C/C++ is the best choice.Irrespective of which patform u r working VC++ in case of Windows (gcc in Linux)
but in case of front end , no doubt u have lot of choices,but remember be abreast with new technology
-- modified at 4:42 Wednesday 28th December, 2005
|
|
|
|
|
Hi,
Can Administrator block specific URL`s in Internet Explorer, for specific user`s.Say for example can Administrator block "www.google.com" URL for specific user in the local intranet.If so how ?, Can we disable it , pls let me know.
|
|
|
|
|
Yes he can block URL if
he has a firewall installed .
Yes
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
You can specify IP deny rules in firewall.
Vipin - MVP
|
|
|
|
|
He can also add 127.0.0.1 www.google.com in your host file which esentially blocks it unless you know the ip address...
John
-- modified at 16:25 Tuesday 27th December, 2005
|
|
|
|
|
if u want to block any url using ip address then use firewall
(iptables in case of linux)
otherwise u can use proxy server .but remember the proxy server is an application so it will work for specific port
|
|
|
|
|
Well , i want to access the blocked URL, How can i do it?.
|
|
|
|
|
dear all,
I have a code in c++. I need to convert the whole project to c. Is it possibe to convert give me the tips for conversion. I will be pleased if there are any tools available for conversion.
regards,
krushna kumar.v
|
|
|
|
|
I dont know if any tool is available for such converson.
But if the code is in C++ and uses Classes with
virtual function its really difficult to convert such
code to C .
Yeh but it can be done (c++ code can be converted to c)
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
It can be done; I just would not like to do it.
How diffecult it will be depends on what features of C++ the code uses. You may find you self needing to write C versions of the STL templates.
The original C++ just used a preprocessor to convert the C++ code to C code and then called a C compiler. Modern day compilers do not require the conversion.
You can try to see if I am wrong and there is still a modern standards compliant enviroment that uses this method. You could also try to get a copy of the original, to see how it worked (the code should be out there). But of course the original would not be compliant with the current standard.
INTP
Every thing is relative...
|
|
|
|
|
Google for CFRONT. CFRONT was the original C++ compiler which compiled C++ to C as one of its steps.
|
|
|
|
|
How can i calculate power or exponent
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Take a look at the pow(...,...) function.
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
yeh i actully didnot want to use
pow ,
but now its ok
thank u
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
x^y :
for (int i = 0; i < y; i++) {
x *= x;
}
of course, this doesn't work for float powers... you'll have to find a better algorithm on the web maybe, or use assembly.
if you have the/a solution, please share it with us !
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
Yeh Assembly is the solution for my issue
thanks
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
|
Hmmm...
Waiting for it buddy.
Happy christmas friends. May the Love of My Lord and Saviour Jesus bring forth Joy and Happiness into your life too.
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" hspace="2" vspace="2">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
toxcct wrote: for (int i = 0; i < y; i++) { x *= x;}
sorry, this is incorrect code
consider where x = 2 and y = 5 (2^5)
then with above code you would be doing this
x *= 2 (x = 2 * 2)
x *= 4 (x = 4 * 4)
x *= 16 (x = 16 * 16)
x *= 256 (x = 256 * 256)
x *= 65536 (x = 65536 * 65536)
finally ending up with 4294967296 which is obviously not the correct answer
the correct code would be
int result = 1;
int y = 5;
int x = 2;
for (; y--; ) result *= x;
which would word for any arbitrary x > 0 and y >= 0
|
|
|
|
|
|
Hi,
I am working on VC++ project. Property Sheet has a number of property pages, so I want to highlight each property page TAB on its selection. Hightlight means it may paint each page TAB portion or should show same TAB text with different color.
Would you tell me the the way, How can I do it?
Thanks in advance,
Ramesh
|
|
|
|