Mar 14, 2013 at 2:40am UTC
cin.get();
Last edited on Mar 15, 2013 at 5:00am UTC
Mar 14, 2013 at 3:05am UTC
oh sorry i was misunderstanding you. so when ever you have cout just write printf("message %variabletype", corresponding variable)
and same with scanf
Mar 14, 2013 at 3:07am UTC
Sr. DTS. Can't Understand. Can you help me?
Mar 14, 2013 at 3:10am UTC
ok so lets say i have a variable int x = 10; then say i
cout<<"The value of x is "<< x << endl;
how i would write that with printf("The value of x is %d", x);
with scanf it would be scanf("%d", &x);
Mar 14, 2013 at 3:38am UTC
Variable names?
Last edited on Mar 15, 2013 at 5:00am UTC
Mar 14, 2013 at 3:40am UTC
oh ummm. i only use cin.get to pause. so sorry i dont kn.... wait you could try getchar() in a for loop
Mar 14, 2013 at 3:48am UTC
cin.get???
Last edited on Mar 15, 2013 at 4:59am UTC
Mar 14, 2013 at 3:49am UTC
look up a page on printf. idk what the conversion rate between setw and %int is