Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3021 articles
Browse latest View live

Global Variable Scope Help

//I dont understand this why does "<< "\nThe value of global now is: " << global << "\n";" is equals to nine please explain #include <iostream> int subtract (int a, int b); int...

View Article


How to configurate the Visual Studio C/C++ Additional Include Headers?

I want to include boost directory. What must be in the Additional Include Directories input? I tried C:\C++\boost_1_55_0\libs\accumulators\example;$(BOOST_ROOT);%(AdditionalIncludeDirectories) But I am...

View Article


Question and Answers Program

//This is the only way I know that when a question is been asked it uses the statements below try it out.Only "Grade 1"I repeat Grade 1 only works at the moment for this is still a prototype.I am new...

View Article

Looking for a (print) report generator

I'm looking for a reporting layout tool and print "engine" to replace the current home-made solution (it's getting too hard and time consuming to maintain). CrystalReports has "sort of" already been...

View Article

Creating Gogle Chrome toolbar

Is it possible to create a Google Chrome toolbar using VC++ and then parse the DOM of a webpage being loaded and highlight iFrames? I know that Chrome toolbars are usually developed using .CSS and...

View Article


check if input is an integer

I have been trying to make a very simply programme that checks if the inputted information is an integer or not (i.e: that it contains no other characters). I have tried using the isdigit function (but...

View Article

Using the same port for 2 UDP Multicast groups

I habe a program, that can send and receive UDP Multicast telegrams. When I open the socket then I bind my multicast group address and the local port to a specified networkcard (our PC has 2 network...

View Article

no class view , resource view

Hi , I am developing a MFC App-Wizard Project on Visual Studio 6. Today morning when i opened my project .. There was no class view , resource view and only one view file in file view. I had taken...

View Article


Two ChlidFrames in one MDI application?Is it a good solution?

Hi all I want to achieve such an efect like - one view which takes all MDI area and some views which arelike non modal dialogs How can I do it? Two Child frames will be correct? one for "big" view...

View Article


memory capturing

Build an automated forensics tool. This could be to grab volatile evidence from a MAC or a Windows machine. It could also be to collect GPS evidence from mobile devices or Sat Navs. This would require...

View Article

Two problems re-compiling an old MFC project

1) Code: BEGIN_MESSAGE_MAP(CCoolBar, baseCCoolBar)     //{{AFX_MSG_MAP(CCoolBar)     ON_WM_NCHITTEST()     ON_WM_NCLBUTTONUP()         ON_WM_SIZE()         //}}AFX_MSG_MAP     ON_MESSAGE(WM_SETTEXT,...

View Article

How to use CEdit Control variable updated from a tab to the dialog box ?

Hello everyone, I have one Tab called Tab4 and one main dialog box called CGrabDlg. The values of my variables are not updated when I change them. Does someone have an idea ? Here my constructor of my...

View Article

HTTP Request

Can someone suggest me a way to use HTTP Request in pure VC++, without using any .NET framework?

View Article


extern templates

I am trying to use extern templates in VS 2010. In most cases, people use extern templates purely as an optimization, but in my case I actually need them for correctness; in the header, the type...

View Article

Symbols already defined (MSVCRTD.DLL)

Which adjustments in the compiler do I have to make in order to fix these errors? Code: Error        3        error LNK2005: __wassert already defined in LIBCMTD.lib(wassert.obj)        E:\Character...

View Article


Making an octagon out of right triangles

Hello all, One exercise says that, "Define a right triangle class. Make an octagonal shape out of eight right triangles of different colors." Making such a class isn't difficult. I wrote it as follows:...

View Article

Book recommendation for Windows Desktop User Interface/Shell programming?

I want to do something similar to Rainmeter. I want to do it myself, because I am scared that Rainmeter's third party gadgets would have viruses. Thanks Jack

View Article


[RESOLVED] BS_PUSHBUTTON starts disabled on creation

Hi, I am trying to create a button on a panel. On creation however it starts off disabled and I can't find out why. In my class: Code: CButton                                  m_ZoomIncrease; On...

View Article

interphace graphique en C/c++ bloodshed dev c++

I'm not smart in graphic interface, can somebody help me to write a source code that creates menu browser/ here is my small programme #include <istream> #include <stdlib.h> #include...

View Article

Change item height in CListBox / CListCtrl

Hello, I need a ownerdraw CListBox where I can change the item height during working with the list. The msdn says that I can specify the height in OnMeasureItem when the listbox will be created...

View Article
Browsing all 3021 articles
Browse latest View live