Search:

Type: Posts; User: earth_angel

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,560

    That goes through a double for loop of the...

    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.
  2. Replies
    5
    Views
    2,560

    Well, if the problem can't be fixed is it oKif my...

    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.
  3. Replies
    5
    Views
    2,560

    Release vs. Debug mode builds

    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...
  4. Replies
    3
    Views
    836

    I figured out the problem. Thanks though. AS

    I figured out the problem.
    Thanks though.

    AS
  5. Replies
    3
    Views
    836

    With fwrite() you can only print one variable at...

    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()?
  6. Replies
    3
    Views
    836

    C and C++ output calls

    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 (...
  7. No, it's initiated to NULL, but then I assign it...

    No, it's initiated to NULL, but then I assign it to
    pConnect = isession.GetFtpConnection(_T(Server));
  8. FtpFileFind access violation with MS VC++ 6.0

    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...
  9. Replies
    1
    Views
    1,420

    I think I solved the problem. I used pConnect...

    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...
  10. Replies
    1
    Views
    1,420

    ftp server name problem.

    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...
  11. In the while loop before that I check for k not...

    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.
  12. If I want to specify a destructor explicitly so I...

    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?
  13. I never wrote a destructor. I'll add one to both...

    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?
  14. i noticed that one of non-static methods uses a...

    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...
  15. Here's the function that I get stuck on. Right at...

    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...
  16. Yes I know. I'm just used to using and haven't...

    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...
  17. Static variables and functions problem in a class

    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...
  18. Replies
    5
    Views
    1,442

    I've taken a look at the code a bit and I can't...

    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...
  19. Replies
    13
    Views
    5,776

    Here's the whole thing: Creation: CStatic*...

    Here's the whole thing:
    Creation:

    CStatic* myStaticf;

    x1=215, y=125, x2=300, h=15;

    structLink templink;

    templink.BParam = '\0';
  20. Replies
    13
    Views
    5,776

    i set the id to 700+i where i goes from 0 to...

    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...
  21. Replies
    5
    Views
    1,442

    The debugger gets stuck at rfname.Empty() line. I...

    The debugger gets stuck at rfname.Empty() line. I can't move past that point when it goes through the loop third time around.
  22. Replies
    5
    Views
    1,442

    I'm reading them from an FTP server. and it seems...

    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.
  23. Replies
    5
    Views
    1,442

    problem w/ class methods

    Hey,

    I'm trying to write a class to process strings. Here it is:

    class FileBrowse
    {
    private:
    static CString fpath;

    public:
  24. Replies
    13
    Views
    5,776

    Oh, OK. I didn't know you can specify an ID for...

    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)
    {
  25. Replies
    13
    Views
    3,298

    I didn't do my homework properly in researching...

    I didn't do my homework properly in researching the CString functions.

    Thanks guys,

    AS.
Results 1 to 25 of 257
Page 1 of 11 1 2 3 4