my gameMusic and explosion wont work
the menuMusic and pauseMusic works, except for game and explosion music -
//HEADER LIBRARIES...
Type: Posts; User: LAMER_CODER
my gameMusic and explosion wont work
the menuMusic and pauseMusic works, except for game and explosion music -
//HEADER LIBRARIES...
so guys here's my code
// HEADER FILES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include<stdlib.h>
#include<stdio.h>
#include<allegro.h>
#include<time.h>
Dev C++ on Windows 7
i just have one quick question, i want it so that the Inventory Size is a variable, that can be used in all the functions and int main()
??????????????????
but how do i do this and please be...
ohh god it works now -
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
all i wanted was that all the contents of the inventory be printed out, we can ignore inputProduct for now
please help, cause i dont know what i am doing !!!!
yes i saw that and fixed it but it still doesn't work
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct products{
the rest of the problems are associated with the function and the line of code in it -
imgur: the simple image sharer
here is the first one -
imgur: the simple image sharer
the first 3 lines deal with the line in red
yeah i am it still won't work
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct products{
okay, so my problem is incurable, I have no idea why this shouldn't work in practise I am using Dev C++ complier on a Windows 7
any ideas and suggestions as to why will be greatly accepted -
...
ohh, i get it cause i have to make sure that the structure gets passed onto int main()
ohh but then shouldn't this work
//function declaration
void outputInventory(struct product...
okay, so i removed the products and replaced it with the int but now it says that in function void outputProduct -
inventory[i].name
the name is undeclared
inventory[i].product_number ...
yeah i tried that but it still says that expected primary-expression before inventory in this line -
outputInventory(products inventory, inventory_size);
Hey, I am using Dev C++ complier on Windows 7
the complier gives me an error that says that expected primary expression before inventory in the the main function
any suggestions ????
...
oh, that semi-colon
and functions, gonna take some time for me to fully grasp that concept
thanks guys !!!!
Hey so i am using Dev C++ compiler on Windows 7 and was programming a piece of code that is supposed to do the following -
Create a structure to store information about products for sale in a...
thank you, this makes more sense than my code;)
k so this is what i have so far.......
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
k so i have this so far -
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
lets say that the output is $123457779 and i want it to display $123,457,779...
so i have the following code -
printf("Enter number here: ");
scanf("%f", num);
fflush(stdin);
HEY, i did code it but it didnt work, here's what i have grumpy(are u grumpy all the time)
printf("\t\t\t\t\t\tOur cities include -...
this is in accurate
it should look like the city inputs on one side, and the city list goes on the other side
but they are both side by side
hey, so i am using windows computer and my complier is C++
i need so that the ouput screen looks like this:
Our cities include -
City 1:_____ ...
i just need a short, sweet version instead of the longish if statements