49,755 Topics
![]() | |
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 … | |
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 … | |
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, … | |
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 … | |
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 | |
When printing output to a terminal in C++, should i use "\n", or "endl"??? Is one lighter, faster, or industry standard? | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
Hiii [B] How to use SHFileOperation() ?[/B] u have any direct link to it... thanking u.. | |
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 … | |
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... | |
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 '<<' : … | |
Hello there! can anybody here point me to any GUI programming in Linux tutorials. Been googling around but no good hits. Thanks. | |
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 … | |
How do you close a QTabWidget? I have the code but when I click on the close button nothing happens. | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 . | |
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 … |
The End.