Search:

Type: Posts; User: HAssan

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,196

    Need advice to solve a problem

    Hello
    I need some help. In my program the user must enter the number of customers then they must enter a customer number for each customer and how current the customer is using.

    Something like...
  2. Replies
    7
    Views
    1,424

    Thanks guys I think I know what I have to do now....

    Thanks guys I think I know what I have to do now. Also any idea where I can find a similar example to what "Salem" was talking about so I can learn it?
  3. Replies
    7
    Views
    1,424

    The basic problem that I am trying to solve is...

    The basic problem that I am trying to solve is that the user must enter the number of coustomers during run time. Each coustomer will have the same set of data (e.g Account Number, Bank...
  4. Replies
    7
    Views
    1,424

    creating structures

    Hello I was wondering if it was possible to to have user defined structures. What I exactly mean by that is if I aks the user to enter in a number and he/she enter's say 4. 4 structures containing...
  5. Replies
    5
    Views
    1,852

    How am I meant to do that I thought that it keeps...

    How am I meant to do that I thought that it keeps in the while loop until the difference is <= 0.01. So where am I exactly going wrong becasue I don't understand what you are saying.
  6. Replies
    5
    Views
    1,852

    Program not working

    Hello I wrote this program to find the square root of any number that the user enters using newtons method but it is not working. The initial guess is the number entered by the user divided by 10....
  7. Replies
    9
    Views
    14,990

    Free Visual C++ IDE

    Hello

    I want to learn visual C++ to make .exe programs for windows. What are some free visual C++ IDE that are avaliable that I can download off the internet?
  8. Replies
    5
    Views
    1,631

    still not working

    I changed it around a little bit. I made the functions return a float and made it void so it accepts noting from other functions. But it is still not working. I don't understand why.



    ...
  9. Replies
    5
    Views
    1,631

    Problems passing parameter to function

    Hello I wrote this simple program it accepts 2 user input parameters and returns another parameter that was calculated based on the user inputs. But I think my logic is wrong as it is not working.
    ...
  10. Thread: Please Help

    by HAssan
    Replies
    2
    Views
    984

    Please Help

    Hello I wrote this program to except user input parameters for a complex number in polar from then convert them to a + jb format. But I used the cos() function in the math.h libbary and it keeps...
  11. Replies
    1
    Views
    993

    Need help in getting the integer value

    Hello I wrote this small. It takes a number fron 1 - 1024 rescales it and gives out a number between 1 - 363. But P_Number is a float. Is it possible to calculate P_Number as a float but only accept...
  12. Replies
    2
    Views
    1,614

    Pointers Question

    Hello

    I bumped into this problem and I am unsure how to solve this. I have a function that accepts 3 arrays as its function parameter. Each array has 360 elements.


    float...
  13. Replies
    2
    Views
    2,280

    Help passing arguments to function

    Hello

    I'am writing a program and within the program there are several functions. My problem is that a function of mine called Sell() requires 5 arguments to be passed to it. But 2 of these...
  14. Replies
    2
    Views
    846

    Porblem with structures and pointers

    Hello

    I wrote a program where I used pointers to point to a structure within a function.



    typedef struct{
    float Fish;
    float Cotton;
    float Wood;
  15. Replies
    8
    Views
    4,059

    How to update xp and xv

    That's exactly what the problem is the xp and xv is not updating. for the program to work xv and xp must update. initially xv and xp is given but I want to update it throughout the program and I...
  16. Replies
    8
    Views
    4,059

    Not using array's anymore but still not working

    I thought about it and by using arrays it added extra complexity to the program that is not necessary so i took it out. But the program is not working. The program is meant to calculate xv,xp and "a"...
  17. Replies
    8
    Views
    4,059

    Need help with program

    Hello I wrote this program but it's not working properly.

    The value of xv1 and xp1 is given I want to use those values to work out the values of xp2...xp100 and xv2...xv100. The program is meant...
  18. Replies
    2
    Views
    843

    Need help wit a for loop

    x y z state
    0 0 0 0
    0 0 1 1
    0 1 0 2
    0 1 1 3
    1 0 0 5
    1 0 1 6
    1 1 0 7
    1 1 1 8
  19. Replies
    1
    Views
    977

    A questions about structures

    Hello I'am writing a program and I used structures to make some user defined variables. Then I passed those variables to another function where a value was assigned to them. Now I want the values of...
  20. Replies
    1
    Views
    1,651

    Problem with random number generation

    Hello

    I wrote this program to generate 256 random numbers. The numbers change each time the code is excuted. But I can't seem to limit the numbers from 1 to -1. Antother thing I can't seem to do...
  21. Replies
    7
    Views
    1,430

    Ramdom numbers in an array

    I want to randomly allocate the numbers 1-9 in an arrya of nine elements how do I go about doing it.
  22. Replies
    3
    Views
    1,678

    A question about arrays

    Hello

    My question is that is it possible for the user to decide which array element they want to input the data into.

    A printf statement can ask the user which element they want to put the data...
  23. Replies
    4
    Views
    1,149

    So am I right

    My operating system is windows XP and my compiler is going to be either Turbo C, DEV C++ or Pelles C

    So let me get this clear the following 4 steps should be it. As I already mentioned I never did...
  24. Replies
    4
    Views
    1,149

    Need help in reading data

    Hello

    Say in a buffer the data 12345678 are stored I want to be able to read 1234 every 1 second. How will I go about doing that as I never did this sort of thing before I have no idea of where...
  25. Replies
    4
    Views
    3,231

    Opearting syatem and compiler

    My operating system is windows XP and the compiler i'am using is turbo C. I would really appriciate any hepl anyone can give me because I have no idea how this is done. It would be nice if someone...
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4