Forum: C++ Dec 10th, 2004 |
| Replies: 8 Views: 2,990 http://www.infosys.utas.edu.au/info/documentation/C/CStdLib.html |
Forum: C++ Dec 9th, 2004 |
| Replies: 4 Views: 3,207 no wonder. i'm using gcc. |
Forum: C++ Dec 9th, 2004 |
| Replies: 2 Views: 1,734 this is a pretty standard first program:
#include <iostream.h>
int main() {
cout << "Hello, World!" << endl;
return 0;
} |
Forum: C++ Dec 8th, 2004 |
| Replies: 4 Views: 3,207 what is the answer? i get these errors when compiling the program:
gcc -o dates dates.cpp
dates.cpp: In function `int DayCalculation(int, int, int, int, int, int)':
dates.cpp:67: warning:... |
Forum: C++ Dec 7th, 2004 |
| Replies: 4 Views: 2,466 i'm also a bit confused. for example, all of the following code works just fine:
#include <stdio.h>
main()
{
char c[100];
scanf("%s", &c);
printf("test %s", &c);
}
#include <stdio.h> |
Forum: C++ Dec 7th, 2004 |
| Replies: 2 Views: 1,700 can C programs use iostream? i've done it in C++, and read that it can be done in C, but i keep getting compilation errors.
#include <iostream>
using namespace std;
main()
{
cout << "test";... |