bcc55 / winxp
Type: Posts; User: aze
bcc55 / winxp
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...
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(){...
hey thank you guys!
im a newbie
What is wrong with recursion? How should I change it?
-------------------------------------------------------
and how would I change it?
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...
char *p;
shouldnt be int *p; ?
if the pointer is int it do not point to the string
#include <stdio.h>
#include <string.h>
#include <ctype.h>
void main()
{
char *p;
char k[] = "your string here";
p=&k;
while(!isspace(*p++));
thanks
#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))
...
Thank you Thantos!
while(!(fefof(fp)))
:-)
thanks!
this is the only way?
i dont know to create .h files. Is it like .c files?
How do I fix this error?
BCC55: Error: Unresolved external '_fefof' referenced from HFM.OBJ
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;
thank you guys!
Syntax is: BCC32 [ options ] file[s] * = default; -x- = turn switch x off
-3 * 80386 Instructions -4 80486 Instructions
-5 Pentium Instructions -6 Pentium Pro...
But BCC should compile it? Isn't BCC a 32bit Cpp compiler?
How do I do that?
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,...