Search:

Type: Posts; User: bigjoke

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,875

    Thanx salem But problem is that this programme...

    Thanx salem

    But problem is that this programme that i am working on is ideal for children aged 8-11 to draw new images from simple shapes like circle, square , rectangle etc. I cant expect them to...
  2. Implementing simple vector graphics capability

    Hi everyone,

    How :confused: do you think i could use one type of structure to define a range of shapes (like line, circle, rectangle, triangle).

    What :confused: things do they have in common...
  3. Replies
    6
    Views
    1,875

    vector graphic drawing package in c

    Hi all,

    I am required to submit "vector graphic drawing package in c" and i am not sure exactly what i will be doing because all drawing packages uses mouse to draw stuff but we are not...
  4. Replies
    3
    Views
    1,743

    thanks Salem, but the problem remains. you...

    thanks Salem,

    but the problem remains. you see, the user has 5 chances to throw an object and each time it lands somewhere on the ground and the score is given for that.

    scores are stored in...
  5. Replies
    3
    Views
    1,743

    Use of a sprintf ( ) function ?

    Hi, the following code is a part of my project. Actually its a game where user throws an object in parabolic path and it lands on the ground. The score is given depending on where the object lands....
  6. Replies
    9
    Views
    4,866

    Alrightttt... :confused: I am using MS visual...

    Alrightttt... :confused:

    I am using MS visual C++ compiler.

    What do i do to draw ,lets say, square.

    how would you draw it. Please bear with me as i do not know much about C language itself....
  7. Replies
    9
    Views
    4,866

    Thanks for reply, I don't exactly understand...

    Thanks for reply,

    I don't exactly understand your reply. Are you saying that i can't draw shapes like Circle, rectangle etc using c language alone?

    I know function like line() and circle() and...
  8. Replies
    9
    Views
    4,866

    Geometry-shapes functions' syntax ?

    I have been googling for most of the day to find the page which has all the shapes syntaxes listed but could not find many of them apart from line function and circle.

    I am a newbie and i was just...
  9. I have updated the above programme. Now,...

    I have updated the above programme. Now, evrything is stored in the reversed array as i wanted it to be. But when i try to print the values the variable "element_num" goes to -1 alhough i have set up...
  10. You have used few functions like strlen() etc...

    You have used few functions like strlen() etc that i have not ever come across before.

    I would really appreciate if you could explain it to me down at my level and If possible, in terms of the...
  11. reversing the content of array character-wise

    I am a newbie and havent read pointers yet. This programme breaks in the function when it is supposed to reverse the characters.e-g "four" --> "ruof"

    Herre is what i did.
    I created another array...
  12. Replies
    3
    Views
    10,384

    thanks, do not worry about casting. As i said it...

    thanks,
    do not worry about casting. As i said it is part of a project where stick man throws a projectile and if i use int then it will be funny path- not exactly like a parabola. Since those...
  13. Replies
    19
    Views
    3,276

    this is the working for loop. just replace it...

    this is the working for loop. just replace it within original code and viola you have a program which counts the number of characters user has typed in



    for (element_num = 0;
    (element_num <...
  14. Replies
    19
    Views
    3,276

    thanks salem. i appreciate your help very much....

    thanks salem.
    i appreciate your help very much. the key was the word "character and index" in your post. I totally mixed them up.

    anyways... its working now
    bravo Salem. You are the man
  15. Replies
    19
    Views
    3,276

    the condition in for loop now states...

    the condition in for loop now states !(element_num == '\0') whearas, before it was plain 0. but it is still not working. and no i am not missing any braces or whatever. its down to the problem with...
  16. Replies
    3
    Views
    10,384

    drawing a stick man

    Hi,
    This is a part of my project where i have drawn a stick man. As you can see in the code that i have used constants like (radius *2) etc to draw hand ,leg, head etc to draw the stick man. I am...
  17. Replies
    19
    Views
    3,276

    for (element_num = 0;((element_num < MAX_SIZE) &&...

    for (element_num = 0;((element_num < MAX_SIZE) && !(element_num == '\0')) ; element_num ++)


    I have changed the for loop condition now...

    The output of this program without any error or...
  18. Replies
    19
    Views
    3,276

    program error :counting length of string

    Hi,
    I am a newbie and have been learning this language for only 3 months as a part of university degree. I can't figure out the problem with this code.

    It is basically a simple programme which...
Results 1 to 18 of 19