Search:

Type: Posts; User: louis_mine

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    4,160

    I am working on a Compiler, it is supposed to use...

    I am working on a Compiler, it is supposed to use the least resources it can and it must be done from nothing, so, we are not allowed to use newer versions of TC (I believe is a lot of Teacher's...
  2. Replies
    8
    Views
    4,160

    Oh, so fun, specially because I said I couldn't...

    Oh, so fun, specially because I said I couldn't use a newer one.
    Anyway, I've already solved this problem, I was missing the BGI library and now it works just fine

    Thanks for the help :D
  3. Replies
    8
    Views
    4,160

    Yep, I am using a quite old compiler, but using a...

    Yep, I am using a quite old compiler, but using a newer is not allowed, because it is going to be run on this one.
    I am using Turbo C++ Version 3.0

    Ok, on options->linker->libraries I activated...
  4. Replies
    8
    Views
    4,160

    How to use graphcis.h

    Hi, I am trying to use graphics.h library on a program, I copied the example of a program that comes in help, however, it does compile but at the time I try to run it, it shows a lot of linker...
  5. Replies
    3
    Views
    1,505

    Resolve Arithmetic operations

    Hello, I am working on a Compiler and I've made it to the point it has to resolve arithmetic operations, however I would like to save some time and implementing some sort of already existing...
  6. Programming an automata using context free grammar

    Hi, I m looking for programming an automata that must remove empty derivaions from a text chain given, I would like to know if anoyone has programmed this that would give me a hint on how does this...
  7. Replies
    10
    Views
    1,507

    hhmmm?? wasnīt that the original question??? I...

    hhmmm?? wasnīt that the original question??? I would use %ld
  8. Replies
    10
    Views
    1,507

    just as easy as changing the %d to %ld on each...

    just as easy as changing the %d to %ld on each scanf and in your last printf
  9. Replies
    4
    Views
    1,979

    C do support threads, I saw someone made a...

    C do support threads, I saw someone made a simulation of a distributed Operative System by using threads, however Google is not showing me something that has to do with it :(, however, thanx for the...
  10. Replies
    4
    Views
    1,979

    Threads on C

    Hi, I am using c and I would like to know how to use threads on this programming language, I have looked on the internet, but I can't really find good examples or theory, please, can someone tell me...
  11. Replies
    5
    Views
    26,404

    atof converts a string to Float, you don't need...

    atof converts a string to Float, you don't need to go character by character
    just put res=atof(data);

    I recommend first to check if all values are numbers or in case there is a point, that...
  12. Replies
    11
    Views
    1,556

    int i, found=0 //A colon is missing here...

    int i,
    found=0 //A colon is missing here ","
    where;



    int i=0, found=0, where;
  13. Replies
    2
    Views
    9,048

    you could also use a counter, counting the number...

    you could also use a counter, counting the number of "line jumps", when this reaches the number you want (or if it reaches the EOF first) end your cycle.

    x=0;
    while(x<number_of_lines && "name of...
  14. Replies
    11
    Views
    1,556

    scanf("%c", &again); YOU never declared again,...

    scanf("%c", &again);

    YOU never declared again,

    search(const char *arr[][7],const char *target[],int n);
    that ; symbol should not go there

    delete it and leave only the {
  15. Replies
    11
    Views
    1,556

    [CODE]printf(\n"Do you want to decode another...

    [CODE]printf(\n"Do you want to decode another resistor?\n");[\CODE]
    the \n goes inside the "" marks
    [CODE]printf("\nDo you want to decode another resistor?\n");[\CODE]
    that's one less
  16. Replies
    1
    Views
    1,441

    Doubt about Hashing

    Hi, I am studying about how to make data storage in disc more efficient, and I know about a method that uses a Hashing Table and a Hashing algorithm, i would like to know if someone knows a place to...
  17. Replies
    7
    Views
    1,197

    sorry, no *person required, its only the double...

    sorry, no *person required, its only the double == what is missing
  18. Replies
    7
    Views
    1,197

    you have some minor mistakes like [CODE] if...

    you have some minor mistakes like
    [CODE]
    if (fp=NULL) //it should be
    if (fp==NULL)//notice the double = symbols
    [\CODE]

    Also I believe that the structure you declare named person of type data...
  19. you could also use the strcmp function, in the...

    you could also use the strcmp function, in the library string.h, just see how it works, i dont remember exactly, but I think it returns a 1 if the strings are the same, also post your code so I can...
  20. a doubt about sending an array to a function

    Hi, I have a porblem sending an array to a function, it sounds quie simple, however, it wonīt let me do it, I believe there should be a way to do it, however, i cannot find it, if someone knows how,...
  21. Replies
    1
    Views
    1,673

    something about binary numbers in c

    Hi, i was thinking about creating a program that would return to me the way the computer stores the data, however, it must be using binary code.

    i am not quite sure, i believe it first transforms...
  22. Replies
    4
    Views
    1,591

    a question with pointers

    Just a simple question, but really important :)

    Can someone explain to me please how do I declare a pointer to an array of more than one dimension?
    is it just



    int *p;
    int arr[10][10];...
  23. Replies
    3
    Views
    4,728

    That code returns a numerical value for each key...

    That code returns a numerical value for each key I press, different for each letter, it doesnīt print anything if I use the arrow keys ;(
  24. Replies
    3
    Views
    4,728

    Movement with arrow keys

    Hi I have been trying to create a program which movement is using the arrow keys, however i havenīt been succesful, I donīt know why this is not recognizing the arrow keys, i have even copied and...
  25. Thread: pointers

    by louis_mine
    Replies
    13
    Views
    17,351

    I believe pointers are not so hard to use,...

    I believe pointers are not so hard to use, however, they seem complicated because the apparently weird syntaxis, however, you could create a small program using various of the different ways poiters...
Results 1 to 25 of 66
Page 1 of 3 1 2 3