Search:

Type: Posts; User: braddy

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: help on main()

    by braddy
    Replies
    9
    Views
    1,844

    [QUOTE=QuantumPete;731664]Why don't you compile...

    [QUOTE=QuantumPete;731664]Why don't you compile and run your code and then use steps 1-7 above to test it?

    the Lab is closed now and I dont have code warrior on my machine. when I try to dowload...
  2. Thread: help on main()

    by braddy
    Replies
    9
    Views
    1,844

    Thank you dwks and swoopy, Beside what you...

    Thank you dwks and swoopy,

    Beside what you mention, does my main follows the steps 1-7?
    I am not very sure it does. I need a feedback on it please?

    thank you
  3. Thread: help on main()

    by braddy
    Replies
    9
    Views
    1,844

    help on main()

    Hi,
    I have some problem with code the main(). The program is for communicating with a micro controller through the SCI port.

    the main() is supposed to do:
    Main Program.
    1. Set up The message...
  4. Thread: A question

    by braddy
    Replies
    3
    Views
    1,088

    A question

    Hi ,
    I have a assignment in which the requirement is :
    "Build a binary tree of all size and shape".
    Does someone has any idea what it means? Quite not clear to me.

    Thank you
    B
  5. Replies
    6
    Views
    1,238

    Yes I thought about that but the function must be...

    Yes I thought about that but the function must be a VOID type !


    B
  6. Replies
    6
    Views
    1,238

    displaying problem

    Hi,
    I have the following problem ( triangle of sides a,b,c)

    Write a void function that uses five parameters: 3 values are the length of the edges of the triangle, and 2 are reference parameter...
  7. Replies
    6
    Views
    1,144

    Yes , I am sure about the number of total...

    Yes , I am sure about the number of total candies(23)
    I will try to try your suggestion.
    Thank you

    B
  8. Replies
    6
    Views
    1,144

    Sorry about the no-[code] thing.

    Sorry about the no-[code] thing.
  9. Replies
    6
    Views
    1,144

    problem with a loop

    Hi ,
    I have this problem I need to code in C++:

    we want to know how many candies you can have with a certain amonut of money.
    Each candy costs $1 and at each candy purchase, you receive 1...
  10. Replies
    8
    Views
    2,157

    Yes thank you time 86. The fact that the give me...

    Yes thank you time 86.
    The fact that the give me the weight of the dieter as input confused me a little bit.
    In fact , I did not know if I have to use the target weight of the dieter OR the actual...
  11. Replies
    8
    Views
    2,157

    need for a solving method

    HI,
    I have this problem that I need to code . But I have problem about how to find the math method.

    A government research lab has concluded that an artificial sweetener commonly used in diet...
  12. Replies
    7
    Views
    896

    understand Class definition

    Hi,
    I want to understand the difference between class and object in C ++. I have read some material but it is not still clear.
    Please can someone explain me the # between these terms?
    Thank you
  13. Replies
    2
    Views
    877

    understand lnked list

    Hi can someone explain me this function


    struct Node{
    char name[39];
    sruct Node *next Ptr;}
    typedef struct Node Node;

    void insert(Node** firstHndl,char s[])
    {Node*prt...
  14. Thread: punctuation

    by braddy
    Replies
    4
    Views
    1,221

    punctuation

    Hi ,

    I dont succed to do the following:

    I want to eliminate the double quote at the beginning of a word as I read it with fscanf function:

    What I did it :

    while (!feof(filein))
    {
  15. Thread: display

    by braddy
    Replies
    1
    Views
    1,038

    display

    Hi,
    I have a problem to display the following:

    I have a list of say 180 word associat to a number like:

    cat 5
    car 2
    cool 3
    lion 5
    .
  16. Thread: linked list

    by braddy
    Replies
    12
    Views
    1,692

    you are right I 'll try to fix that.

    you are right I 'll try to fix that.
  17. Thread: linked list

    by braddy
    Replies
    12
    Views
    1,692

    Oh please sorry never mind the comment about the...

    Oh please sorry never mind the comment about the END thing I was testing my function earlier with that..
    Sorry I forgot to remove this comment.
    This should not be the issue here!
  18. Thread: linked list

    by braddy
    Replies
    12
    Views
    1,692

    I have some issue in the display. I have made the...

    I have some issue in the display. I have made the changes but when I execute, the output file is blank, even the header output does not print.


    #include <stdio.h>
    #include <stdlib.h>
    #include...
  19. Thread: linked list

    by braddy
    Replies
    12
    Views
    1,692

    I try but it does not work! This is what I did....

    I try but it does not work!
    This is what I did. I have 2 main problem:
    1- in create function I have a problem read the word by word and then continue when one line is done.
    2- the way I wrote...
  20. Thread: linked list

    by braddy
    Replies
    12
    Views
    1,692

    linked list

    Hi,
    I have two problems:
    please can someone give me an algorithm that would help me to understand how to put words ( read from a file) in alphabetical order using a linked list. I just dont get...
  21. Thread: trace a program

    by braddy
    Replies
    3
    Views
    1,054

    trace a program

    Hi ,
    Please I need help to trace this program:

    Show the output for the following program


    #include <stdio.h>
    #include <string.h>
    char * show(char *s);
    void main() {
  22. Thread: sequence

    by braddy
    Replies
    2
    Views
    2,603

    sequence

    Hi,
    please can someone help me with this.

    I want to write a function sequence that returns 1 when a set of 5 cards appear in sequence ; 0 if not.

    I dont understand very well what to do here....
  23. Thread: dealing cards

    by braddy
    Replies
    15
    Views
    4,539

    Thank you your your help. I will try to work...

    Thank you your your help.

    I will try to work on it.
    I had also some issue with shuffling but one thing at a time.
  24. Thread: dealing cards

    by braddy
    Replies
    15
    Views
    4,539

    when it is said char deck [52][20] ,this means...

    when it is said char deck [52][20] ,this means that there is 52 arrays of strings whose length(max) of 20 characters.
  25. Thread: dealing cards

    by braddy
    Replies
    15
    Views
    4,539

    It is a typo it is char deck[52][20]..

    It is a typo it is
    char deck[52][20]..
Results 1 to 25 of 39
Page 1 of 2 1 2