Anyone know why this code wouldn't print out what's in the .txt file? :confused:
#include <stdio.h>
#include <stdlib.h>
int main( void )
{
FILE *fp;
Type: Posts; User: jamez
Anyone know why this code wouldn't print out what's in the .txt file? :confused:
#include <stdio.h>
#include <stdlib.h>
int main( void )
{
FILE *fp;
hell. it's hit or miss. nobody ever gives you a manual and points you in the right direction. you just have to remember you were a kids once, what disappointed you and learn from your mistakes. ...
yeah. i'm not saying, by any means, that video games are bad. i've enjoyed first person shooters and the family even gets together to chase each other around and cap each other off a few times. ...
The issue with video games and children that should be considered are this:
1. Monitor what they play and explain to them reality and fiction. if you shoot someone in real life, they dont come...
dwks:
I'm looking over the FAQ right now. Thanks for the heads up on that and I wasn't aware I put c++ in there. I'll have to take that out to keep from confusing myself. I saw up all night...
Sorry. I was either blind or not understanding. I've got that fixed, but now I'm getting an error in my struct that visual studio points out at:
int numcredits;
I've tried the void as:
void printStudent(studentInfo *);
and:
void printStudent(studentInfo * stud);
I've been fighting with this one for a little bit and I cant figure it out. The void printStudent(studentInfo); i've tried at printStudent(studentInfo *); and i've tried printStudent(studentInfo *...
Thanks for the help. I guess my vision was pretty screwy after looking at that code for so long, I knew it was something dumb like that that i was missing. Thanks a million.
Can someone tell me what i'm missing. i think i've been looking at this code too long, and i've had too many variations of it to see it myself. any help is greatly appreciated. :confused:
...