|
If program takes 1 Gb but it is good, then it's size is not important - really! So this is not an argument for me (of course I don't mean 1Gb notepad).
.NET does not have many improvements in comparision to MsDev6.0 in C++. Some things work better (on my computer apply code changes caused sometimes 5 minute delays on 6.0 and .NET does not have such problem), some works worse (automatic synchronization between workspace tree and opened document), some not changed at all (C++ syntax )
AFAIK .NET does not work on Windows9x, though created executables do work.
If You really want to develop/learn/see C# - install .NET . Otherwise, it is not so necessary. My advice is, that if You can, You should try to work on .NET, and see if it will suit Your needs. But I wouldn't bought it, at least not now.
Mukkie
|
|
|
|
|
Does anyone know the keystroke characters to toggle between screens? (I'm editing code from two different applications and would like to toggle back and forth between them using keystrokes.)
Thanks.
William
|
|
|
|
|
|
"Ctrl Tab" gives me toggling between screens for the SAME application.
I want to toggle between screens for DIFFERENT applications.
Thanks!
William
|
|
|
|
|
|
Alt+Tab
Sonork 100.15206;PavelK
|
|
|
|
|
alt+tab
Dylan Kenneally
London, UK
|
|
|
|
|
Thanks to all.
I appreciate it!
William
|
|
|
|
|
I am all the time creating new projects to write just enough code to test out a theory or design an implementation that will be added to my "real" projects. I have a few standard settings that I have become acustomed to using with my projects and I am getting tired of making settings changes with every new project I create. Can someone point me in the right direction so I can use/create a script that will automate these settings changes?
Thanks
John
|
|
|
|
|
sounds like you need a AppWizard. I believe you can make a customized appWizard which meet your requirement.
|
|
|
|
|
|
include <moo.h>
class loo
{
private:
moo* poo;
}
moo is a complicated structure from a third party library.
I want to make sure that any project with a class derived from loo
will not need to add the include paths for moo.h and all associated
headers in the project as it can get quite compilacated.
if moo was a class i would normaly just create a forward declaration of
class moo; in the loo header file then include the moo.h header file in the
implementation file for loo.
It won't let me do this for a structure though.
Does anyone have any ideas as to how i can solve this?
Currently my only idea is to use void* and cast then to the required type
whenver i need to use them in the implementation file!!
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
Jawache wrote:
It won't let me do this for a structure though.
Really? Forward declaration for structs works for me. Can you post the typedef from moo.h?
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
These are the first two error messages i get...
1> e:\jawache\dev\src\jdv\pyfile.h(16) : error C2371: 'PyObject' : redefinition; different basic types
// This is my forward declaration in my pyfile.h
struct PyObject;
2> e:\python-2.2.1\include\object.h(82) : see declaration of 'PyObject'
// This is the declaration of PyObject in object.h
typedef struct _object {
PyObject_HEAD
} PyObject;
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
Use '_object' in forward declaration and in member definition:
struct _object;
class DoopaZoopa
{
...
_object *p;
};
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
Excellent,
Thanks that got it.
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
Er, anyone has a short and simple email validation code for C++? Need to look up the domain or anything. Just ensure that the text given would qualify as an email address.
Nish
p.s. Kindly don't answer me with "You can do that with one line of reg exps" cause I don't know jack about reg exps
Author of the romantic comedy
Summer Love and Some more Cricket [New Win]
Review by Shog9
Click here for review[NW]
|
|
|
|
|
|
Nish bangs his head repeatedly against the monitor!!! Not satisfied with that he lifts up the heavy tower and drops it on his feet! Satisfied with his thoroughly masochistic exercise he sits back and continues to stare incredulously at Tomasz’s reply
Author of the romantic comedy
Summer Love and Some more Cricket [New Win]
Review by Shog9
Click here for review[NW]
|
|
|
|
|
Ok, when the pain is over, take a look here[^] and here[^]
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
Don't tell me an advanced programmer like you can't parse a string like mail@mail.org
For some reason I can't believe that
modified 12-Sep-18 21:01pm.
|
|
|
|
|
I have the following code in my program (written in C not C++):
typedef struct
{
char *(*errors)[];
}ERROR_LIST;
char *errors[]=
{
"An error",
"Another error",
};
ERROR_LIST err_list={&errors};
The declaration gives the following compiler error on the line indicated.
warning C4048: different array subscripts : 'char *(*)[]' and 'char *(*__w64 )[2]'
I am using the /w64 compiler switch intentionally to maintain 64bit compatibility.
Could somebody please give me a clue how to resolve this warning as its driving me nuts!
Systems AXIS Ltd - Software for Business ...
|
|
|
|
|
And like this ? :
<br />
typedef struct {<br />
char *(*errors)[];<br />
} ERROR_LIST;<br />
<br />
char *errors[];<br />
ERROR_LIST err_list={&errors};<br />
char *errors[]={"An error","Another error",};<br />
|
|
|
|
|
That works but can you explain why?
Systems AXIS Ltd - Software for Business ...
|
|
|
|
|
I'm not a guru but I suppose the the compiler interpret (well a compiler does'nt interpret code, but...) :
char *str[] = {"one", "two"};
as
char *str[2] = {"one", "two"};
I think (not shure) that your code might compile in old C but not in C++ (new behaviour).
|
|
|
|