Search:

Type: Posts; User: AmazingRando

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    51,028

    thanks for all of your help

    thanks for all of your help
  2. Replies
    8
    Views
    51,028

    strcmp without case sensitivity

    is there a way to use strcmp so that it is not case sensitive?
    For instance, if I call strcmp(value, "string"), and value is either String or STRING, I will still return a true.
    Thanks for your help
  3. Replies
    6
    Views
    2,322

    and windows xp sorry

    and windows xp sorry
  4. Replies
    6
    Views
    2,322

    bloodshed dev-C++, for some reason my program...

    bloodshed dev-C++, for some reason my program runs fine on microsoft compilers but develops linker errors on dev-c++.

    where do I put the gcc... line on bloodshed though?
  5. Replies
    6
    Views
    2,322

    Thanks for your help where would I add this line?

    Thanks for your help
    where would I add this line?
  6. Replies
    6
    Views
    2,322

    multiple source files

    I am trying to compile with 2 .c files and a .h file

    I have something like this

    recognizer.c


    #include <ctype.h>
    #include <stdlib.h>
    #include <stdio.h>
  7. Replies
    1
    Views
    1,080

    unknown error message

    anybody seen this one before?
    '\\mydocs.uark.edu\wogreen\programs'
    CMD.EXE was started with the above path as the current directory.
    UNC paths are not supported. Defaulting to Windows directory....
  8. Replies
    6
    Views
    1,670

    okay, I figured it out, a break to watch DUBYA,...

    okay, I figured it out, a break to watch DUBYA, must have made me smarter.
    Funny... I didn't see that coming.
  9. Replies
    6
    Views
    1,670

    actually I need to read it in one character at a...

    actually I need to read it in one character at a time. I would love to use fgets but when lexemenumber is called, I need to store the string "number" in a struct, as well as the value of that number...
  10. Replies
    6
    Views
    1,670

    ok I have run into a problem This portion of...

    ok I have run into a problem

    This portion of code reads in from a file character by character, starting with a number.
    I want to send the whole number to value in struct Lexeme.
    But I still need...
  11. Replies
    6
    Views
    1,670

    Thanks, Quzah

    Thanks, Quzah
  12. Replies
    3
    Views
    1,738

    thanks guys

    thanks guys
  13. Replies
    4
    Views
    1,080

    that seems right to me

    that seems right to me
  14. Replies
    3
    Views
    1,738

    quotation marks

    will a quotation mark return a true or a false for the function isalpha?
    in other words, is a quotation mark " treated as an alpha character?
  15. Replies
    6
    Views
    1,670

    int array to char array

    OK say I have an integer array of 15.
    and a char array of 15.
    What function could I use to transfer the integer array's values to the char array?
  16. Replies
    6
    Views
    1,128

    I appreciate all of your help! I can go to bed...

    I appreciate all of your help!
    I can go to bed now :D
  17. Replies
    6
    Views
    1,128

    it would be simpler, but due to the nature of the...

    it would be simpler, but due to the nature of the program, I must process char by char
    There is simply no way around that
  18. Replies
    6
    Views
    1,128

    I was afraid of that :) FILE *readfile; ...

    I was afraid of that :)

    FILE *readfile;

    int lexInit(char* filename)
    {
    readfile = fopen(filename,"r");
    if(readfile == 0)
    {
    printf("\nfile could not be opened\n\n");
  19. Replies
    6
    Views
    1,128

    reading a new line

    Say I have read from a file.
    And at a certain point in the middle of the line, I need to skip to the next line. What is the best way to do this, without creating a bunch of excess buffer trash?
  20. Replies
    6
    Views
    2,460

    I appreciate all your help :) in this portion...

    I appreciate all your help :)

    in this portion of code, I assume I should return the pointer instead.


    int newLexeme(char *type)//input string, return a lexeme structure type:nNUMBER,VARIABLE...
  21. Replies
    6
    Views
    2,460

    I appreciate your help, I am very rusty in C....

    I appreciate your help, I am very rusty in C.
    but I think that ch should stay a char because I am reading in characters one at a time from a file.
    However, my revised code is crashing
    Any...
  22. Replies
    6
    Views
    2,460

    so should I change this to another .c file? I am...

    so should I change this to another .c file?
    I am trying to maintain a fairly clean file for my main scanner function file.
  23. Replies
    6
    Views
    2,460

    passing pointers to other files

    I'm having trouble passing pointers from a c file to a header file and still being able to call information.
    I assume My mistakes are trivial but any help would be greatly appreciated

    .c file
    ...
  24. Thread: mergesort

    by AmazingRando
    Replies
    14
    Views
    2,340

    mergesort

    I need help with mergesort
    I used an algoritm form a book I have and have looked through the code but can't seem to understand what is wrong.
    Can anyone help? I feel that I am close
    any help is...
  25. Replies
    2
    Views
    1,625

    strtok again

    ok I am trying to read in from a file using fgets
    the first part of the file looks like this


    diagram,Human Circulatory System
    :
    : blah blah blah
    : blah blah blah
    :
    vertex,1,brain
Results 1 to 25 of 89
Page 1 of 4 1 2 3 4