Now it makes sense.. I had no idea about '8' - '0' == 8
Thank you very very much.
Type: Posts; User: jongmin
Now it makes sense.. I had no idea about '8' - '0' == 8
Thank you very very much.
Can someone please help me understand the code in bold below?
I can't understand what it's doing...
#include <ctype.h>
#include <stdio.h>
int getch(void);
void ungetch(int);
Thank you very much for your quick response!
Hello all. I am trying to figure out how ? affects the code.
Can someone please help?
Thank you in advance.
#include <stdio.h>
#define BUFSIZE 100
Oh!!! Thanks!!!! :)
Of course I've tried
system ("command"); :confused:
and it didn't work. Since I am really new to C++, please forgive my igrnorance.
Thank you very much everyone!!
Thanks for your help. I got much further than before but it seems it would only ECHO and not running the command line.
Any idea?
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
char comp_name [20];
system("cls");
cout << "Please enter computer name: " ;
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
char comp_name [20];
system("cls");
cout << "Please enter computer name: " ;