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

Search:

Type: Posts; User: ritika_sharma82

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    413

    Re: How to add some interval?

    @loves oi,
    Thanks for your reply.
    I have a list of time stamps from 1.000000 second to 10.999999 second. The gap between two time stamp is random.
    Now I want to add 0.08 second in every 0.02...
  2. Replies
    2
    Views
    413

    How to add some interval?

    I have a list of time stamp. like 1.00001, 1.10004, 1.100345 .............. 10.99999
    I want to add 0.08 second in every 0.02 second interval.
    How to write code for this?
    Pls. help.
  3. Re: Beginners question about array in C++

    Thank you very much for the replies.
  4. Beginners question about array in C++

    I am learning array in C++. This code compiles but when I run the program, it gives some error. Is there anything wrong in this code?


    #include <iostream>
    using namespace std;

    int main()
    {...
  5. Problem with compiling C++ program in MS Visual C++ 6.0

    I am learning C++. I have MS Visual C++ 6.0 installed in my MS Windows XP desktop computer. When I try to compile, it says "Compiling......" but, never ends. Similarly, when I click to build after...
  6. Replies
    5
    Views
    5,829

    Re: Problem with const int.

    Hello JohnW,
    These are the local variables. Could you please give me an example? How to use heap?
    My array is exactly A[100000][3]. So, it comes (100000 * 3 * 8)/(1024*1024) = 2.28MB.
  7. Replies
    5
    Views
    5,829

    Re: Problem with const int.

    Hi GCDEF,
    How can I solve it.
    Any quick and easy solution will be appreciated.
    I am using MS Visual c++ 6.0
  8. Replies
    5
    Views
    5,829

    Problem with const int.

    Sorry to ask simple question, but, even after googling I couldn't solve my problem. Hope you guys can help me.


    const int i=100000;
    const int j=32;
    __int64 A[i][j];
    ...


    It compiles but...
  9. Re: Confused with linking header file in C++

    Hi alanjhd08,
    Thank you for your help.
    I did the same as you and hypheni said.
    I declared "const int someData = 6" in header1.h
    I declared "extern const int someData in main.cpp
    The error is...
  10. Re: Confused with linking header file in C++

    Hi hypheni,
    Thanks for your quick reply.
    Do I need to declare "external const int" instead of const int in header1.h?
    Do "external const int" and "const int" same for header1.h?
  11. Confused with linking header file in C++

    I have following four files:
    1. A hash - header1.h
    2. A main header file - header2.h
    3. A functions file - functions.cpp and
    4. A main file - main.cpp.

    header1.h and header2.h are included...
  12. Replies
    8
    Views
    907

    Re: Simple question.

    Hi Lindley and jnmacd,
    My apology for the mistake in my post (and reply as well). Thank you for the reply.
    I tried to get the result like this:
    (w, i)
    0, 0
    1, 0
    2, 0
    ..
    ..
    16,0...
  13. Replies
    8
    Views
    907

    Re: Simple question.

    Hi Lindley,
    Thank you for reply. I used pointer to reset the value to zero.
    I want to print like :

    0, 0
    1, 0
    2, 0
    ..
    ..
    16,0
  14. Replies
    8
    Views
    907

    Re: Simple question.

    I used the pointer to reset the w's value to zero.
  15. Replies
    8
    Views
    907

    Simple question.

    Hi all, I am VERY NEW in C++ and programming. I just wanna print w and i, such that when w is equal to 16, i increases by 1 and w restarts from 0 until w reaches 1024. But the result doesn't come as...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured