Cool, thanks. I didn't know that there was a difference between declaring structs in C and ++...
I tried it the way you did, and in the one line:
positionfunct->location[a][b] = '@'; //! a...
Type: Posts; User: Adian
Cool, thanks. I didn't know that there was a difference between declaring structs in C and ++...
I tried it the way you did, and in the one line:
positionfunct->location[a][b] = '@'; //! a...
Heh.
I came to school and got my program to work, thankfully. (novacain, thanks for pointing out that == thing...I must be retarted or something :p Oh, and yeah, its an assignment, though far...
and thanks for reading and replying to my mesage. :p
I've never had any kinds of problems like this before. My programs have always run right(once I work out all the coding bugs, that is. :p )...maybe I should just take it to school tomorrow and try...
Ok. I've got this Tic Tac Toe program to write for class, and so far this is what I have:
/*Include Statements*/
#include <stdio.h>
#include <string.h>
/*Data Structures*/
struct GAME
{...
Thanks for all the help, it got rid of the error. =P My teacher is big on forgetting to tell us what placeholder goes with what variable type (a friend of mine was using %d for float for about a...
I just started a program today, and only got the first function finished when I ran into problems. Just my luck. Anyway, I'm not exactly sure what the problem is, because I have just recently...
Ahhh, I really didn't think so either, but I figured there was no harm in asking. = )
Thanks for the input,
- Pat
Hello,
I just had a (hopefully) simple question. I'm taking a C programming class right now(we're not allowed to use any C++ commands...not even the // comment) and was just curious to see if...
Thanks a lot, that's exactly what I was looking for. :p
I'm trying to write a program that displays output in columns, but I can't figure out how to set the width or anything like that with the cout command. I think there is a command like setwidth() or...