CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: eagle1

Page 1 of 2 1 2

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    835

    Re: More strings and ifstream questions ...

    Ok, so I can read and write to the same file but I wont
    be able to make a change to just one line if the size is changed... (which it will
    probably change). hmmmm...

    the thing is that I process...
  2. Replies
    3
    Views
    835

    More strings and ifstream questions ...

    Hey guys.
    Not long ago I started this thread with a task
    I wanted done.

    http://www.codeguru.com/forum/showthread.php?t=376601

    I have a fully functional program right now and I'm even...
  3. Replies
    8
    Views
    918

    Re: Back in the game ... strings and files?!?!

    Hey guys.

    This is the partial code I have right now:



    #include <iostream>
    #include <fstream>
    #include <sstream>
    #include <string>
  4. Replies
    8
    Views
    918

    Re: Back in the game ... strings and files?!?!

    Oh ok.
    Now I get what your saying.

    The thing is that this line:

    TEST1 TST.STRING.NUMBER "3"

    needs to be updated by the user.
    So even if there 3 entries and the user wants this line to...
  5. Replies
    8
    Views
    918

    Re: Back in the game ... strings and files?!?!

    Hello guys.

    Thanks for posting and thanks
    for saying this can be done easily
    (at least this keeps me trying).

    Let me see if I can explain a little better.

    I have a text file.
    The program...
  6. Replies
    8
    Views
    918

    Re: Back in the game ... strings and files?!?!

    Just one minute..
    Something happened to my browser.
  7. Replies
    8
    Views
    918

    Re: Back in the game ... strings and files?!?!

    Hmmmmmmm... 25 views and no replies... I guess this is going to
    be difficult to implement! ;)

    I'll try something tonight to see what I come up with.

    Thanks.
  8. Replies
    8
    Views
    918

    Back in the game ... strings and files?!?!

    To make the post shorter, the new problem example is a few posts
    below.

    Thanks guys!
  9. Replies
    1
    Views
    491

    Re: What is ASP and resources....

    Well, since no one has posted anything, these are the alternatives
    I'm looking at right now.

    Programming ASP.NET (Paperback)
    by Jesse Liberty, Dan Hurwitz

    ASP.NET Cookbook (Paperback)
    by...
  10. Replies
    1
    Views
    491

    What is ASP and resources....

    Hello people.

    I have been out of the loop for a while.
    I can't even remember C++ well.
    I have been working for a company which offers engineering services
    (I studied Computer Sciences) and...
  11. Replies
    7
    Views
    934

    You can also use X-Windows to work with GUI's on...

    You can also use X-Windows to work with GUI's on linux (I think this one is based on C) and the one that I think it's used more often is called QT (this one is based on C++).
    I haven't seen many...
  12. Replies
    7
    Views
    16,578

    Duh... Nevermind, I was doing something...

    Duh...

    Nevermind, I was doing something stupidly wrong! ;)

    It works like a charm so thanks for the help Codeplug.

    Can you download the program again and tell me if it works (the zip is not...
  13. Replies
    7
    Views
    16,578

    Well.. it seems that functions requires an...

    Well.. it seems that functions requires an Instance and I'm not using API I'm using MFC.
    So I tried changing a created variable (the component created it) that opens the file tips.txt to a CString...
  14. Thread: Quick question

    by eagle1
    Replies
    10
    Views
    1,143

    Could it be a selected style you made for the...

    Could it be a selected style you made for the buttons or the textboxes?
    I'm just guessing here, I haven't seen this overlapping.
  15. Replies
    7
    Views
    16,578

    OK. If I choose to go the Resource route,...

    OK.

    If I choose to go the Resource route, whatever I put there (let's say I called the ID -> IDS_TIP and put whatever text) it's going to be a structure type or something similar while the Tip of...
  16. Replies
    7
    Views
    16,578

    Wouldn't using arrays limit the number of...

    Wouldn't using arrays limit the number of characters per tip?
    So this would make the Resources a better option?
  17. Replies
    5
    Views
    1,458

    I want to clear out that is proccesses are...

    I want to clear out that is proccesses are prefered not because they are better but because in Unix (or variants) concurrent programming can be quite difficult, and much of the
    is still not...
  18. Replies
    1
    Views
    669

    Do you want any functionality or something? What...

    Do you want any functionality or something?
    What I usually do is create a button and:



    OPENFILENAME ofn = {0};
    char szName[MAX_PATH];
    *szName = 0;

    CString transfile1;
  19. Replies
    5
    Views
    1,458

    Well, multiple threads is usually a better option...

    Well, multiple threads is usually a better option because it requires fewer system resources than managing processes.
    Like for example creating a thread only requires the allocation of the thread's...
  20. Thread: C++ basics

    by eagle1
    Replies
    12
    Views
    987

    LOL. I actually want him to look for the...

    LOL. I actually want him to look for the answers!!! ;) :D
    Like, what fun will he have if I say that MAX_PATH is a global variable already defined?
  21. Thread: Quick question

    by eagle1
    Replies
    10
    Views
    1,143

    I think that should do it. Although I think the...

    I think that should do it.
    Although I think the Tab Order is located in different places. At least on my VC6 the Tab Order is on the Layout menu.
    So tell us how it goes.!
  22. Replies
    7
    Views
    16,578

    Tip of the day Component

    Hi guys.!

    Well, it's been a long time since I used VC++ and I started again in December. Now, I have made a little "encryption" program using the Julius Ceasar algorithm in VC++ and I added a Tip...
  23. Thread: C++ basics

    by eagle1
    Replies
    12
    Views
    987

    || = or && = and 7. why do we need a ifstream...

    || = or
    && = and

    7. why do we need a ifstream class object in this function:
    getline(fin, szLine);

    Again ... if you look well enough and really READ you can answer all that's left :

    Code...
  24. Thread: C++ basics

    by eagle1
    Replies
    12
    Views
    987

    Well ... if you read 2 C++ books and you can't...

    Well ... if you read 2 C++ books and you can't answer questions like #1, 2, 5, 7, 10, then those books are either crap or you are not reading, you are just browsing.

    Read the books well, you will...
  25. Replies
    11
    Views
    1,242

    I will get into this tommorow! Thanks for the...

    I will get into this tommorow!
    Thanks for the tip! ;)
Results 1 to 25 of 42
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured