|
More site info...
Visual C++ Programming | Forum profile
|
|
Forum profile page for Visual C++ Programming on http://www.codeguru.com.
This report page is the aggregated overview from a single forum: Visual C++ Programming, located on the Message Board at http://www.codeguru.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Visual C++ Programming" on the Message Board at http://www.codeguru.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Visual C++ Programming:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
144
|
820
|
2,310
|
|
Post:
|
480
|
2,557
|
7,494
|
|
|
Visual C++ Programming Posting activity graph:
|
Top authors during last week:
user's latest post:
Sine and Cosine Calculations in...
Published (2009-11-12 16:01:00)
Changes are in RED below: Code: #include <iostream> #include <iomanip> #include <fstream> #include <cmath> // Some math headers define M_PI for you; some do not #ifndef M_PI const double M_PI = 3.14159265358979323846; #endif using namespace std; int main() { double x, y, z, t; double omega = 2.0 * M_PI; char *outname = "data.txt"; int i; ofstream outfile(outname); if...
user's latest post:
How does Visual C++'s...
Published (2009-11-13 14:04:00)
Quote: Originally Posted by John E Cygwin defines the preprocessor definition __CYGWIN__ MinGW uses __MINGW__ or __MINGW32__ What does Visual C++'s compiler use to identify itself? _MSC_VER Regards, Paul McKenzie
user's latest post:
Program to Erase a Folder or File
Published (2009-11-11 10:51:00)
Quote: Originally Posted by anhem115 In Fact, I have an exercise: Write a program can permanently del a file. I don't know wheither this unlink function can del this file completely(means can't recover by any software). _unlink deletes the file (not moving it to the recycle bin), but to make it totally unrecoverable means you have to overwrite all the parts of the file. Each file is split into blocks (the blocksize depends on the...
user's latest post:
Problem on using VC++ 2008 -...
Published (2009-11-12 12:19:00)
Quote: Originally Posted by arunkr6 It is CString I hope.. Sorry that, am not @ my work place nw...and I can't access internet from ther.. Not good... You was many times asked whether your current build is UNICODE or ANSI. You haven't answer yet... Note that if it is a UNICODE one then you must use wfstream instead of fstream
user's latest post:
Learn all programing languages
Published (2009-11-11 21:06:00)
Actually it's a combination of syntax and approach. Different languages can take drastically different approaches to solving the same problem, even if their syntax looks similar. Trips people up trying to migrate between languages sometimes.
user's latest post:
Mental block about DLLs. What am...
Published (2009-11-13 15:14:00)
Quote: Originally Posted by krmed If the third party embedded the manifest in the DLL, it won't get confused because the release DLL they sent will look for the msvcr80.dll, whereas your app (being debug with embedded manifest) will use your msvcr80d.dll. But that's what I'm doing in my tests Karl (embedding manifests in both exe and dll). I can even see that the manifest is present - but whether it works or not is very hit and...
user's latest post:
MFC app listbox drawing bug in...
Published (2009-11-13 22:24:00)
Since, it's owner drawn and you don't have the sources, it's anyone's guess how this was improperly coded.
user's latest post:
adding access rights to files
Published (2009-11-13 13:52:00)
Quote: Originally Posted by Amleto Well the download happens from a client process that runs at startup from an admin account ( win xp ), so it should have write access as far as I'm aware. Man, once again, your task requires proper network share setup instead of doing something programmatically. There are two entities participate with their separate rights: file system object (file or folder) and network share object. Both can have...
|
|
|
|
Latest active threads on Visual C++ Programming::
Started 2 days, 8 hours ago (2009-11-14 03:33:00)
by Joeman
does excel state the file that is opened in the window's title? if so, you sure it doesn't contain anything else in the title? like - Microsoft - Excel. Also does it state the directory of the file opened?
In short this isn't reliable enough
Started 6 days ago (2009-11-10 10:48:00)
by Philip Nicoletti
1) Does GetNext() return a CString ? Maybe the streams do not understand how
to output a CString and it is using the void* conversion (basically, printing
out the address of the object). Try casting to LPCTSTR
Code:
sourcefile<< (LPCTSTR)parList.GetNext(Pos1)<< '';
2) Depending an compiler options, you might need to change to
wifstream (also why istream types if outputing ?)....
Started 2 days, 17 hours ago (2009-11-13 18:21:00)
by GCDEF
How are you envisioning a read only edit changing?
Started 2 days, 13 hours ago (2009-11-13 22:01:00)
by _Superman_
The BOM is not automatically created.
You will have to write the it yourself at the begining of the file.
Started 2 days, 16 hours ago (2009-11-13 19:16:00)
by Joeman
whats the problem? what do you have done?
Started 2 days, 13 hours ago (2009-11-13 22:24:00)
by Arjay
Since, it's owner drawn and you don't have the sources, it's anyone's guess how this was improperly coded.
Started 2 days, 13 hours ago (2009-11-13 22:20:00)
by Arjay
As a general rule, any time critical code should not go into the UI thread.
Windows messaging is priority queue system where certain types of messages get processed before others. I'm not completely sure which message types get higer priority, but moving the mouse rapidly back and forth could interrupt a timer message.
Move the time sensitive code into a worker thread and use ...
Started 2 days, 18 hours ago (2009-11-13 17:03:00)
by Randor
Hi Philly,
You have several options. You could have a look at the CreateProcessAsUser Function ( http://msdn.microsoft.com/en-us/libr...29(VS.85).a spx )
This MSDN article lists several methods for executing a process as Administrator on Vista and above. Perhaps you will find it useful:
Redesign for UAC Compatibility (UAC)
http://msdn.microsoft.com/en-us/library/bb756922.a spx...
|
|
Hot threads for last week on Visual C++ Programming::
Started 6 days ago (2009-11-10 10:48:00)
by Philip Nicoletti
1) Does GetNext() return a CString ? Maybe the streams do not understand how
to output a CString and it is using the void* conversion (basically, printing
out the address of the object). Try casting to LPCTSTR
Code:
sourcefile<< (LPCTSTR)parList.GetNext(Pos1)<< '';
2) Depending an compiler options, you might need to change to
wifstream (also why istream types if outputing ?)....
Started 6 days ago (2009-11-10 11:07:00)
by jnmacd
Where/when do you get the error?
Started 6 days ago (2009-11-10 11:16:00)
by Alex F
Is Dll available during runtime? It should be in the current directory, exe directory, Windows, Windows\System32 or available through PATH.
Started 4 days, 20 hours ago (2009-11-11 15:10:00)
by cijagm
Started 6 days, 2 hours ago (2009-11-10 08:57:00)
by hoxsiew
If you have the MFC9 feature pack for VS2008, download the samples:
Descriptions:
http://msdn.microsoft.com/en-us/library/bb983962.a spx
Direct Download link:
http://www.microsoft.com/downloads/d...displaylang =en
There's a lot of neat stuff MS has put together to show off the MFC9 features. This will give you some ideas on what is possible with MFC9 and may be able to push ...
Started 6 days, 4 hours ago (2009-11-10 06:45:00)
by Skizmo
Quote:
but I would prefer to avoid this solution because there are too many dialogs to change.
I'm afraid that it is the only option. DoModal (as the name says) makes it modal and therefor is blocking.
Started 1 week, 4 days ago (2009-11-04 17:30:00)
by hoxsiew
What's the problem?
Note that you're "cout" tells the user that the result is in degrees, yet you're using radians implicitly in your trig functions.
Also, math.h definse pi for you. Just define "_USE_MATH_DEFINES" before including math.h:
Code:
define _USE_MATH_DEFINES
#include <math.h>
That will give you the following to use in math functions:
Code:
#...
Started 3 days, 19 hours ago (2009-11-12 16:23:00)
by GCDEF
Started 4 days, 14 hours ago (2009-11-11 20:57:00)
by Momentum
Im far from a C++ Jedi, but I understood "programming" to be language neutral.
Once you've grasp the concept of "programming," then the only barrier to learn a new language is syntax.
Started 4 days, 10 hours ago (2009-11-12 00:56:00)
by bitshifter420
The idea is to write a shell hook.
http://en.wikipedia.org/wiki/Blackbox
http://www.bb4win.org/news.php
You could write your own or just write a plugin for BB.
I found it really fun to customize the shell
There are many out there just look for 'windows shell replacements'
Edit:
BBLean is the simple version i had played with in the past.
http://bb4win.sourceforge.net/bblean/
|
|