|
u just try the below link
(it is with source code & explaination)
i belive it will be helpful for u
http://www.codeproject.com/internet/mdftpclient1.asp
Electron *ptr_Electorn;
Electorn->With Best Regrads(learn, Enjoy);
|
|
|
|
|
I want to get full multi line text file...By using fscanf..
FILE *f;
CString str=_T("");
CString temp=_T("");
while((fscanf f,"%s",temp)!=EOF)
str=str+temp;
.
.
.
.
this is my code...but i cudn't get full text.It shows only the last line in my full text..
How can i get full text line
|
|
|
|
|
It is better to use fgets[^] instead of fscanf. Because fscanf read formatted data, so, if it encouters a white space, this will be considere as a new 'variable' and thus will stop reading the data if it doesn't need to read anything else.
|
|
|
|
|
Im using CString variable....How can i use fgets for CString varaiable.
|
|
|
|
|
Have a look at CStdioFile class.
|
|
|
|
|
What is the size of
int
char
float
in Windows 2000 ??
Vikas Amin
Embin Technology
Bombay
|
|
|
|
|
void main(void) {
printf("int : %d\n", sizeof(int));
printf("char : %d\n", sizeof(char));
printf("float : %d\n", sizeof(float));
}
will output :
int : 4
char : 1
float : 4
but notice this : an int is much dependant of the processor architecture than the OS. so, under Windows2000, it may be 4 bytes if the processor handles 32 bits ints, or 8 bytes if it handles 64 bits ints...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
toxcct wrote: an int is much dependant of the processor architecture than the OS
What about the compiler.
Jesus Loves <marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Owner drawn wrote: What about the compiler.
well, i said that "an int is much dependant of the processor architecture than the OS" if the compiler is well designed/implemented...
(standard def...)
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
I have a char array
when i incremnt the pointer to the array
it increments 4 bytes not 1 byte.
Is it that a console application takes anytype of padding for char array .
Vikas Amin
Embin Technology
Bombay
|
|
|
|
|
|
hi toxcct
Its fine i find out the problem
thank
you
Vikas Amin
Embin Technology
Bombay
|
|
|
|
|
|
he read the msdn document i guess
-Prakash
|
|
|
|
|
Is there a way to change the background color of a groupbox?
Thanks,
waxie
|
|
|
|
|
|
Well, i guess I have no choice then. I should do you. Now I see where you got your name. How stupid of me to realize it just now.
waxie
|
|
|
|
|
|
toxcct wrote: you meant CStatic, didn't you ?
No.
Take a look at BS_GROUPBOX .
Jesus Loves <marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
|
toxcct wrote: i'm struggling...
It happens...
MSDN about group box: The control is created as a BUTTON class with the BS_GROUPBOX , WS_CHILD , and WS_GROUP styles.
Jesus Loves <marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Hello,
Can anyone tell me how i can create a context menu for my SDI Application?
God is Merciful...
|
|
|
|
|
|
I'm using winpcap. I get error when I use find_alldevs_ex() and such function _ex (indentifier undeclared error) , but I could use find_alldevs() and other with no problem. Anyone had this problem before, plz give me a guide.
|
|
|
|
|
How to convert a binary file with extension .LRN to .Txt file in C++?
Premalatha
|
|
|
|