I believe
int i;is a decleration, while
i=10;is an assignment.
Type: Posts; User: InvertedSaint
I believe
int i;is a decleration, while
i=10;is an assignment.
Many thanks.
For some reason, I can't remember how to printf a %. If I use something like
printf("20\%");
I just get nonsense. I'm just picking c back up, so some things are forgotten :S
Any help...
Thanks buddy. And don't worry, there are no mismatched ones, and no nested ones either. You really are a live-saver :)
Hello all. This is my second thread where I've failed to work out string manipulation, and it's fairly similar to my first one. Basically, I've got a string, and I'm looking to remove anything that's...
It works perfectly :D Thank you for your help :)
I'll go read up on what fflush is doing, now :)
Hello all. I've encountered a problem with some code I'm using and I was looking for some help. The code is:
temp = 0;
while (temp < 1 || temp > 7) {
system("CLS");
printf("Race...
Yeah, I got that. That's why I had the '+ 1' in there. Of course, I was an idiot and did it the wrong way :S
And yeah, you're right about the other side being setup differently. I probably...
Ahh! Thank you! An extremely efficient way to populate the board (I forgot about modulus :S ) and the final problem with my code.
So, row one would detect because you would type '1', which the...
for (j = 1; j <= 7; j += 2) {
board[1][j] = 1;
}
That is in there, which I think would populate row two. I do not think it is a problem with the population, however, as when I...
Hey y'all. I've decided to try and code a drafts game. However, I'm getting some rather odd output. Now, I know I could be doing this more efficiently, but right now I'm just interested in working...
Sorry to sound like an idiot, but that site's very hard to understand. I can see it as being useful for checking up on things you've already learnt, but I can't make head or tail of what it's talking...
If I can't access a specific page using telnet, can I access it using sockets?
Perhaps if I asked how this could be done for a Microsoft Word Document it would give me a clearer answer.
http://beej.us/guide/bgnet/output/htmlsingle/bgnet.html
This looks promising. Thanks :)
Hey guys. I'm trying to write a program for an online game I play (Turn based). Anyway, the point is that I need a program that can visit the specific pages of the game and read the source code of...
Wow. That's a lot of stuff to absorb. I'll try and understand as much as I can. :)
Thank you. I will make these adjustments and see if I can get the code to work fully now :)
EDIT: Yep, it works. Thanks for that. I'm gonna change it a little so that if the "You are" doesn't...
Basically, what I'm trying to do is take a line of text from the user as input, then spew it back, but with "I am" replaced with "You are". There are a few printf's in here that are just there to...