That goes through a double for loop of the following form:
for (j=0; j<19; j++)
and they are used earlier in the function.
Type: Posts; User: earth_angel
That goes through a double for loop of the following form:
for (j=0; j<19; j++)
and they are used earlier in the function.
Well, if the problem can't be fixed is it oKif my application is built in Debud configuration? The users will just use the .exe fiel and just run the application.
Hi,
I ran into a very peculiar problem with my project. If I build it in debug mode and run the .exe from the debug folder I get the following output with this line:
fprintf(out, "%d %s %s...
I figured out the problem.
Thanks though.
AS
With fwrite() you can only print one variable at a time, or the same one multiple times, right? Can I print multiple variables in one fwrite call()?
Hi everyone,
I have a problems that I haven't came across before. I realise that what how I coded was not proper, but it should have worked and it did up till now.
I used C print calls (...
No, it's initiated to NULL, but then I assign it to
pConnect = isession.GetFtpConnection(_T(Server));
Hi everyone,
I have a problem that kept poping up in debug mode at the closing bracket of a function. I've tested each line of code adding one by one and running through it. Once I added the last...
I think I solved the problem.
I used
pConnect = isession.GetFtpConnection(_T("server"), "user"); Instead of
pConnect = isession.GetFtpConnection(_T(server), "user");
where server = "name of ftp...
Hey,
I ran into a wierd problem trying to connect to an ftp server. I have a pice of code that connects to the server and extract the names of all files i nthe main directory. I've ran it testing a...
In the while loop before that I check for k not to exceed 14 or 8. But I redundantly input an if statement just to make sure. Thanks.
If I want to specify a destructor explicitly so I know exactly what it does, for the two classes I have what can it do?
I never wrote a destructor. I'll add one to both the classes. Should it be something like this:
~FileBrowse()
{
}
but what should it do? I don't ahve any memory allocated to be cleaned up?
i noticed that one of non-static methods uses a static variable. Is that allowed?
I creat an instance of that class (ConnectFile) and then use ConnectFile.Makename() and that uses a static variable...
Here's the function that I get stuck on. Right at the closign brace:
FileBrowse::ResetFpath("recording:[000000]");
int radioState =0;
char location = 'N';
char buffer[100];
FileBrowse...
Yes I know. I'm just used to using and haven't switched over. and I actually noticed that I haven't closed the file that's why it was empty. It was stupidity mistake.
and I even tried taking out...
Hi everybdoy,
I've read a few tutorials on static variables and functions, including the one on this site, and I think it makes sense to me. But I keep running into a memory problem. The class I...
I've taken a look at the code a bit and I can't find where the memory is leaking. Also, the print statement do nothing now. The ourput file contains nothing after the function runs. Would a memory...
Here's the whole thing:
Creation:
CStatic* myStaticf;
x1=215, y=125, x2=300, h=15;
structLink templink;
templink.BParam = '\0';
i set the id to 700+i where i goes from 0 to whatever. So the IDs are 700, 701, 702, 703, etc.
EnableWindow() still leaves the text on the window, it is just not active, ie.. it's grey instead of...
The debugger gets stuck at rfname.Empty() line. I can't move past that point when it goes through the loop third time around.
I'm reading them from an FTP server. and it seems to only give an error when I run it in debug mode. I get an access violation error.
I'm still trying to figure where it fails.
Hey,
I'm trying to write a class to process strings. Here it is:
class FileBrowse
{
private:
static CString fpath;
public:
Oh, OK.
I didn't know you can specify an ID for static text.
I'm trying to do this now:
CStatic* pstatic;
i=0;
while((pstatic = (CStatic*) GetDlgItem(i+700)) != NULL)
{
I didn't do my homework properly in researching the CString functions.
Thanks guys,
AS.