.... Oh man... *FACEPALM* I think it's time for bed. lol. Thanks for the help.
Type: Posts; User: Ghiofish
.... Oh man... *FACEPALM* I think it's time for bed. lol. Thanks for the help.
When trying to compile this:
#include <iostream>
using namespace std;
void DoubleIt(int *pointer);
Hmm... I was afraid of that. I guess I'll have to learn how to input from a file before testing that one.
I really hate to keep bothering you guys, but what about this one?
#include...
Another noob question!
#include <stdio.h>
int main () {
int c = 0;
I think I'll just use this method from now on:
int a, b, c;
a = 0;
b = 0;
c = 0;
Oh, I see. I could have sworn you could initialize variables like that. Ha, it's been a long time I suppose.
Thanks! I'm sure I'll be back with more dumb questions soon enough.
Hi All!
I'm working though H&K, specifically, I'm looking at exercise 1-8 (Write a program that counts blanks, tabs, and lines.) My code seems to count spaces and lines correctly, but for some...