Search:

Type: Posts; User: LAMER_CODER

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    961

    Problems with allegro

    my gameMusic and explosion wont work

    the menuMusic and pauseMusic works, except for game and explosion music -



    //HEADER LIBRARIES...
  2. Problem with my collision detector in allegro

    so guys here's my code


    // HEADER FILES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    #include<stdlib.h>
    #include<stdio.h>
    #include<allegro.h>
    #include<time.h>
  3. Dev C++ on Windows 7

    Dev C++ on Windows 7
  4. i just have one quick question, i want it so that...

    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...
  5. ohh god it works now - #include ...

    ohh god it works now -


    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <math.h>
  6. all i wanted was that all the contents of the...

    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 !!!!
  7. yes i saw that and fixed it but it still doesn't...

    yes i saw that and fixed it but it still doesn't work



    #include<stdio.h>
    #include<stdlib.h>
    #include<string.h>


    struct products{
  8. Replies
    4
    Views
    794

    the rest of the problems are associated with the...

    the rest of the problems are associated with the function and the line of code in it -

    imgur: the simple image sharer
  9. Replies
    4
    Views
    794

    here is the first one - imgur: the simple...

    here is the first one -

    imgur: the simple image sharer

    the first 3 lines deal with the line in red
  10. yeah i am it still won't work ...

    yeah i am it still won't work



    #include<stdio.h>
    #include<stdlib.h>
    #include<string.h>


    struct products{
  11. Replies
    4
    Views
    794

    Passing structures problems

    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 -


    ...
  12. ohh, i get it cause i have to make sure that the...

    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...
  13. okay, so i removed the products and replaced it...

    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 ...
  14. yeah i tried that but it still says that expected...

    yeah i tried that but it still says that expected primary-expression before inventory in this line -



    outputInventory(products inventory, inventory_size);
  15. Yet another problem with structures and functions in C

    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 ????


    ...
  16. Replies
    4
    Views
    996

    oh, that semi-colon and functions, gonna take...

    oh, that semi-colon
    and functions, gonna take some time for me to fully grasp that concept
    thanks guys !!!!
  17. Replies
    4
    Views
    996

    Structures and arrays problem

    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...
  18. Replies
    7
    Views
    10,984

    thank you, this makes more sense than my code;)

    thank you, this makes more sense than my code;)
  19. Replies
    7
    Views
    10,984

    k so this is what i have so far....... ...

    k so this is what i have so far.......




    #include<stdio.h>
    #include<string.h>
    #include<math.h>
    #include<stdlib.h>
  20. Replies
    7
    Views
    10,984

    k so i have this so far - ...

    k so i have this so far -



    #include<stdio.h>
    #include<string.h>
    #include<math.h>
    #include<stdlib.h>
  21. Replies
    7
    Views
    10,984

    How to insert commas in a large number

    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);
  22. Replies
    5
    Views
    817

    HEY, i did code it but it didnt work, here's what...

    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 -...
  23. Replies
    5
    Views
    817

    this is in accurate it should look like the city...

    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
  24. Replies
    5
    Views
    817

    Ouput formatting

    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:_____ ...
  25. Replies
    9
    Views
    3,171

    i just need a short, sweet version instead of the...

    i just need a short, sweet version instead of the longish if statements
Results 1 to 25 of 45
Page 1 of 2 1 2