49,761 Topics
| |
@ d moment, am doing sum reading up on "SWITCHES" and am not sure if am doing the code properly.. so i could share the problem and share my code with u guys.. i wood love to and if u can suggest any help i wwo greatly appreaciate it.... thanks … | |
Hi In my application at reading time , writing is idle and viceversa. So I wanna to do it same time.I use Createfile(),ReadFile() and Writefile() in my application . I got details about [B]1. Overlapped IO.[/B] [B]2. Multi-threading[/B] Which method I've to use ? Which will give better performance ? … | |
Hello, I have the Fill, Show, Remove, and Find functions working properly, but I cannot get my WriteToFile function to work. I know that there is a problem involving WriteToFile("Success"); but I don't know how to fix it so that my void WriteToFile function will work. Any help would be … | |
Hello,i need assistance in completing the code, I do not have enough experience, anyone can complete it? it is at one point change 1 word in new and need to able to change more than words .. Thank you very much for the former. [CODE]#include <iostream> #include <fstream> #include <string> … | |
Im a beginning C++ programmer and i was just trying out some of the awsome stuff that can be done with c++ and not VB(.NET, 2008). I actualy have 2 questions: First, y does this give me an empty console screen? Im not getting any error messages, my intend was … | |
These things are getting on my nerves. I am trying to do a test program in Win32 API which has "Browse for folder" and uses some string formatting. But, I am unable to. [B]Please help in this general problem:[/B] If I use strcpy() in Visual Studio 2008 to do some … | |
Hey u people at daniweb trblsut ma prblm:i've trying to use mouse in c++(on a dos standard prog) but have failed. please help!!!(with a small demo code) | |
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. |
The End.