Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jimjake
  • Content: Threads
  • Order by date
  1. jimjake

    Questions

    1…I know Visual C++ deals with ascii text, but I have a file Created in Excel I want to manipulate, can it be done. 2…Is there a way to make a Dialog Box bigger then what ClassWizard gives you …… Thank you Jim
  2. jimjake

    Strange

    The below code is what I have put in to check the length Of m_EditBox. Below that is the error I am getting. Does anyone know where The A is coming from, I did not type it. CString strEdit; m_EditBox.GetWindowText (strEdit); int nLen=strEdit.GetLength (); error C2039...
  3. jimjake

    EditBox

    I have an EditBox I want to check the length of. The var is m_EditBox. Could someone give my a sample of code to check the length of m_EditBox. The book I am learning from has no mention of this. Thank you Jim
  4. jimjake

    Edit Box

    CFile fileEditText; if(fileEditText.Open("c:\\My Documents\\jiminsurance.txt", CFile::modeRead)); { char cBuf[512]; UINT uBytesRead; while(uBytesRead = fileEditText.Read(cBuf,sizeof(cBuf)-1)) { cBuf[uBytesRead] = NULL; m_EditBox += CString(cBuf); } fileEditText.Close()...
  5. jimjake

    program

    I have created a Dialog based project, it has four buttons. When I press button1 I want it to execute a piece of code. The Code is already written and compiles with out error or warnings. When I wrote the program I did it as a console based application. The source code had the declares up front...
  6. jimjake

    Missing It

    Is there somewhere out there a simple sample of a SDI project that has a simple dialog box that initializes when the program starts. I am missing it, I don’t understand how to create an instance to make The Dialog pop. One of your best programmers suggested that I skip the exercise in the book...
  7. jimjake

    cdraycott / timmay3141

    cdraycott / timmay3141, First I would like to thank you for your quick answers. Now I have lost all the hair I had left (HA HA). In my HelloSDI project I have these files. HelloDlg.cpp HelloSDI.cpp HelloSDI.rc HelloSDIDoc.cpp HelloSDIView.cpp MainFrm.cpp stdafx.cpp I still do not understand...
  8. jimjake

    hopeful

    I recently bought a book “ Visual C++ 6 Teach yourself in 24 hours. I have a basic understanding of C++, but I wanted to learn Windows applications. I am having problems with the SDI Applications. I have done the project listed in the book at least 50 times and it always ends the same way. 1. I...
  9. jimjake

    char*

    The book I am using refers to CHAR, and I understand this pretty well. But there is code in the book the states CHAR* and no where do I find An explanation for this, can you help…… jim
  10. jimjake

    as always confused

    Trying to get this process in my mind. I have a single source Program I developed with std::cout and std::cin. I then found an Example of a window program that displays a window with one Button in it. Now the button destroys the window. I want to execute my Program when I hit the button. I used...
  11. jimjake

    console

    I wrote a program, and it works fine. It’s a console program. When I run it under my compiler it stops and says press enter to return. When I run it outside the program executes and the console window with the information disappears in a split second, there is no chance to read it. Is there away...
  12. jimjake

    files

    #include <iostream> #include <fstream> int main() { std::cout << "Opening output file..." << std::endl; std::ofstream ofile("bobinsurance.txt"); if (!ofile.fail()) { std::cout << "Writing to file..."; ofile << "password " << std::endl; } else std::cout...
  13. jimjake

    informatio

    I wanted to learn C++, I got a book called Wiley’s Teach yourself(standard C++). I learned a lot from the book, and have built a couple of programs. The book deals mainly in console operation std::cout and std::cin. I want to build window applications to take Input and retrieve input, I guess I...
  14. jimjake

    linking

    I have just finished my first program. Now I am reading how to link all this togather. I tried placing what I have on a another computer and the results were to say less then good. I am not looking for a way, I want to learn from the book, but it would helpful to have a template to follow in...
  15. jimjake

    if statement

    int ans; sstd::cout << "enter ans y/n"; std::cin >> ans; if (ans == Y} ...... is there a way you can test for the small y and the caps Y in the same if statement.
  16. jimjake

    changing a var

    I want to pad the variable PWD with two spaces to make the char set 10 All is well until the last statement then the complier goes berserk telling me the variable Pwd Is incompatible. #include <iostream> #include <cstring> int main() { int len; std::cout << "password"; char...
  17. jimjake

    c++ var length

    Hi . new to C++ have a var. that is called password, password could contain 1-10 char. I would like to find out how many char's password contains

Part and Inventory Search

Back
Top