I didn't see the c[i] mistake I did. Thanks for pointing out the main() thing, but I can't remember my teacher telling us that we have to write int main(void) and it should return 0. The way I first...
Type: Posts; User: Fink
I didn't see the c[i] mistake I did. Thanks for pointing out the main() thing, but I can't remember my teacher telling us that we have to write int main(void) and it should return 0. The way I first...
Hi. I'm having problems with an C exercise. So the exercise says: "Make a function with one variable (int k) which returns an array of the size of k where every box (sorry for my bad english) of the...
Hmmm....I never heard my professor tell us anything about this stuff, it can't be that difficult. Right now I'm using stdlib,stdio and screentUtils libraries.
So I'm doing some tests here, but I'm stuck. How will the computer know if one of the arrow keys is pressed?
I'm thinking something like that:
if(string=="user presses right arrow")
{
x++;
...
I have to give it in two weeks which I think is a lot of time to make this work. How should I ask the user to put a character? Should I do it with scanf? I'm sorry but I'm not the brightest c...
WinXP on an iMac...
So I found out what the screenUtils library does. Unfortunately it doesn't do anything with the CTRL+O commands. It has 3 functions:
void gotoxy(int x, int y); To move the cursor to a specific place...
I have to do a simple text editor using the c language. But I don't know how to get started. The program should begin with a blank screen, waiting for the user to write something.The last line will...