Search:

Type: Posts; User: Stream

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    10,387

    Thank you.

    Thank you.
  2. Replies
    3
    Views
    10,387

    Error : Misplaced Break

    Here is my program.

    When I compile I get error misplaced break



    #include<conio.h>
    #include<iostream.h>
    void main()
    {
  3. Replies
    9
    Views
    5,517

    why not ? Its the Math rule ..from left to right...

    why not ? Its the Math rule ..from left to right ....divide first and multiplication second.
    see this
    15388

    Source: Ordering Mathematical Operations, BODMAS | SkillsYouNeed
  4. Replies
    9
    Views
    5,517

    what is the right order? does it not follow...

    what is the right order?

    does it not follow Math rules? in Math rules you Divide first and then multiply.

    So as per Math rule it should be
    (-2 * 7 / 3)
    => -2*(7/3) //divide first

    But...
  5. Replies
    9
    Views
    5,517

    C program :Calculation

    I fail to understand why this program prints -8



    #include <stdio.h>

    int main(void) {


    int x=2;
  6. Replies
    6
    Views
    5,846

    Does this mean to put person array outside main()...

    Does this mean to put person array outside main() ?
  7. Replies
    6
    Views
    5,846

    yes .. it prints 2 when I input 2. Yes ...

    yes .. it prints 2 when I input 2.



    Yes



    Okay.
  8. Replies
    6
    Views
    5,846

    C program crashed

    this is my program.



    #include<stdio.h>
    #include<conio.h>
    struct abc
    {
    char name[20];
    int day;
  9. Replies
    4
    Views
    5,763

    book does not say these are ASCII ... it just...

    book does not say these are ASCII ... it just says "conversion"

    What do you think? these are ASCII ?
  10. Replies
    4
    Views
    5,763

    Is it ASCII value ?

    Please see this

    IMG_20170802_184645.jpg - Google Drive

    in book It is shown value of H is 74 ....what is this value ?

    as per ASCII table value of H is 72

    book is wrong ?
  11. Replies
    1
    Views
    850

    confusion on multiple inheritance

    I have a confusion on multiple inheritance. Suppose, I have classes A,B,C each having the same method . Now, how does X will know which method to call ?

    class A { /* ... */ };
    class B { /* ......
  12. Replies
    5
    Views
    1,391

    hi, just an addition, may be some ppl might...

    hi, just an addition,

    may be some ppl might think i am talking about C++ programming......i was not talking about programming at all. i provided the data from the task manager so that you ppl can...
  13. Replies
    1
    Views
    1,162

    memory utilization

    what is memory utilization of windows XP system ? is it PF usage ? or is it physical memory usage ?
  14. Replies
    5
    Views
    1,391

    nobody knows ! does not task manger shows the...

    nobody knows ! does not task manger shows the memory utilaztion ? i just asked which one will be called the memory utilization . i provided the data from my task manager of windows XP.
  15. Replies
    5
    Views
    1,391

    memory utilization

    i need the memory utilization. but in the task manager i saw
    ..task manager>perfromance>PF usage =234 MB .

    and in physical memory {Total=1046320 Available=735856 System cache=2781200 }

    ...
  16. Thread: command line

    by Stream
    Replies
    10
    Views
    1,784

    ok. i did C:\>g++ prog.cpp C:\>

    ok.
    i did



    C:\>g++ prog.cpp

    C:\>
  17. Thread: command line

    by Stream
    Replies
    10
    Views
    1,784

    hi, i have added C:\Dev-Cpp\bin in my PATH ...

    hi, i have added C:\Dev-Cpp\bin in my PATH variable.

    after that how do i compile and run my cpp code ? my code is here c:\myfolder\Prog.cpp

    please tell me the syntax of compile and run...
  18. Thread: command line

    by Stream
    Replies
    10
    Views
    1,784

    Thanks for the information. anybody here...

    Thanks for the information.

    anybody here compile and run in command line . please give me a sample
  19. Thread: command line

    by Stream
    Replies
    10
    Views
    1,784

    yes, i want to compile and run in command line. i...

    yes, i want to compile and run in command line. i dont want to use IDE.

    my compiler is DEV-CPP
  20. Thread: what format

    by Stream
    Replies
    1
    Views
    1,133

    what format

    i print data in console with format

    printf("\b\b\b\b%3d%%",data);






    if i want to write data into file what format i would use ?
  21. Thread: command line

    by Stream
    Replies
    10
    Views
    1,784

    command line

    how to run C++ code in command line ?

    compiler : DEV-CPP
Results 1 to 21 of 21