Search:

Type: Posts; User: jcfuller

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. I am really not versed in boost at all. I just...

    I am really not versed in boost at all. I just use the NUWEN distro for specific projects.
    I primarily use Visual Studio 2017 Community but like to check things with the NUWEN distro.
    First I never...
  2. just add the boost include you want: #include...

    just add the boost include you want:
    #include "boost/variant.hpp"


    Make sure you call the set_distro_paths.bat first.


    James
  3. Replies
    13
    Views
    3,351

    I, like freddie, use batch files for both VC++...

    I, like freddie, use batch files for both VC++ and the NUWEN distro


    1. NUWEN it is not an upgrade.
    2. If it was installed as part of the code::blocks installation and you are not going to use...
  4. I've looked around here a bit .... Home - D...

    I've looked around here a bit ....
    Home - D Programming Language

    James
  5. Replies
    7
    Views
    1,288

    Thanks guys I do appreciate the info but.... I...

    Thanks guys I do appreciate the info but....
    I am working on a new Basic -> c/c++ translator base on the original BCX.
    There is no provision for parsing single quotes that are so prevalent in c...
  6. Replies
    7
    Views
    1,288

    More code is irrelevant. Salem gave the answer...

    More code is irrelevant.
    Salem gave the answer to the question asked.

    James
  7. Replies
    7
    Views
    1,288

    Thank you! James

    Thank you!

    James
  8. Replies
    7
    Views
    1,288

    old failing brain

    My c was not very good to begin with, but my old brain is failing me more and more lately.


    Are these two the same?



    char* ss ;
    ss = GetInfo()
    if(ss && ss[3]) == '2'
  9. Please note I am not an experienced c/c++ coder...

    Please note I am not an experienced c/c++ coder but I have been using the attached batch files for c, c++, and c++(mfc) with VS 2015 community.
    I have versions for 2012-2015.
    These are a real hack...
  10. Replies
    12
    Views
    1,318

    Thank you all. One more change in Translate...

    Thank you all.
    One more change in Translate procedure:
    string word=file[x][y];
    to
    string word=file[x][y].name;


    and all appears to be working.
  11. Replies
    12
    Views
    1,318

    -Adrian, Thank you. It did indeed work. Now...

    -Adrian,
    Thank you. It did indeed work.
    Now we have:




    Compiling "main.cpp" To a "Windows Console App"
    Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
    Copyright (C)...
  12. Replies
    12
    Views
    1,318

    I did give it a go you know. VC is much more...

    I did give it a go you know.
    VC is much more forgiving than MinGW.
    I appears this post may be a futile effort if no one will download the source but I'll give it a try anyway.
    These are the VC...
  13. Replies
    12
    Views
    1,318

    I want to understand the coding not use the app....

    I want to understand the coding not use the app.

    James
  14. Replies
    12
    Views
    1,318

    sourceforge project not compiling

    The source from this project is not that old
    QBasic to C++ translator | SourceForge.net
    but it will not compile with the compilers I use.
    Visual Studio 2013 Community (using a batch file not ide)...
  15. Replies
    31
    Views
    2,645

    Thank you all for your insights. Would not...

    Thank you all for your insights.
    Would not Elkvis fix-up be similar to the VB and C# Auto-implemented properties?
    If I need to check the var for some constraint in a Set I would use the...
  16. Replies
    31
    Views
    2,645

    Opinions on my get/set approach

    I did a forum and google search on c++ getters and setters and found way too many hits and many diverse opinions.
    I would ask your opinion on the approach I present here.
    Early in my c++ studies I...
  17. Replies
    14
    Views
    1,247

    Elysia, Thank you for the fix. I have done...

    Elysia,


    Thank you for the fix.
    I have done some searching but the only (non-STL) examples I can find use mfc, .net (C++/CLI), or cstdio.


    James
  18. Replies
    14
    Views
    1,247

    I have been using fstream (probably not correctly...

    I have been using fstream (probably not correctly :)).
    How would you use the Windows api to duplicate this little snippet?


    James




    #include <iostream>
  19. Replies
    14
    Views
    1,247

    I should wait until I have my second cup of...

    I should wait until I have my second cup of coffee before posting anywhere :)


    For OS: MS Supported -> Vista+
    These are the compilers that I use :
    vc++ 18.00.21005.1 (Visual Studio Express...
  20. Replies
    14
    Views
    1,247

    Portable How? vc++ g++ Otherwise it is...

    Portable How? vc++ <-> g++
    Otherwise it is posted in the Windows forum :)


    James
  21. Replies
    14
    Views
    1,247

    pros/cons on File I/O coding

    What are the pros/cons of these approaches to File I/O under Windows using either VC++ or MinGW g++


    Windows api (CreateFile,Read,Write)
    <cstdio> (stdio.h)
    <fstream>


    Is it a user...
  22. Replies
    8
    Views
    892

    This turned out to be a DUH, and really a non...

    This turned out to be a DUH, and really a non va_list issue.


    The original basic source was doing a REDIM PRESERVE on an empty array so there was nothing to preserve.
    If the same code uses just...
  23. Replies
    8
    Views
    892

    It's the recursion that is killing it with 64 bit...

    It's the recursion that is killing it with 64 bit MinGW gcc,VC++
    It's all handle with built in functions instead of macros.


    TinyC 64 copies all the registers to the stack and uses basically the...
  24. Replies
    8
    Views
    892

    Yarin, Last I knew valgrind was linux only....

    Yarin,
    Last I knew valgrind was linux only.
    If you had read my last post a little more carefully you would notice there is NO problem on Linux.

    James
  25. Replies
    4
    Views
    997

    Thank you. That is the way I remember it. I use...

    Thank you.
    That is the way I remember it.
    I use MinGW in a number of flavors on windows and the gnu utilities on Linux.
    I had not tested in ten years so I was wondering if any advances had been...
Results 1 to 25 of 63
Page 1 of 3 1 2 3