Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
77% Quality Score
Upvotes Received
8
Posts with Upvotes
6
Upvoting Members
7
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
4 Commented Posts
0 Endorsements
Ranked #1K
~62.0K People Reached
Favorite Tags
Member Avatar for ganesh_bala

what is the difference in exit(0),exit(1),exit(2) ? how it differs from Return statement?

Member Avatar for chandanraj
0
664
Member Avatar for robinotje

Hello everyone, I'm new to C ++, and I want to know how to delete a whole folder. I've tried to do this, but it doesn't work. Can anyone help me? [CODE]#include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\\users\\asus\\new"); return 0; }[/CODE] I'm running Vista, and …

Member Avatar for Ancient Dragon
0
15K
Member Avatar for ObjectOriented

It's useless. Why are stupid classes in C++ having private members for? [snip] I am never using OOP in C++ I'm just using structs to organize data fuck OOP and classes it's so ridiculous to me that I'm SMH

Member Avatar for Divyab
-1
304
Member Avatar for haris riaz

void combination::OnButton2() { // TODO: Add your control notification handler code here m_progress.SetPos(0); m_progress.SetRange(0,100); combination a; a.make_combinations(0); } void combination:: make_combinations(int lo_val) { srand(time(0)); m_progress.StepIt(); ofstream fout("combination.txt",ios::app); ofstream fout2("time.txt",ios::app); for(int i=0; i<theApp.no_of_process; i++) { //m_progress.OffsetPos(100/4); //m_progress.SetStep(200); clock_t begin=clock(); arr[lo_val] = i; if(lo_val==(theApp.no_of_tasks)-1) { for( int j=0; j<theApp.no_of_tasks; j++) { int …

Member Avatar for ashishchoure
0
274
Member Avatar for CodyOebel

Maybe you can help me here triumph, or anyone else for that matter. I have users running my program on various operating systems, and am running into two common problems. The window\game window my program sends messages to and gets pixels from is an older direct x game coded in …

Member Avatar for ashishchoure
0
467
Member Avatar for ashishchoure

Hi Guys, Is this right to say Heap is RAM and Stack is Pagefile(HardDrive)? Sorry for silly question. :?:

Member Avatar for ashishchoure
0
167
Member Avatar for pie555

I have some code I found that takes screenshots and saves them as a bitmap image. I'm trying to get it to save the screenshots as .jpg and I don't know how to. I don't want to use a large third party library if I don't have to, I would …

Member Avatar for pie555
0
2K
Member Avatar for jaffar_ramnad

hi every one,i am a new guy for Mfc Socket programming . tell me ,what are the best books available for Mfc socket programming (Csocket).

Member Avatar for ashishchoure
0
72
Member Avatar for blackcloudbd

Can any one help me with these codes: i m freaking out here I split my program in 3 parts. 1. main - prac.cpp 2. interface - base.h 3. implementation - base.cpp in prac.cpp the code is: [CODE]#include <iostream> using namespace std; #include "base.h" int main(){ Base ob; ob.set(); ob.get(); …

Member Avatar for blackcloudbd
0
176
Member Avatar for javanub123

hai, i was wondering if you guys had any advice on getting into game programming with c++ i have a pretty basic understanding of the language and was trying to find out how to do this kind of stuff but so far i havnt been able to find out much. …

Member Avatar for javanub123
0
211
Member Avatar for ekailan

I have this tow errors ,how I can solve it.any ideas? error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup MSVCRTD.lib AC fatal error LNK1120: 1 unresolved externals Debug\AC.exe AC

Member Avatar for ekailan
0
125
Member Avatar for ashishchoure

Hi, I am just trying to do some down casting. here is the code. [CODE] class Base { public: void virtual test() { cout << "Base Test"; } }; class Derived : public Base { int i; int j; public: void testD() { i = 8; j = 9; cout …

Member Avatar for Fbody
0
117
Member Avatar for sudoku43
Member Avatar for ashishchoure

Hi, My Application's icon is not getting displayed after disabling "System Menu" option from Dialog Property. I don't want to use the system menu and close button. See the attachment for detail.

0
63
Member Avatar for arsalanghouri
Member Avatar for arsalanghouri
0
79
Member Avatar for CanYouHandstand

Hello All I’m trying to hook the mouse scroll wheel using SetWindowsHookEx with WH_MOUSE_LL. The callback function I am using operates correctly, and identifies when the mouse wheel is scrolled. However I am unsure of how to identify which direction the mouse has been scrolled. My code so far: [CODE] …

Member Avatar for CanYouHandstand
0
2K
Member Avatar for rkp728

Using visual studio 2008 I created a small vc++ project and ran it using the exe created. The problem is the exe runs fine on my PC. But when I tried to run the exe on an another PC it gave the error "The application has failed to start because …

Member Avatar for rkp728
0
146
Member Avatar for ayan2587

hello guyz.. Need urgent help on this !!! Is there a way to find out the total memory being consumed by my C++ program. I have seen in many online coding competitions that set a limit on memory consumption. Is there any tool by which I can find memory being …

Member Avatar for ashishchoure
0
8K
Member Avatar for john10

Hi, I'm new to C++. I'm having trouble detecting space bar as an input. I'm unfamiliar with using the char data type. I've tried using ASCII decimal numbers but only detects the '.' . And I'm unsure how to go about this without using string or anything advanced. [CODE] char …

Member Avatar for john10
0
2K
Member Avatar for Falmarri

Is there a c++ library, preferably an STL, that can parse for regular expressions? Or is there an open source standard expression that I could preferably just include in a header instead of having to link against? I've never been good with regular expressions though. What I'm trying to do …

Member Avatar for Falmarri
1
140
Member Avatar for mucoool

i'm having a problem in executing a batch file from my c++ code i've included all the necesary headers like dos.h,process.h,stdlib.h code: system(c:\new\ram.bat); there is no error in the program but the batch file does not get executed..... please help ................

Member Avatar for thomas_naveen
0
203
Member Avatar for Luks

Hallo! I am a running a program, using the OmniORB and I have included the include path in VC++ directory, but I get the following error: 1>c1xx : fatal error C1083: Cannot open source file: 'C:\Program Files\omniORB\4.1.4\\include': Permission denied I am the administrator on my PC and I have all …

Member Avatar for Luks
0
833
Member Avatar for Learning78

Hi; I have build an MFC application in Release mode using vs 2005 (windows XP) but when I run this exe on another PC (WInXP/Windows 7) with VS 2008 or PC without VS, it doesn't run. I used Visual C++ redictributionpackage and . NET service pack 2.0 but it works …

Member Avatar for ashishchoure
0
68
Member Avatar for tajendra

I am just looking for information about dump file created by windows on crash. Want to understand its working. Please share your knowledge about this topic, you can post to it or can give me reference links.

Member Avatar for ashishchoure
0
90
Member Avatar for ashishchoure
Member Avatar for ashishchoure
0
83
Member Avatar for Learning78

Hi; I have an edit control that takes string input from user and a CButton 'Record' to record that input. I want to catch the control and disable it when the user input is empty. I want to make sure that this enable/diable happens with the click of Record CButton. …

Member Avatar for Learning78
0
1K
Member Avatar for ashishchoure

Hi, I am using CArchive class to transfer file in my chat application . The problem is that when i send data through CArchive write and flush, the CArchive Read gets hang in last transmission. I've gone through msdn [URL="http://support.microsoft.com/kb/192704"]http://support.microsoft.com/kb/192704[/URL]. it is telling that it requires one more flush or …

0
73
Member Avatar for VilePlecenta

On the left is the dialog ran from VC++ On the right is run from my app [url]http://img208.imageshack.us/img208/2019/wonder.png[/url] Why the version ran from my app lacks is: Combo Box Options Color, Design is from the 90's style

Member Avatar for VilePlecenta
0
170
Member Avatar for ashishchoure

hi , I am using SYSTEM_INFO structure to know the processor architecture of machine. I did this [CODE] SYSTEM_INFO sys; memset(&sys,0,sizeof(sys)); GetSystemInfo(&sys); [/CODE] For Intel Pentium machine it is giving right information i.e. sys.dwActiveProcessorMask 3 sys.dwAllocationGranularity 65536 sys.dwNumberOfProcessors 2 sys.dwProcessorType 586 sys.wProcessorArchitecture 0 sys.wProcessorLevel 15 sys.wReserved 0 but running this …

Member Avatar for ashishchoure
0
222
Member Avatar for anthony5557
Member Avatar for mrnutty
0
151