Search:

Type: Posts; User: aze

Search: Search took 0.17 seconds.

  1. Replies
    8
    Views
    1,892

    bcc55 / winxp

    bcc55 / winxp
  2. Replies
    8
    Views
    1,892

    cant read last char from a file

    hey guys!

    i make a code to open and read a text file.


    while( fgets(tmpstr, 127, fp) ){

    it runs ok. but when the file dont have a \n char being the last char in the file, my code cant...
  3. i changed it. now the function do not returns a...

    i changed it. now the function do not returns a pointer. now it change the string directly on its location:


    #include <string.h>
    #include <ctype.h>

    void trim_str(char *string);

    int main(){...
  4. hey thank you guys! im a newbie What is...

    hey thank you guys!
    im a newbie



    What is wrong with recursion? How should I change it?

    -------------------------------------------------------

    and how would I change it?
  5. give a look into my TRIM function (please comment)

    hey guys! this is my first pointers act. just learning about pointers.
    I need you guys say me something about this function.
    Is it good? what should I improve?


    #include <stdio.h>
    #include...
  6. Replies
    6
    Views
    3,736

    char *p; shouldnt be int *p; ? if the pointer...

    char *p;
    shouldnt be int *p; ?

    if the pointer is int it do not point to the string
  7. Replies
    6
    Views
    3,736

    #include #include #include...

    #include <stdio.h>
    #include <string.h>
    #include <ctype.h>

    void main()
    {
    char *p;
    char k[] = "your string here";
    p=&k;
    while(!isspace(*p++));
  8. Replies
    6
    Views
    3,736

    thanks

    thanks
  9. Replies
    6
    Views
    3,736

    pointer with isspace()

    #include <ctype.h>

    int isspace(int c);

    if I would use a pointer into isspace function it should be an int or char pointer?


    if (isspace(*mypointer))
    ...
  10. Replies
    5
    Views
    4,676

    Thank you Thantos!

    Thank you Thantos!
  11. while(!(fefof(fp))) :-) thanks!

    while(!(fefof(fp)))
    :-)
    thanks!
  12. Replies
    5
    Views
    4,676

    this is the only way? i dont know to create .h...

    this is the only way?
    i dont know to create .h files. Is it like .c files?
  13. BCC55: Error: Unresolved external '_fefof' referenced from HFM.OBJ

    How do I fix this error?
    BCC55: Error: Unresolved external '_fefof' referenced from HFM.OBJ
  14. Replies
    5
    Views
    4,676

    external structure declaration

    hey guys!
    Im trying to declare a struct form other file but compiler says theres an error on declaration

    file1.c



    struct {
    char entry[65536][128];
    } hosts;
  15. Replies
    7
    Views
    1,896

    thank you guys!

    thank you guys!
  16. Replies
    7
    Views
    1,896

    Syntax is: BCC32 [ options ] file[s] * =...

    Syntax is: BCC32 [ options ] file[s] * = default; -x- = turn switch x off
    -3 * 80386 Instructions -4 80486 Instructions
    -5 Pentium Instructions -6 Pentium Pro...
  17. Replies
    7
    Views
    1,896

    But BCC should compile it? Isn't BCC a 32bit Cpp...

    But BCC should compile it? Isn't BCC a 32bit Cpp compiler?

    How do I do that?
  18. Replies
    7
    Views
    1,896

    compiling without main()

    hi all!
    I'm using Borland C++ Compiler. I downloaded a source code from the web but I couldn't compile it...
    :-(



    bcc32 LogIEUrlrRequests.cpp
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993,...
Results 1 to 18 of 18