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...
Type: Posts; User: jcfuller
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...
just add the boost include you want:
#include "boost/variant.hpp"
Make sure you call the set_distro_paths.bat first.
James
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...
I've looked around here a bit ....
Home - D Programming Language
James
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...
More code is irrelevant.
Salem gave the answer to the question asked.
James
Thank you!
James
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'
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...
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.
Guest,
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)...
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...
I want to understand the coding not use the app.
James
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)...
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...
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...
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
I have been using fstream (probably not correctly :)).
How would you use the Windows api to duplicate this little snippet?
James
#include <iostream>
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...
Portable How? vc++ <-> g++
Otherwise it is posted in the Windows forum :)
James
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...
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...
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...
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
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...