CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: vkash

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: char* p="array"; it is valid but int *po=&20; is illegal. but why, how etc?

    first of all i think there is little language gap, i doesn't understand all of your words(i am not good in english),mainly in last two lines of blue part :P
    secondly is it just a C++ hard written...
  2. Re: char* p="array"; it is valid but int *po=&20; is illegal. but why, how etc?

    sorry but...
    doesn't get the point :(
  3. char* p="array"; it is valid but int *po=&20; is illegal. but why, how etc?

    tell me if i m wrong somewhere!!

    int *pint=&10;
    here pointer is pointing to an integer which is not even declared so it is not written in memory, that's why when we does such declaration it comes...
  4. Replies
    3
    Views
    919

    Re: why cin.get work here??

    so you mean if we get very next input by >>(after cin.getline) operator then no such probem will appear..
  5. Replies
    3
    Views
    919

    why cin.get work here??

    look at this..


    #include <iostream>
    int main()
    {
    using namespace std;
    cout << "What year was your house built?\n";
    int year;
    cin >> year;
  6. Re: does adding 1 in my code doesn't make any change??

    thanks laser light for your cout.precision....


    errrrrr....
    sorry it's not VC++.. recently my windows xp corrupted so i am on linux(no VC++ here) so it's codeblocks..
    after all thanks for your...
  7. does adding 1 in my code doesn't make any change??

    #include<iostream>
    using namespace std;
    int main()
    {
    using namespace std;
    float a=2e+6;
    cout<<a<<endl;
    float b=a+1;
    cout<<b<<endl;
    cout<<b-a<<endl;
  8. Replies
    1
    Views
    1,697

    Re: Offline registration of visual studio 2008?

    No answer OK i will wait for one n half month till it expire.
    Now help me to install msdn. At the time of installation it says an error that is here or here

    I will thankful to you if you give me...
  9. Replies
    1
    Views
    1,697

    How to register visual studio 2008 professional without internet(offline)?

    Still now i have no internet connection on my home PC. I want to insert product key in visual studio 2008 professional. How to do it without internet.
    In help there is an option of register but as...
  10. Replies
    12
    Views
    4,536

    Re: why is it not working as i expecting.

    It is supposed to remove saces from eqn.

    NOTE (1+222-*dfsdf85 \0) there are SIX spaces between 5 and \ . It will seem you single but these are six spaces mind it before you read this post.
    ...
  11. Replies
    12
    Views
    4,536

    Re: why is it not working as i expecting.

    I have changed these things in newer copy constructor do you not see that one the copy constructor about which you are talking is old one.

    I also try to fix this thing.


    How i try to remove...
  12. Replies
    12
    Views
    4,536

    Re: why is it not working as i expecting.

    I do this to know that what's happening in the code. You are also correct(as you may a developer) since user only needs output so why to tell him/her what's happening . when i complete this program...
  13. Replies
    12
    Views
    4,536

    Re: why is it not working as i expecting.

    Due to commented code I think you forget to see somethings


    clc::clc(const clc & copier)
    {
    cout<<"copy constructor/////////////////\n"<<endl;
    int string_length(0);...
  14. Replies
    12
    Views
    4,536

    Re: why is it not working as i expecting.

    I have changed this part to run perfectly. after all i have that question(which i ask last post) still remain.
    when i code i always write a lot thing in// and /* */ so there will a lot stuff lines ...
  15. Replies
    12
    Views
    4,536

    why is it not working as i expecting.

    see a class that has a string here is a function for that class that remove space.


    void clc::remove_spcae()
    {
    cout<<"string inputted by user is "<<eqn<<endl;
    int i(0);
    do
    {...
  16. Replies
    12
    Views
    1,663

    Re: re-initializing an array

    OK.

    I am not confused. It is the way of my writing that giving you impression that i am confused. My bad knowledge of English is also responsible for this.
  17. Replies
    12
    Views
    1,663

    Re: re-initializing an array

    I have no intention of abusing(profanity) here.
    I don't abuse in real life as well as in any public internet place like this this. I write this word here because i think it's meaning is different....
  18. Replies
    12
    Views
    1,663

    Re: re-initializing an array

    GCDEF when i start my C++ i have learnt these things carefully and i know these things still now also.I ask his question to heights because i want to tell him are you perfect in this thing.
    My...
  19. Replies
    25
    Views
    7,102

    Re: what is difference in compiling and debugging.

    first of all sorry for wrong method of asking question.

    i think now i understood little meaning of VictorN's answer that is

    he want to say that you dress before walking (get ready) similarly...
  20. Replies
    12
    Views
    1,663

    Re: re-initializing an array

    It has many 3 errors


    Compiling...
    main.cpp
    ..............cpp(22) : error C2059: syntax error : '{'
    ..............cpp(22) : error C2143: syntax error : missing ';' before '{'...
  21. Replies
    25
    Views
    7,102

    Re: what is difference in compiling and debugging.

    that is what i was trying to know. some days ago i use breakpoint in my VC++ this give information about working of code but only when i debug it not in case when i press Ctr+F5(as i usually do)....
  22. Replies
    25
    Views
    7,102

    Re: what is difference in compiling and debugging.

    then answer it.
    I am waiting for a good reply.
  23. Replies
    25
    Views
    7,102

    Re: what is difference in compiling and debugging.

    what do you mean? please answer in c++ way not in metaphorical way.


    does logical errors remain in code if that is compiled not debugged. :Lightbulb:

    consider this condition
    I make two...
  24. Replies
    25
    Views
    7,102

    what is difference in compiling and debugging.

    How compiling is different from debugging.
  25. Replies
    36
    Views
    9,023

    Re: need little help of bug fixers.-> what about this.

    I understood it
    at the end of operator+ a variable X of type is returned that is destroyed latter but returning by reference work in case of operator= because here a reference to object which is...
Results 1 to 25 of 111
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured