I mean I run the programs in command prompt in Windows 7.
My book is really old..... or the author was a grandpa I do not know.
I'm learning stuff about Windows 3.1, Windows 95, MS-DOS, Unix,...
Type: Posts; User: MariosX
I mean I run the programs in command prompt in Windows 7.
My book is really old..... or the author was a grandpa I do not know.
I'm learning stuff about Windows 3.1, Windows 95, MS-DOS, Unix,...
A ok, the code was ok then but I still got "Process terminated with status 22" changed 3rd line to
int main(int argc, char **argv)
and added a "return 0"
All I had to do was to press Ctrl + Z...
Please can you be so kind and make the corrections in the code?
I'm trying to write a program that counts the blank spaces, letters and numbers in a user-input line.
For example:
A fox has 4 legs
Total blank spaces: 4
Total numbers: 1
Total Letters: 11
...
In the last line of the program I added "return 0;"
I get no warning nor errors I get this "Process terminated with status 0 (0 minutes, 3 seconds)"
I read that if the process is terminated with...
Yeah I had to change the second line to: int main (int argc, char *argv[] )
Alright I changed "%g" to "%lg" and the converter works but I get "Process terminated with status 21 (0 minutes, 6 seconds)"
What do I need to change?
#include <stdio.h>
void main(int argc,...
Hello!
I'm studying C for some exams I have
In my book I'm writing exactly the code it provides and I believe it's wrong somehow
#include <stdio.h>
void main(int argc, char **argv)
{
...