@Hyperion101:
Are you placing the semicolons correctly? Please take special notice of the for loop.
@Hyperion101:
Are you placing the semicolons correctly? Please take special notice of the for loop.
Refer to the comments I have added to your original code.
#include <stdio.h>
#include <simpio.h> /* Remove this */
#include <genlib.h> /* Remove this */
main() /* Should be int main(void) */
{
float c, f; /* Should be int f; float c; */
for (f=0,f<200,f++20); /* Should be for (f = 0; f < 200; f += 20) */
{
C = (5/9)*(F-32); /* Should be c = (5.0 / 9.0) * ((float)f - 32.0); */
printf("%f %f",f,c); /* Should be printf("%d %.1f", f, c); */
}
getchar();
}
I think you need to declare the Game class in Entity.h like so:
class Game {};
Declaring the Game class with an empty member list should make it a complete declaration. Without the empty member list, the class would have an incomplete declaration, which would not allow any objects of it to be declared.
You need to use your imagination.
I agree with Squidge, you really should use your imagination -- it's a lot more fun then!
Whenever I'm trying out a new bit of technology, I always make an application called "Ye Olde Pirate Shoppe", be it a desktop app or a web app. As a web app, "Ye Olde Pirate Shoppe" is an online shopping store for pirates, offering such unique items as skulls, parrots, rum, and cutlasses.
these cars computers bikes n all are boys stuff
I presume you are looking for some "feminine"-themed ideas?
@rithish: Have you checked the URL that you have posted? It hardly seems to have any relevance to the poster's question.
@chandnigandhi: Since you are talking about a mini project, I would suggest you start out by thinking about some problem relevant to your daily life, and then developing a solution to that problem -- it makes it a lot more enjoyable!
For example, perhaps you are a generous person and lend a lot of money to your friends, and you need a little application to keep track of how much you have lent to each of your friends.