49,755 Topics

Member Avatar for
Member Avatar for AlexRamallo

I've searched the web for hours trying to find how to delete a file from the registry but havent found anything. basically what I want to do is delete a file from a folder inside of the software folder of HKEY_CURRENT_USER for example HKEY_CURRENT_USER -> Software -> MyProgram -> MySettings …

Member Avatar for Ancient Dragon
0
221
Member Avatar for seao111

Hi i am looking for a way to redirect the output of an exe file that i call within _execl(). (by the way, am i using the _execl() function in the correct way?? ("ARP.exe -a" returns a list of ips connected to the computer over a local network) CODE so …

Member Avatar for Ancient Dragon
0
128
Member Avatar for Creator07

Hello, I am very new to Win32 Shell Programming. I am doing a simple project which needs me to select a folder from the hard-drive. The following is small parts of the program: 1 : This is the "Brows For folders" calling part. [CODE=cpp] case IDC_BROWSE: { char buf[MAX_PATH]; BrowseFolders(hDlg, …

Member Avatar for Creator07
0
163
Member Avatar for fuggles

I am learning how to make Windows in C++, and I have a problem: [code=c++] #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MessageBox(NULL, L"Hello World!", L"TEST", MB_ICONEXCLAMATION | MB_OK); return 0; } [/code] I get this error: [icode]Error 1 error C2664: 'MessageBoxA' : cannot …

Member Avatar for fuggles
0
88
Member Avatar for dharm93
Member Avatar for Interrupt

Hi Folks I’m just starting to learn C, I’ve downloaded VisualC++2008 Express. Can someone walk me through creating a std C application/project in VisulC++ 2008 Express or just point me to some literature on this topic Thanks

Member Avatar for athlon32
0
85
Member Avatar for athlon32

When printing output to a terminal in C++, should i use "\n", or "endl"??? Is one lighter, faster, or industry standard?

Member Avatar for athlon32
0
266
Member Avatar for himgar

I have Turbo C++ IDE 3.0 the one that has blue working environment. Problem that i face is that when i run any program it only shows the black screen for about 3 seconds without any output and then automatically closes. I can't check the output because of this. Please …

Member Avatar for siddhant3s
0
317
Member Avatar for Reedz

I have a problem with programming! I real like being a programmer but I have bad background! What can you help me on this? The question states: Create a program, allowing to display the graphs of functions, given tabular ( reading from file) and most simplest mathematical expressions. In process …

Member Avatar for mvmalderen
0
106
Member Avatar for mybluehair

I have a game That I would like to release the first version of soon. The game is written in c++, but I would like to add a feature to were before the game starts, it connects to the internet, and downloads a file from my webpage to check to …

Member Avatar for lexusdominus
0
156
Member Avatar for Lukezzz

I have tried to delare the List Incr outside the if-statment and then inside the if-statement I declare a new instance of the List but when doing this I get a compilerror that says: [I]left of '.Add' must have class/struct/union[/I] [code] List<int>^ Incr; if( textBox1->Text != "" ) { Incr …

Member Avatar for Lukezzz
0
81
Member Avatar for #tanvi

hi!! I am receiving a pulse signal on my serial port n i need to count the no. of com events the pulse causes in 10 sec. can someone please tell me the code to detect com event and I have to do it for dos not for windows thnx.

Member Avatar for athlon32
0
64
Member Avatar for Manikyr

Hi! My assignment is to write a program where you write in two sport teams, home teams and guest team and their reults. After the program will output information who won and if there were a tie. I tried to translate okay from Swedish! The program isn't working and there …

Member Avatar for kangarooblood
1
442
Member Avatar for kangarooblood

I'm quite new too C++ but finally my experience is good enough to actually create something, that's what I thought... So I triedto make this easy Tic Tac Toe Game and I think i got it all right but obviously not cause when I try to choose somewhere to put …

Member Avatar for Sky Diploma
0
219
Member Avatar for clutchkiller

So say I want to open a text document for reading using an instance of ifstream.open, etc.. etc... So once i open the txt file to read from it, what functions do i use to scan each character and put each character into an an array slot? Ive seen loops …

Member Avatar for siddhant3s
0
174
Member Avatar for tiger86

If I'm designing something like a game with characters that uses the mouse would I choose c or C++? Also is the mouse in windows written in c or C++? I would guess C++ but I could be wrong because I'm very new to the world of C languages and …

Member Avatar for vegaseat
0
203
Member Avatar for krishnampkkm

Hiii [B] How to use SHFileOperation() ?[/B] u have any direct link to it... thanking u..

Member Avatar for marco93
0
101
Member Avatar for Luigibosko

I just signed in to these forums and I'd be so happy if you guys could help me out with a triviality that I can't seem to get around. Now, although I haven't actually got around to programming anything really complex, I've been reading alot these last 2 months and …

Member Avatar for Luigibosko
1
234
Member Avatar for Chaosis

I am writing a program that needs to get pixels from a window, and search for a certain range of pixel colors. I have been using getPixel, but that method is too slow for even 800x600. Does anyone know a different method/s? The window uses Direct X, if that helps...

Member Avatar for Chaosis
0
208
Member Avatar for mossaied

I am using visual c++ version 6, I have compiled the systemC library, then creates a new project contains multiple files then I try to build it but the building failed due to an error called "error C2679" and this the error message: "d:\systemc-libraries\systemc-2.0\systemc-2.0\src\systemc\communication\sc_signal.h(234) : error C2679: binary '<<' : …

Member Avatar for VernonDozier
-1
226
Member Avatar for jaepi

Hello there! can anybody here point me to any GUI programming in Linux tutorials. Been googling around but no good hits. Thanks.

Member Avatar for CasTex
0
131
Member Avatar for Niner710

Hi, I am struggling with the best way to twiddle a large number of bits. What I have is a large amount of binary files(~100) in my directory that I need to do post processing on. I want to compare all the bytes in each file and see when the …

0
46
Member Avatar for kolosick.m188

How do you close a QTabWidget? I have the code but when I click on the close button nothing happens.

Member Avatar for kolosick.m188
0
202
Member Avatar for sdmahapatra

I am getting an error C2664: 'F_Ite' : cannot convert parameter 1 from 'double *' to 'double'.Will please anybody help me from this problem.I am new in C++. Thanks [CODE]#include<iostream> #include<cmath> #include<algorithm> using namespace std; // you should not use this statement. void F_Ite(double,double,double,double,double,double); // never ever declare global data …

Member Avatar for sdmahapatra
0
257
Member Avatar for begnnr_help

I am running into a baffling problem with my code. I am supposed to write a program to average the test scores for an entire class of students. In each case, the student should have taken 5 tests. You are to average the 5 tests. The program run should look …

Member Avatar for begnnr_help
0
647
Member Avatar for TheSilverFox

This is what I need to do: Use a single-subscripted array to solve the following problem: A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in …

Member Avatar for mvmalderen
0
756
Member Avatar for sdmahapatra

[code]double F_Ite() { //Main Function Start //Locally Data_type Declaration And Initialization : int numElement =20; double *a,*b,*c,*d,*Fc,*Fd; a = new double[numElement]; b = new double[numElement]; c = new double[numElement]; d = new double[numElement]; Fc= new double[numElement]; Fd= new double[numElement]; for(int k=1;k<(NI-1);k++) { //Main 'for' Loop Start std::cout <<"\n"; system("pause"); std::cout …

Member Avatar for sdmahapatra
0
712
Member Avatar for gretty

Hi I have a pretty novice question. Where do I place (install?) a libcurl library in order to using when I code. For those who may not know, libcurl is a library, I think :P, which in my case I hope will allow me to read a webpage [URL="http://www.daniweb.com/forums/thread156929.html"]link[/URL]. [URL="http://curl.haxx.se/"]Link …

0
59
Member Avatar for S.A.H

Hi every body!! I have a Question that I could not Find any answer For it:icon_cry: How Can I see The implementation Of the Build in classes in C++ class int , float , string , ostream ,.....and So on??? Pleaseee give me an answer??:icon_redface: Regards,, Sara .

Member Avatar for Salem
0
98
Member Avatar for dsladev

Im new at C++ and am trying to teach myself. I want to ask the user of the program why they are feeling a certain way, but not do anything with the sentece. So its like -how are you feeling?- user -good- -why are you feeling good?- user- blah blah …

Member Avatar for dsladev
0
169

The End.