|
From: Maya <Esc...@ne...> - 2003-12-10 17:41:09
|
If you are learning C, just use the examples you find in the book
C example:
#include <stdio.h> /*C header file for I/O*/
int main(void) /*Always return a value in main, it's a good programming
technique*/
{
printf("Hey what's up world");
return 0;
}
C++ example:
#include <iostream> //C++ header file for I/O
int main(){
std::cout << "Hey what's up world" << std::endl;
return 0;
}
Again!! if you are using C and not C++ just use the examples in the
book. If for some reason the examples in the book don't work post it at
alt.comp.lang.learn.c-c++, they are in a better position to answer
questions about C/C++ programming.
Don't mean to be rude, but this mailing list is mostly for Dev-Cpp problems.
Have good one, and if you are having more than one... give a call :-)
p.t...@ti... wrote:
> the file i have in my systeme is just the file going with devpack.
> i have not another file,just the dev c++ file package.
> I'm beginning,i learning actualy the "C ANSI language" and i say not
> what is the good compiler for.
> gcc.exe or mingw32.exe?
--
Jorge Escalante
FYI
http://www.astro.umd.edu/~marshall/abbrev.html
E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
* "Innocent until proven guilty", no... not in Canada!!
|