I'm used of writing like this:
int server() {}
But here it shows a diffrent way:
Server::Server() {}
i'm trying too understand it, but could someone explain?
Type: Posts; User: Ashii
I'm used of writing like this:
int server() {}
But here it shows a diffrent way:
Server::Server() {}
i'm trying too understand it, but could someone explain?
what im wondering about is can I read files, without worrying about destroying data?
Below is a snippet out of tutorial 10 file io, it says I have too be careful of destroying data, does this...
Whoops!!!
Complain:
My Code:
#include <iostream>
using namespace std;
struct weapons_guns {
int sniper,assaultrifle,shotgun; // arsenal
Oh wow, it was that simple
Thanks! got it fixed by just changing my int too voids.
Here i'm trying to finish the 05 lessons by writing up the functions for the voids in their code. But it complains on me, this is what I got so far:
#include <iostream>
using namespace std;...
Thanks, I got alittle bit wiser :)
#include <iostream>
using namespace std;
int mult ( int x, int y );
int main()
{
int x;
int y;