Thank you.
Type: Posts; User: Stream
Thank you.
Here is my program.
When I compile I get error misplaced break
#include<conio.h>
#include<iostream.h>
void main()
{
why not ? Its the Math rule ..from left to right ....divide first and multiplication second.
see this
15388
Source: Ordering Mathematical Operations, BODMAS | SkillsYouNeed
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...
I fail to understand why this program prints -8
#include <stdio.h>
int main(void) {
int x=2;
Does this mean to put person array outside main() ?
yes .. it prints 2 when I input 2.
Yes
Okay.
this is my program.
#include<stdio.h>
#include<conio.h>
struct abc
{
char name[20];
int day;
book does not say these are ASCII ... it just says "conversion"
What do you think? these are ASCII ?
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 ?
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 { /* ......
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...
what is memory utilization of windows XP system ? is it PF usage ? or is it physical memory usage ?
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.
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 }
...
ok.
i did
C:\>g++ prog.cpp
C:\>
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...
Thanks for the information.
anybody here compile and run in command line . please give me a sample
yes, i want to compile and run in command line. i dont want to use IDE.
my compiler is DEV-CPP
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 ?
how to run C++ code in command line ?
compiler : DEV-CPP